Google

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

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 ()
 ~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(s):
Gianni Mariani <gianni@mariani.ws>


Constructor & Destructor Documentation

Poller::Poller ( )
 

Poller::~Poller ( )
 


Member Function Documentation

pollfd * Poller::getList ( void ) [inline]
 

Retreive the current array of poll descriptors.

Returns:
array of descriptors.

pollfd * 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 Mar 23 10:47:56 2001 for CommonC++ by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000