The entry stored in the event map. More...
#include <Event_Map_Entry_T.h>
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 (void) |
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. |
The entry stored in the event map.
Definition at line 41 of file Event_Map_Entry_T.h.
typedef TAO_ESF_Proxy_Collection<PROXY> TAO_Notify_Event_Map_Entry_T< PROXY >::COLLECTION |
Definition at line 44 of file Event_Map_Entry_T.h.
TAO_Notify_Event_Map_Entry_T< PROXY >::TAO_Notify_Event_Map_Entry_T | ( | void | ) |
Constructor.
Definition at line 23 of file Event_Map_Entry_T.cpp.
: collection_ (0), count_ (0), usage_count_ (1) { }
TAO_Notify_Event_Map_Entry_T< PROXY >::~TAO_Notify_Event_Map_Entry_T | ( | void | ) |
CORBA::ULong TAO_Notify_Event_Map_Entry_T< PROXY >::_decr_refcnt | ( | void | ) |
Definition at line 26 of file Event_Map_Entry_T.inl.
{ return --this->usage_count_; }
CORBA::ULong TAO_Notify_Event_Map_Entry_T< PROXY >::_incr_refcnt | ( | void | ) |
= Reference counting methods.
Definition at line 20 of file Event_Map_Entry_T.inl.
{ return ++this->usage_count_; }
TAO_Notify_Event_Map_Entry_T< PROXY >::COLLECTION * TAO_Notify_Event_Map_Entry_T< PROXY >::collection | ( | void | ) |
void TAO_Notify_Event_Map_Entry_T< PROXY >::connected | ( | PROXY * | proxy | ) |
Connect.
Definition at line 43 of file Event_Map_Entry_T.cpp.
{ this->collection_->connected (proxy); ++count_; }
int TAO_Notify_Event_Map_Entry_T< PROXY >::count | ( | void | ) |
void TAO_Notify_Event_Map_Entry_T< PROXY >::disconnected | ( | PROXY * | proxy | ) |
Disconnect.
Definition at line 50 of file Event_Map_Entry_T.cpp.
{ this->collection_->disconnected (proxy); --count_; }
void TAO_Notify_Event_Map_Entry_T< PROXY >::init | ( | void | ) |
Init - Allocates collection.
Definition at line 35 of file Event_Map_Entry_T.cpp.
{ TAO_Notify_Factory* factory = TAO_Notify_PROPERTIES::instance ()->factory (); factory->create (collection_); }
COLLECTION* TAO_Notify_Event_Map_Entry_T< PROXY >::collection_ [protected] |
The Collection.
Definition at line 76 of file Event_Map_Entry_T.h.
int TAO_Notify_Event_Map_Entry_T< PROXY >::count_ [protected] |
Count of PROXY's connected in the collection;.
Definition at line 79 of file Event_Map_Entry_T.h.
ACE_Atomic_Op<TAO_SYNCH_MUTEX,int> TAO_Notify_Event_Map_Entry_T< PROXY >::usage_count_ [protected] |
Count of users accessing this entry.
Definition at line 82 of file Event_Map_Entry_T.h.