Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

ost::Poller Class Reference

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

#include <thread.h>

List of all members.

Public Methods

 Poller ()
virtual ~Poller ()
pollfd * getList (int cnt)
 reserve a specified number of poll descriptors. More...

pollfd * getList (void)
 Retreive the current array of poll descriptors. More...


Detailed Description

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

Author:
Gianni Mariani <gianni@mariani.ws>


Constructor & Destructor Documentation

ost::Poller::Poller  
 

virtual ost::Poller::~Poller   [virtual]
 


Member Function Documentation

pollfd* ost::Poller::getList void   [inline]
 

Retreive the current array of poll descriptors.

Returns:
array of descriptors.

pollfd* ost::Poller::getList int   cnt
 

reserve a specified number of poll descriptors.

If additional descriptors are needed, they are allocated.

Returns:
new array of descriptors.
Parameters:
number   of desctiptors to reserve


The documentation for this class was generated from the following file:
Generated at Fri Dec 21 08:31:34 2001 for CommonC++ by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001