TAO_CosNotification  2.0.8
Public Types | Public Member Functions | Protected Member Functions
TAO_Notify_Worker_Task Class Reference

Base Worker Task. More...

#include <Worker_Task.h>

Inheritance diagram for TAO_Notify_Worker_Task:
Inheritance graph
[legend]
Collaboration diagram for TAO_Notify_Worker_Task:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
TAO_Notify_Refcountable_Guard_T
< TAO_Notify_Worker_Task
Ptr

Public Member Functions

 TAO_Notify_Worker_Task (void)
 Constructor.
virtual void update_qos_properties (const TAO_Notify_QoSProperties &qos_properties)
 Update QoS Properties.
virtual void execute (TAO_Notify_Method_Request &method_request)=0
virtual void shutdown (void)=0
 Shutdown task.
virtual TAO_Notify_Timertimer (void)=0
 The object used by clients to register timers.

Protected Member Functions

virtual ~TAO_Notify_Worker_Task ()
 Destructor.

Detailed Description

Base Worker Task.

Memory Management : The Worker Task should be allocated on the heap and the <shutdown> method should be called to release memory.


Member Typedef Documentation

Reimplemented from TAO_Notify_Refcountable.


Constructor & Destructor Documentation

TAO_Notify_Worker_Task::TAO_Notify_Worker_Task ( void  )

Constructor.

TAO_Notify_Worker_Task::~TAO_Notify_Worker_Task ( ) [protected, virtual]

Destructor.


Member Function Documentation

virtual void TAO_Notify_Worker_Task::execute ( TAO_Notify_Method_Request method_request) [pure virtual]

= Public method to be implemented by subclasses. Exec the request.

Implemented in TAO_Notify_ThreadPool_Task, and TAO_Notify_Reactive_Task.

virtual void TAO_Notify_Worker_Task::shutdown ( void  ) [pure virtual]

Shutdown task.

Implemented in TAO_Notify_ThreadPool_Task, and TAO_Notify_Reactive_Task.

virtual TAO_Notify_Timer* TAO_Notify_Worker_Task::timer ( void  ) [pure virtual]

The object used by clients to register timers.

Implemented in TAO_Notify_ThreadPool_Task, and TAO_Notify_Reactive_Task.

void TAO_Notify_Worker_Task::update_qos_properties ( const TAO_Notify_QoSProperties qos_properties) [virtual]

Update QoS Properties.

Reimplemented in TAO_Notify_ThreadPool_Task.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines