Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SubscriberMap Class Reference
[Managed Objects]

SubscriberMap Class Definition. More...

#include <SubscriberMap.h>

List of all members.

Public Methods

WDError subscribe (IManagedObject *inSubscriber, void *inKey)
WDError unSubscribe (IManagedObject *inSubscriber, void *inKey)
EventSubscriberListgetSubscribers (void *inKey)

Private Attributes

EventSubscriberMap mSubscriberMap


Detailed Description

SubscriberMap Class Definition.

The SubscriberMap provides services to associate a node to a list of Observer


Member Function Documentation

EventSubscriberList* SubscriberMap::getSubscribers void *    inKey
 

Returns a list of subscriber associated with the data node

Parameters:
inKey  data node

WDError SubscriberMap::subscribe IManagedObject   inSubscriber,
void *    inKey
 

Adds an entry in the subscriber map for the observer and the data node

Parameters:
inSubscriber  observer
inKey  data node

WDError SubscriberMap::unSubscribe IManagedObject   inSubscriber,
void *    inKey
 

Removes an entry in the subscriber map for the observer and the data node

Parameters:
inSubscriber  observer
inKey  data node


Member Data Documentation

EventSubscriberMap SubscriberMap::mSubscriberMap [private]
 

Maps data nodes to a list of observers


The documentation for this class was generated from the following file:
Generated on Mon Apr 15 15:23:22 2002 for WhiteDwarf by doxygen1.2.15