blocxx
BLOCXX_NAMESPACE::Select::SelectObject Struct Reference

#include <Select.hpp>

Public Member Functions

 SelectObject (Select_t s_)
 

Public Attributes

Select_t s
 
bool waitForRead
 Input parameter. Set it to true to indicate that waiting for read availability on s is desired.
 
bool waitForWrite
 Input parameter. Set it to true to indicate that waiting for write availability on s is desired.
 
bool readAvailable
 Ouput parameter. Will be set to true to indicate that s has become available for reading.
 
bool writeAvailable
 Ouput parameter. Will be set to true to indicate that s has become available for writing.
 
bool wasError
 Ouput parameter. Will be set to true to indicate that s has an error.
 

Detailed Description

Definition at line 89 of file Select.hpp.

Constructor & Destructor Documentation

◆ SelectObject()

BLOCXX_NAMESPACE::Select::SelectObject::SelectObject ( Select_t s_)
inline

Definition at line 91 of file Select.hpp.

Member Data Documentation

◆ readAvailable

bool BLOCXX_NAMESPACE::Select::SelectObject::readAvailable

Ouput parameter. Will be set to true to indicate that s has become available for reading.

Definition at line 107 of file Select.hpp.

Referenced by BLOCXX_NAMESPACE::SelectEngine::go(), and BLOCXX_NAMESPACE::Select::selectRWEpoll().

◆ s

Select_t BLOCXX_NAMESPACE::Select::SelectObject::s

Definition at line 101 of file Select.hpp.

Referenced by BLOCXX_NAMESPACE::SelectEngine::go().

◆ waitForRead

bool BLOCXX_NAMESPACE::Select::SelectObject::waitForRead

◆ waitForWrite

bool BLOCXX_NAMESPACE::Select::SelectObject::waitForWrite

Input parameter. Set it to true to indicate that waiting for write availability on s is desired.

Definition at line 105 of file Select.hpp.

Referenced by BLOCXX_NAMESPACE::SocketBaseImpl::connect(), BLOCXX_NAMESPACE::SelectEngine::go(), BLOCXX_NAMESPACE::Exec::processInputOutput(), BLOCXX_NAMESPACE::Select::selectRWEpoll(), and BLOCXX_NAMESPACE::SocketUtils::waitForIO().

◆ wasError

bool BLOCXX_NAMESPACE::Select::SelectObject::wasError

Ouput parameter. Will be set to true to indicate that s has an error.

Definition at line 111 of file Select.hpp.

◆ writeAvailable

bool BLOCXX_NAMESPACE::Select::SelectObject::writeAvailable

Ouput parameter. Will be set to true to indicate that s has become available for writing.

Definition at line 109 of file Select.hpp.

Referenced by BLOCXX_NAMESPACE::SelectEngine::go(), and BLOCXX_NAMESPACE::Select::selectRWEpoll().


The documentation for this struct was generated from the following file: