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.
Definition at line 43 of file ESF_Worker.h.
TAO_ESF_Worker< Object >::~TAO_ESF_Worker | ( | void | ) | [virtual] |
Definition at line 11 of file ESF_Worker.cpp.
{ }
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.
Definition at line 16 of file ESF_Worker.cpp.
{ }
virtual void TAO_ESF_Worker< Object >::work | ( | Object * | object | ) | [pure virtual] |
Callback interface.
Implemented in TAO_ESF_Peer_Connected< PROXY, PEER >, TAO_ESF_Peer_Reconnected< PROXY, PEER >, TAO_ESF_Peer_Disconnected< PROXY, PEER >, and TAO_ESF_Shutdown_Proxy< PROXY >.