Panda3D
Public Member Functions | Friends
Socket_fdset Class Reference

List of all members.

Public Member Functions

 Socket_fdset ()
 The constructor.
void clear ()
 Marks the content as empty.
bool IsSetFor (const Socket_IP &incon) const
 check to see if a socket object has been marked for reading
void setForSocket (const Socket_IP &incon)
int WaitForError (bool zeroFds, PN_uint32 sleep_time=0xffffffff)
 This is the function that will wait till one of the sockets is in error state.
int WaitForRead (bool zeroFds, PN_uint32 sleep_time=0xffffffff)
int WaitForRead (bool zeroFds, const Time_Span &timeout)
int WaitForWrite (bool zeroFds, PN_uint32 sleep_time=0xffffffff)
 This is the function that will wait till one of the sockets is ready for writing.

Friends

struct Socket_Selector

Detailed Description

Definition at line 19 of file socket_fdset.h.


Constructor & Destructor Documentation

The constructor.

Definition at line 46 of file socket_fdset.h.

References clear().


Member Function Documentation

void Socket_fdset::clear ( ) [inline]
bool Socket_fdset::IsSetFor ( const Socket_IP incon) const [inline]

check to see if a socket object has been marked for reading

Definition at line 87 of file socket_fdset.h.

References Socket_IP::GetSocket().

int Socket_fdset::WaitForError ( bool  zeroFds,
PN_uint32  sleep_time = 0xffffffff 
) [inline]

This is the function that will wait till one of the sockets is in error state.

Definition at line 183 of file socket_fdset.h.

References clear().

int Socket_fdset::WaitForWrite ( bool  zeroFds,
PN_uint32  sleep_time = 0xffffffff 
) [inline]

This is the function that will wait till one of the sockets is ready for writing.

Definition at line 157 of file socket_fdset.h.

References clear().


The documentation for this class was generated from the following file:
 All Classes Functions Variables Enumerations