TAO_ESF
2.0.8
|
Define the interface for the Worker objects. More...
#include <ESF_Worker.h>
Public Member Functions | |
virtual | ~TAO_ESF_Worker (void) |
virtual void | set_size (size_t size) |
virtual void | work (Object *object)=0 |
Callback interface. |
Define the interface for the Worker objects.
The Event Service Framework uses Worker classes to iterate over collections of proxies. The following class defines the worker interface, basically users of the framework implement a worker object and pass it to one collection. The collection invokes the worker for each element the colection contains.
TAO_ESF_Worker< Object >::~TAO_ESF_Worker | ( | void | ) | [virtual] |
void TAO_ESF_Worker< Object >::set_size | ( | size_t | size | ) | [virtual] |
Used by the collection to inform the worker the number of proxies in the collection.
virtual void TAO_ESF_Worker< Object >::work | ( | Object * | object | ) | [pure virtual] |
Callback interface.
Implemented in TAO_ESF_Peer_Disconnected< PROXY, PEER >, TAO_ESF_Peer_Reconnected< PROXY, PEER >, TAO_ESF_Peer_Connected< PROXY, PEER >, and TAO_ESF_Shutdown_Proxy< PROXY >.