Base Worker Task. More...
#include <Worker_Task.h>


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_Timer * | timer (void)=0 |
| The object used by clients to register timers. | |
Protected Member Functions | |
| virtual | ~TAO_Notify_Worker_Task () |
| Destructor. | |
Base Worker Task.
Memory Management : The Worker Task should be allocated on the heap and the <shutdown> method should be called to release memory.
Reimplemented from TAO_Notify_Refcountable.
| TAO_Notify_Worker_Task::TAO_Notify_Worker_Task | ( | void | ) |
Constructor.
| TAO_Notify_Worker_Task::~TAO_Notify_Worker_Task | ( | ) | [protected, virtual] |
Destructor.
| 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.
| virtual void TAO_Notify_Worker_Task::shutdown | ( | void | ) | [pure virtual] |
Shutdown task.
Implemented in 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_Reactive_Task.
| void TAO_Notify_Worker_Task::update_qos_properties | ( | const TAO_Notify_QoSProperties & | qos_properties | ) | [virtual] |
Update QoS Properties.
1.7.1