#include <QoS_Decorator.h>
Inheritance diagram for ACE_QoS_Decorator_Base:
Public Member Functions | |
ACE_QoS_Decorator_Base (void) | |
Constructor. | |
ACE_QoS_Decorator_Base (ACE_Event_Handler *event_handler) | |
Constructor. | |
~ACE_QoS_Decorator_Base (void) | |
Destructor. | |
virtual ACE_HANDLE | get_handle (void) const |
Forwards the request to its event_handler_ component. | |
virtual int | handle_input (ACE_HANDLE fd) |
Forwards the request to its event_handler_ component. | |
virtual int | handle_qos (ACE_HANDLE fd) |
Forwards the request to its event_handler_ component. | |
Private Attributes | |
ACE_Event_Handler * | event_handler_ |
The event handler that is decorated by this class. |
It simply forwards the requests for get_handle (), handle_input () and handle_qos () to its event_handler_ component. Concrete decorators for ACE_Event_Handler will use this class to access the basic event handler functionality and decorate that by their own implementation.
Definition at line 43 of file QoS_Decorator.h.
|
Constructor.
Definition at line 13 of file QoS_Decorator.cpp.
00014 {} |
|
Constructor.
Definition at line 17 of file QoS_Decorator.cpp.
00019 : event_handler_ (event_handler) 00020 { 00021 } |
|
Destructor.
Definition at line 24 of file QoS_Decorator.cpp.
00025 { 00026 } |
|
Forwards the request to its event_handler_ component.
Reimplemented from ACE_Event_Handler. Reimplemented in ACE_QoS_Decorator. Definition at line 30 of file QoS_Decorator.cpp. References ACE_Event_Handler::get_handle(). Referenced by ACE_QoS_Decorator::get_handle().
00031 { 00032 return this->event_handler_->get_handle (); 00033 } |
|
Forwards the request to its event_handler_ component.
Reimplemented from ACE_Event_Handler. Reimplemented in ACE_QoS_Decorator. Definition at line 37 of file QoS_Decorator.cpp. References ACE_Event_Handler::handle_input(). Referenced by ACE_QoS_Decorator::handle_input().
00038 { 00039 return this->event_handler_->handle_input (fd); 00040 } |
|
Forwards the request to its event_handler_ component.
Reimplemented from ACE_Event_Handler. Reimplemented in ACE_QoS_Decorator. Definition at line 44 of file QoS_Decorator.cpp. References ACE_Event_Handler::handle_qos(). Referenced by ACE_QoS_Event_Handler::handle_input(), and ACE_QoS_Decorator::handle_qos().
00045 { 00046 return this->event_handler_->handle_qos (fd); 00047 } |
|
The event handler that is decorated by this class.
Definition at line 70 of file QoS_Decorator.h. |