ACE
6.3.1
|
Auto pointer like class for Event Handlers. More...
#include <Event_Handler.h>
Public Member Functions | |
ACE_Event_Handler_var (void) | |
Default constructor. More... | |
ACE_Event_Handler_var (ACE_Event_Handler *p) | |
Construct with a handler. More... | |
ACE_Event_Handler_var (const ACE_Event_Handler_var &b) | |
Copy constructor. More... | |
~ACE_Event_Handler_var (void) | |
Destructor. More... | |
ACE_Event_Handler_var & | operator= (ACE_Event_Handler *p) |
Assignment to a handler. More... | |
ACE_Event_Handler_var & | operator= (const ACE_Event_Handler_var &b) |
Assignment to a ACE_Event_Handler_var. More... | |
ACE_Event_Handler * | operator-> () const |
Overloaded "->". More... | |
ACE_Event_Handler * | handler (void) const |
Access the handler. More... | |
ACE_Event_Handler * | release (void) |
Release the handler. More... | |
void | reset (ACE_Event_Handler *p=0) |
Reset the handler. More... | |
Private Attributes | |
ACE_Event_Handler * | ptr_ |
Handler. More... | |
Auto pointer like class for Event Handlers.
Used to manage lifecycle of handlers. This class calls ACE_Event_Handler::remove_reference() in its destructor.
ACE_Event_Handler_var::ACE_Event_Handler_var | ( | void | ) |
Default constructor.
ACE_Event_Handler_var::ACE_Event_Handler_var | ( | ACE_Event_Handler * | p | ) |
Construct with a handler.
ACE_Event_Handler_var::ACE_Event_Handler_var | ( | const ACE_Event_Handler_var & | b | ) |
Copy constructor.
ACE_Event_Handler_var::~ACE_Event_Handler_var | ( | void | ) |
Destructor.
ACE_Event_Handler * ACE_Event_Handler_var::handler | ( | void | ) | const |
Access the handler.
ACE_Event_Handler * ACE_Event_Handler_var::operator-> | ( | void | ) | const |
Overloaded "->".
ACE_Event_Handler_var & ACE_Event_Handler_var::operator= | ( | ACE_Event_Handler * | p | ) |
Assignment to a handler.
ACE_Event_Handler_var & ACE_Event_Handler_var::operator= | ( | const ACE_Event_Handler_var & | b | ) |
Assignment to a ACE_Event_Handler_var.
ACE_Event_Handler * ACE_Event_Handler_var::release | ( | void | ) |
Release the handler.
void ACE_Event_Handler_var::reset | ( | ACE_Event_Handler * | p = 0 | ) |
Reset the handler.
|
private |
Handler.