#include <bayonne.h>
Inheritance diagram for EventBuffer:

Public Member Functions | |
| void | update (TrunkEvent *event=NULL) |
| Post a TrunkEvent to the buffer. | |
Protected Member Functions | |
| void | fetch (timeout_t timeout, TrunkEvent *event) |
| Waits for a specified timeout for an event to be available. | |
| EventBuffer (unsigned count) | |
| This class is often constructed as part of a Driver or service thread class. | |
The new Common C++ 1.1 allows us to do this far more efficiently through a Buffer object which can be attached to a driver or service as needed.
|
|
This class is often constructed as part of a Driver or service thread class. It is never used stand-alone.
|
|
||||||||||||
|
Waits for a specified timeout for an event to be available. If the event is available, it is returned, otherwise at timeout a timer expired event is generated.
|
|
|
Post a TrunkEvent to the buffer. If no event is passed, a "NULL" trunk event is used.
|
1.4.4