📄 wy_fdset.3wy
字号:
.\".\" Edited by I.J.Wang, 2004.\".TH Wy_FdSet 3wy "libwy v0.31".SH NAMEWy_FdSet \- set of file descriptor.SH SYNOPSIS.B #include <wyselect.h>.PPWy_FdSet is a discardable class for ::fd_set denoting set of file descriptors.At most one identical file descriptor is contained.Note: Wy_FdSet object have to be reset before each call of Wy::select.SH "PUBLIC MEMBERS" \fBWy_FdSet\fP() throw() \fBWy_FdSet\fP(const Wy_FdSet&) throw() \fBWy_FdSet\fP(Wy_FdSet&, Wy::ByMove_t) throw() void \fBreset\fP(void) throw() void \fBreset\fP(const Wy_FdSet&) throw() void \fBswap\fP(Wy_FdSet&) throw() bool \fBis_set\fP(WyFileHandle) const throw() bool \fBis_set\fP(cont WySysFile&) const throw() void \fBset\fP(WyFileHandle) throw() void \fBset\fP(const WySysFile&) throw() void \fBclr\fP(WyFileHandle) throw() void \fBclr\fP(const WySysFile&) throw().SH "DESCRIPTION".\"--------------------------------------------.PP.BI "Wy_FdSet() throw()".PP Construct default object. For any WyFileHandle object x, this->is_set(x)==false.PP [\fBRefer\fP] FD_ZERO.\"--------------------------------------------.PP.BI "Wy_FdSet(const Wy_FdSet& " "fset" ") throw()".PP Construct object by copy from \fIfset\fP For WyFileHandle object x, this->is_set(x)==\fIfset\fP.is_set(x).\"--------------------------------------------.PP.BI "Wy_FdSet(Wy_FdSet& " "src" ", Wy::ByMove_t) throw()".PP See Wy_Array(Wy_Array&, Wy::ByMove_t) in wy_array(3wy) for definition of the move constructor..\"--------------------------------------------.PP.BI "void reset(void) throw()".PP Reconstruct *this to the state as Wy_FdSet().PP [\fBRefer\fP] FD_ZERO.\"--------------------------------------------.PP.BI "void reset(const Wy_FdSet& " "fset" ") throw()".PP Reconstruct *this to the state as Wy_FdSet(\fIfset\fP).\"--------------------------------------------.PP.BI "void swap(Wy_FdSet& " "fset" ") throw()".PP Interchange state of *this with \fIfset\fP.\"--------------------------------------------.PP.BI "bool is_set(WyFileHandle " "fh" ") throw()".PP Is file descriptor of \fIfh\fP recorded in *this.PP [\fBRet\fP] true= file descriptor of \fIfh\fP is in *this false= otherwise.PP [\fBRefer\fP] FD_ISSET.\"--------------------------------------------.PP.BI "bool is_set(const WySysFile& " "sysf" ") throw()".PP Is file descriptor of \fIsysf\fP recorded in *this.PP [\fBRet\fP] true= file descriptor of \fIsysf\fP is in *this false= otherwise.PP [\fBRefer\fP] FD_ISSET.\"--------------------------------------------.PP.BI "void set(WyFileHandle " "fh" ") throw()".PP Set the file descriptor of \fIfh\fP in *this If \fIfh\fP contains an invalid file descriptor, no effect..PP [\fBRefer\fP] FD_SET.\"--------------------------------------------.PP.BI "void set(const WySysFile& " "sysf" ") throw()".PP Set the file descriptor of \fIsysf\fP in *this If \fIsysf\fP is default, no effect..PP [\fBRefer\fP] FD_SET.\"--------------------------------------------.PP.BI "void clr(WyFileHandle " "fh" ") throw()".PP Clear the file descriptor of \fIfh\fP in *this.PP [\fBRefer\fP] FD_CLR.\"--------------------------------------------.PP.BI "void clr(const WySysFile& " "sysf" ") throw()".PP Clear the file descriptor of \fIsysf\fP in *this.PP [\fBRefer\fP] FD_CLR.\"--------------------------------------------.SH "SEE ALSO".BR wy.BR wyret.BR wysysfile.BR wytimespec.BR wyfifofile.BR wychrfile.BR wyregfile.BR wymutex.SH NOTEProject is in development, http://sourceforge.net/projects/libwx
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -