#include <EC_Lifetime_Utils.h>
Public Member Functions | |
| TAO_EC_Event_Channel_Holder (void) | |
| Constructor. No-op. | |
| ~TAO_EC_Event_Channel_Holder (void) | |
| Destructor. If holding an Event Channel, destroy it. | |
| void | init (RtecEventChannelAdmin::EventChannel_var ec_var) |
Private Member Functions | |
| TAO_EC_Event_Channel_Holder & | operator= (const TAO_EC_Event_Channel_Holder &rhs) |
| TAO_EC_Event_Channel_Holder (const TAO_EC_Event_Channel_Holder &rhs) | |
Private Attributes | |
| RtecEventChannelAdmin::EventChannel_var | ec_ |
| EC to be destroyed. | |
Holds a reference to an Event Channel, and calls destroy() on it in the destructor.
|
|
Constructor. No-op.
|
|
|
Destructor. If holding an Event Channel, destroy it.
|
|
|
|
|
|
Set the Event Channel to be destroyed in destructor to ec_var. If TAO_EC_Event_Channel_Holder already held an Event Channel prior to invocation of this method, that Event Channel is NOT destroyed. |
|
|
|
|
|
EC to be destroyed.
|
1.3.9.1