#include <Container_T.h>
Public Member Functions | |
TAO_Notify_Container_T (void) | |
Constuctor. | |
virtual | ~TAO_Notify_Container_T () |
Destructor. | |
void | init () |
Init this object. | |
virtual void | insert (TYPE *type) |
Insert object to this container. | |
virtual void | remove (TYPE *type) |
Remove type from container_. | |
virtual void | shutdown () |
Shutdown. | |
COLLECTION * | collection (void) |
Collection. | |
Protected Attributes | |
COLLECTION * | collection_ |
The collection data structure that we add objects to. | |
Private Types | |
typedef TAO_ESF_Proxy_Collection< TYPE > | COLLECTION |
Definition at line 35 of file Container_T.h.
|
Definition at line 37 of file Container_T.h. |
|
Constuctor.
Definition at line 22 of file Container_T.cpp.
00023 : collection_ (0) 00024 { 00025 } |
|
Destructor.
Definition at line 28 of file Container_T.cpp.
00029 { 00030 delete collection_; 00031 } |
|
Collection.
Definition at line 8 of file Container_T.inl. Referenced by TAO_Notify_EventChannelFactory::reconnect(), TAO_Notify_EventChannel::reconnect(), TAO_Notify_Admin::reconnect(), TAO_Notify_EventChannelFactory::save_persistent(), TAO_Notify_EventChannel::save_persistent(), and TAO_Notify_Admin::save_persistent().
00009 { 00010 return this->collection_; 00011 } |
|
Init this object.
Definition at line 54 of file Container_T.cpp. References ACE_ENV_ARG_PARAMETER, TAO_Notify_Factory::create(), and TAO_Singleton< TYPE, ACE_LOCK >::instance(). Referenced by TAO_Notify_EventChannelFactory::init(), TAO_Notify_EventChannel::init(), and TAO_Notify_Admin::init().
00055 { 00056 // get the factory 00057 TAO_Notify_Factory* factory = TAO_Notify_PROPERTIES::instance ()->factory (); 00058 00059 // Init variables 00060 factory->create (this->collection_ ACE_ENV_ARG_PARAMETER); 00061 } |
|
Insert object to this container.
Definition at line 42 of file Container_T.cpp. References ACE_ENV_ARG_PARAMETER. Referenced by TAO_Notify_Admin::insert().
00043 { 00044 this->collection_->connected (type ACE_ENV_ARG_PARAMETER); 00045 } |
|
Remove type from container_.
Definition at line 48 of file Container_T.cpp. References ACE_ENV_ARG_PARAMETER. Referenced by TAO_Notify_EventChannelFactory::remove(), TAO_Notify_EventChannel::remove(), and TAO_Notify_Admin::remove().
00049 { 00050 this->collection_->disconnected (type ACE_ENV_ARG_PARAMETER); 00051 } |
|
Shutdown.
Definition at line 34 of file Container_T.cpp. References ACE_ENV_ARG_PARAMETER. Referenced by TAO_Notify_EventChannelFactory::shutdown(), TAO_Notify_EventChannel::shutdown(), and TAO_Notify_Admin::shutdown().
00035 { 00036 TAO_ESF_Shutdown_Proxy<TYPE> shutdown_worker; 00037 00038 this->collection_->for_each (&shutdown_worker ACE_ENV_ARG_PARAMETER); 00039 } |
|
The collection data structure that we add objects to.
Definition at line 63 of file Container_T.h. |