DUNE: Uniform Navigational Environment  2.6.0-rc1
DUNE::IO::Poll Class Reference

Public Member Functions

void add (const NativeHandle &handle)
 
void add (const Handle &handle)
 
void remove (const NativeHandle &handle)
 
void remove (const Handle &handle)
 
bool poll (double timeout)
 
bool wasTriggered (const NativeHandle &handle)
 
bool wasTriggered (const Handle &handle)
 

Static Public Member Functions

static bool poll (const NativeHandle &handle, double timeout)
 
static bool poll (const Handle &handle, double timeout)
 

Member Function Documentation

void DUNE::IO::Poll::add ( const NativeHandle handle)

Add native I/O handle to the polling pool.

Parameters
[in]handlenative I/O handle.

Referenced by add().

void DUNE::IO::Poll::add ( const Handle handle)
inline

Add I/O handle to the polling pool.

Parameters
[in]handleI/O handle.

References add(), and DUNE::IO::Handle::getNative().

bool DUNE::IO::Poll::poll ( const NativeHandle handle,
double  timeout 
)
static
static bool DUNE::IO::Poll::poll ( const Handle handle,
double  timeout 
)
inlinestatic
bool DUNE::IO::Poll::poll ( double  timeout)
void DUNE::IO::Poll::remove ( const NativeHandle handle)

Remove native I/O handle from the polling pool.

Parameters
[in]handlenative I/O handle.
void DUNE::IO::Poll::remove ( const Handle handle)
inline

Remove I/O handle from the polling pool.

Parameters
[in]handleI/O handle.
bool DUNE::IO::Poll::wasTriggered ( const NativeHandle handle)

Referenced by wasTriggered().

bool DUNE::IO::Poll::wasTriggered ( const Handle handle)
inline
Collaboration diagram for DUNE::IO::Poll:
Collaboration graph