class Poller

pollfd assistance class for port classes. More...

Full nameost::Poller
Definition#include <thread.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

The poller class is used to help manage pollfd structs for use in the updated serial and socket "port" code.

 Poller ()

Poller

 ~Poller ()

~Poller

[virtual]

pollfd * getList (int cnt)

getList

reserve a specified number of poll descriptors. If additional descriptors are needed, they are allocated.

Parameters:
numberof desctiptors to reserve

Returns: new array of descriptors.

inline pollfd * getList (void)

getList

Retreive the current array of poll descriptors.

Returns: array of descriptors.