#include <Event_Map_Entry_T.h>
Inheritance diagram for TAO_Notify_Event_Map_Entry_T< PROXY >:


Public Types | |
| typedef TAO_ESF_Proxy_Collection< PROXY > | COLLECTION |
Public Member Functions | |
| TAO_Notify_Event_Map_Entry_T (void) | |
| Constructor. | |
| ~TAO_Notify_Event_Map_Entry_T (void) | |
| Destructor. | |
| void | init () |
| Init - Allocates collection. | |
| void | connected (PROXY *proxy) |
| Connect. | |
| void | disconnected (PROXY *proxy) |
| Disconnect. | |
| COLLECTION * | collection (void) |
| Collection accessor. | |
| int | count (void) |
| Count accessor. | |
| CORBA::ULong | _incr_refcnt (void) |
| = Reference counting methods. | |
| CORBA::ULong | _decr_refcnt (void) |
Protected Attributes | |
| COLLECTION * | collection_ |
| The Collection. | |
| int | count_ |
| Count of PROXY's connected in the collection;. | |
| ACE_Atomic_Op< TAO_SYNCH_MUTEX, int > | usage_count_ |
| Count of users accessing this entry. | |
Definition at line 41 of file Event_Map_Entry_T.h.
|
|||||
|
Definition at line 44 of file Event_Map_Entry_T.h. |
|
||||||||||
|
Constructor.
Definition at line 23 of file Event_Map_Entry_T.cpp.
00024 : collection_ (0), count_ (0), usage_count_ (1) 00025 { 00026 } |
|
||||||||||
|
Destructor.
Definition at line 29 of file Event_Map_Entry_T.cpp.
00030 {
00031 delete collection_;
00032 }
|
|
||||||||||
|
Definition at line 26 of file Event_Map_Entry_T.inl. References TAO_Notify_Event_Map_Entry_T< PROXY >::usage_count_.
00027 {
00028 return --this->usage_count_;
00029 }
|
|
||||||||||
|
= Reference counting methods.
Definition at line 20 of file Event_Map_Entry_T.inl. References TAO_Notify_Event_Map_Entry_T< PROXY >::usage_count_.
00021 {
00022 return ++this->usage_count_;
00023 }
|
|
||||||||||
|
Collection accessor.
Definition at line 9 of file Event_Map_Entry_T.inl.
00009 {
00010 return collection_;
00011 }
|
|
||||||||||
|
Connect.
Definition at line 43 of file Event_Map_Entry_T.cpp. References ACE_ENV_ARG_PARAMETER.
00044 {
00045 this->collection_->connected (proxy ACE_ENV_ARG_PARAMETER);
00046 ++count_;
00047 }
|
|
||||||||||
|
Count accessor.
Definition at line 14 of file Event_Map_Entry_T.inl.
00015 {
00016 return this->count_;
00017 }
|
|
||||||||||
|
Disconnect.
Definition at line 50 of file Event_Map_Entry_T.cpp. References ACE_ENV_ARG_PARAMETER.
00051 {
00052 this->collection_->disconnected (proxy ACE_ENV_ARG_PARAMETER);
00053 --count_;
00054 }
|
|
|||||||||
|
Init - Allocates collection.
Definition at line 35 of file Event_Map_Entry_T.cpp. References ACE_ENV_ARG_PARAMETER, TAO_Notify_Factory::create(), and TAO_Singleton< TYPE, ACE_LOCK >::instance().
00036 {
00037 TAO_Notify_Factory* factory = TAO_Notify_PROPERTIES::instance ()->factory ();
00038
00039 factory->create (collection_ ACE_ENV_ARG_PARAMETER);
00040 }
|
|
|||||
|
The Collection.
Definition at line 76 of file Event_Map_Entry_T.h. |
|
|||||
|
Count of PROXY's connected in the collection;.
Definition at line 79 of file Event_Map_Entry_T.h. |
|
|||||
|
Count of users accessing this entry.
Definition at line 82 of file Event_Map_Entry_T.h. Referenced by TAO_Notify_Event_Map_Entry_T< PROXY >::_decr_refcnt(), and TAO_Notify_Event_Map_Entry_T< PROXY >::_incr_refcnt(). |
1.3.6