TAO_ESF_Worker< Object > Class Template Reference

Define the interface for the Worker objects. More...

#include <ESF_Worker.h>

List of all members.

Public Member Functions

virtual ~TAO_ESF_Worker (void)
virtual void set_size (size_t size)
virtual void work (Object *object)=0
 Callback interface.

Detailed Description

template<class Object>
class TAO_ESF_Worker< Object >

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.

Constructor & Destructor Documentation

template<class Object>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_ESF_Worker< Object >::~TAO_ESF_Worker ( void   )  [inline, virtual]

Member Function Documentation

template<class Object>
void TAO_ESF_Worker< Object >::set_size ( size_t  size  )  [inline, virtual]

Used by the collection to inform the worker the number of proxies in the collection.

template<class Object>
virtual void TAO_ESF_Worker< Object >::work ( Object *  object  )  [pure virtual]

Callback interface.

Implemented in TAO_ESF_Shutdown_Proxy< PROXY >.

The documentation for this class was generated from the following files:

Generated on Thu Nov 27 05:30:43 2008 for TAO_ESF by  doxygen 1.5.6