39 #ifndef BLOCXX_SELECT_HPP_
40 #define BLOCXX_SELECT_HPP_
41 #include "blocxx/BLOCXX_config.h"
50 namespace BLOCXX_NAMESPACE
137 #endif // BLOCXX_SELECT_HPP_
SelectObject(Select_t s_)
Array<> wraps std::vector<> in COWReference<> adding ref counting and copy on write capability...
Array< SelectObject > SelectObjectArray
bool waitForWrite
Input parameter. Set it to true to indicate that waiting for write availability on s is desired...
const UInt32 INFINITE_TIMEOUT BLOCXX_DEPRECATED
Value that means infinite timeout.
int select(const SelectTypeArray &selarray, UInt32 ms)
Select returns as soon as input is available on any of Select_t objects that are in given array...
const int SELECT_ERROR
The value returned from select when any error occurs other than timeout.
const int SELECT_TIMEOUT
The value returned from select when the timeout value has expired.
A timeout can be absolute, which means that it will happen at the specified DateTime.
bool writeAvailable
Ouput parameter. Will be set to true to indicate that s has become available for writing.
bool waitForRead
Input parameter. Set it to true to indicate that waiting for read availability on s is desired...
bool readAvailable
Ouput parameter. Will be set to true to indicate that s has become available for reading.
Array< Select_t > SelectTypeArray
bool wasError
Ouput parameter. Will be set to true to indicate that s has an error.
int selectRW(SelectObjectArray &selarray, UInt32 ms)
const int SELECT_NOT_IMPLEMENTED
Used internally, but listed here to prevent conflicts.