TAO_ESF  2.2.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
TAO_ESF_Worker< Target > Class Template Referenceabstract

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

#include <ESF_Worker.h>

Collaboration diagram for TAO_ESF_Worker< Target >:
Collaboration graph

Public Member Functions

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

Detailed Description

template<class Target>
class TAO_ESF_Worker< Target >

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_ESF_Worker< Object >::~TAO_ESF_Worker ( void  )

Member Function Documentation

template<class Object >
void TAO_ESF_Worker< Object >::set_size ( size_t  size)

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

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

Callback interface.

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