TAO_CosNotification 4.0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | List of all members
TAO_Notify_Worker_Task Class Referenceabstract

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]

Public Types

typedef TAO_Notify_Refcountable_Guard_T< TAO_Notify_Worker_TaskPtr
 
- Public Types inherited from TAO_Notify_Refcountable
typedef TAO_Notify_Refcountable_Guard_T< TAO_Notify_RefcountablePtr
 

Public Member Functions

 TAO_Notify_Worker_Task ()
 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 ()=0
 Shutdown task.
 
virtual TAO_Notify_Timertimer ()=0
 The object used by clients to register timers.
 
- Public Member Functions inherited from TAO_Notify_Refcountable
 TAO_Notify_Refcountable ()
 Constructor.
 
virtual ~TAO_Notify_Refcountable ()
 
CORBA::ULong _incr_refcnt ()
 
CORBA::ULong _decr_refcnt ()
 

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

◆ Ptr

Constructor & Destructor Documentation

◆ TAO_Notify_Worker_Task()

TAO_Notify_Worker_Task::TAO_Notify_Worker_Task ( )

Constructor.

◆ ~TAO_Notify_Worker_Task()

TAO_Notify_Worker_Task::~TAO_Notify_Worker_Task ( )
protectedvirtual

Destructor.

Member Function Documentation

◆ execute()

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_Reactive_Task, and TAO_Notify_ThreadPool_Task.

◆ shutdown()

virtual void TAO_Notify_Worker_Task::shutdown ( )
pure virtual

Shutdown task.

Implemented in TAO_Notify_Reactive_Task, and TAO_Notify_ThreadPool_Task.

◆ timer()

virtual TAO_Notify_Timer * TAO_Notify_Worker_Task::timer ( )
pure virtual

The object used by clients to register timers.

Implemented in TAO_Notify_Reactive_Task, and TAO_Notify_ThreadPool_Task.

◆ update_qos_properties()

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: