#include <Event_Map_T.h>
Collaboration diagram for TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >:

Public Types | |
| typedef TAO_Notify_Event_Map_Entry_T< PROXY > | ENTRY |
Public Member Functions | |
| TAO_Notify_Event_Map_T (void) | |
| Constuctor. | |
| ~TAO_Notify_Event_Map_T () | |
| Destructor. | |
| void | init () |
| Init. | |
| void | connect (PROXY *proxy) |
| Connect a PROXY. | |
| void | disconnect (PROXY *proxy) |
| Disconnect a PROXY. | |
| int | insert (PROXY *proxy, const TAO_Notify_EventType &event_type) |
| int | remove (PROXY *proxy, const TAO_Notify_EventType &event_type) |
| ENTRY * | find (const TAO_Notify_EventType &event_type) |
| ACE_TYPENAME ENTRY::COLLECTION * | broadcast_collection (void) |
| Find the default broadcast list. | |
| ACE_TYPENAME ENTRY::COLLECTION * | updates_collection (void) |
| Find the update list. This is all the PROXYS connected to this Map. | |
| void | release (ENTRY *entry) |
| Release the usage count on this entry. | |
| const TAO_Notify_EventTypeSeq & | event_types (void) |
| Access all the event types available. | |
| int | proxy_count (void) |
| Access number of proxys connected in all. | |
Protected Attributes | |
| ACE_Hash_Map_Manager< TAO_Notify_EventType, ENTRY *, ACE_SYNCH_NULL_MUTEX > | map_ |
| The Map that stores eventtype to entry mapping. | |
| ACE_LOCK | lock_ |
| The lock to use. | |
| int | proxy_count_ |
| Count of proxys connected. | |
| ENTRY | broadcast_entry_ |
| The default broadcast list for EventType::special. | |
| ENTRY | updates_entry_ |
| Update Entry - Keeps a list of all PROXY's connected to this Map. Updates are send to this list. | |
| TAO_Notify_EventTypeSeq | event_types_ |
| The event types that are available in this map. | |
| typedef TAO_Notify_Event_Map_Entry_T<PROXY> TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::ENTRY |
| TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::TAO_Notify_Event_Map_T | ( | void | ) |
Constuctor.
| TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::~TAO_Notify_Event_Map_T | ( | ) |
Destructor.
| ACE_INLINE ACE_TYPENAME TAO_Notify_Event_Map_Entry_T< PROXY >::COLLECTION * TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::broadcast_collection | ( | void | ) |
Find the default broadcast list.
| void TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::connect | ( | PROXY * | proxy | ) |
Connect a PROXY.
| void TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::disconnect | ( | PROXY * | proxy | ) |
Disconnect a PROXY.
| ACE_INLINE const TAO_Notify_EventTypeSeq & TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::event_types | ( | void | ) |
Access all the event types available.
| ENTRY* TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::find | ( | const TAO_Notify_EventType & | event_type | ) |
Find the collection mapped to the <event_type> The usage_count on the entry returned is incremented.
| void TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::init | ( | ) |
Init.
| int TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::insert | ( | PROXY * | proxy, | |
| const TAO_Notify_EventType & | event_type | |||
| ) |
Associate PROXY and event_type. Returns 1 if <event_type> is being seem for the 1st time otherwise returns 0. Returns -1 on error.
| ACE_INLINE int TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::proxy_count | ( | void | ) |
Access number of proxys connected in all.
| ACE_INLINE void TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::release | ( | ENTRY * | entry | ) |
Release the usage count on this entry.
| int TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::remove | ( | PROXY * | proxy, | |
| const TAO_Notify_EventType & | event_type | |||
| ) |
Remove association of PROXY and event_type. Returns 1 if <event_type> is being seem for the last time otherwise returns 0. Returns -1 on error.
| ACE_INLINE ACE_TYPENAME TAO_Notify_Event_Map_Entry_T< PROXY >::COLLECTION * TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::updates_collection | ( | void | ) |
Find the update list. This is all the PROXYS connected to this Map.
ENTRY TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::broadcast_entry_ [protected] |
The default broadcast list for EventType::special.
TAO_Notify_EventTypeSeq TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::event_types_ [protected] |
The event types that are available in this map.
ACE_LOCK TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::lock_ [protected] |
The lock to use.
ACE_Hash_Map_Manager<TAO_Notify_EventType, ENTRY*, ACE_SYNCH_NULL_MUTEX> TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::map_ [protected] |
The Map that stores eventtype to entry mapping.
int TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::proxy_count_ [protected] |
Count of proxys connected.
ENTRY TAO_Notify_Event_Map_T< PROXY, ACE_LOCK >::updates_entry_ [protected] |
Update Entry - Keeps a list of all PROXY's connected to this Map. Updates are send to this list.
1.4.6-4