Select.hpp File Reference

#include "blocxx/BLOCXX_config.h"
#include "blocxx/Types.hpp"
#include "blocxx/Array.hpp"
#include "blocxx/SelectableIFC.hpp"
#include "blocxx/Timeout.hpp"

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE
namespace  BLOCXX_NAMESPACE::Select

Classes

struct  BLOCXX_NAMESPACE::Select::SelectObject

Typedefs

typedef Array< Select_t > BLOCXX_NAMESPACE::SelectTypeArray
typedef Array< SelectObject > BLOCXX_NAMESPACE::Select::SelectObjectArray

Functions

int BLOCXX_NAMESPACE::Select::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.
int BLOCXX_NAMESPACE::Select::select (const SelectTypeArray &selarray, const Timeout &timeout)
int BLOCXX_NAMESPACE::Select::selectRW (SelectObjectArray &selarray, const Timeout &timeout=Timeout::infinite)
 Select returns as soon as input or output is available on any of the Select_t objects that are in given array or the timeout has passed.
int BLOCXX_NAMESPACE::Select::selectRW (SelectObjectArray &selarray, UInt32 ms)

Variables

const int BLOCXX_NAMESPACE::Select::SELECT_TIMEOUT = -2
 The value returned from select when the timeout value has expired.
const int BLOCXX_NAMESPACE::Select::SELECT_ERROR = -1
 The value returned from select when any error occurs other than timeout.
const int BLOCXX_NAMESPACE::Select::SELECT_NOT_IMPLEMENTED = -4
 Used internally, but listed here to prevent conflicts.
const UInt32 BLOCXX_NAMESPACE::Select::INFINITE_TIMEOUT = ~0U
 Value that means infinite timeout.


Generated on Wed Feb 25 19:05:00 2009 for blocxx by  doxygen 1.5.6