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

BaseObjectEventHandler Class Reference
[Managed Objects]

BaseObjectEventHandler Class Definition. More...

#include <BaseObjectEventHandler.h>

Inheritance diagram for BaseObjectEventHandler:

Inheritance graph
[legend]
Collaboration diagram for BaseObjectEventHandler:

Collaboration graph
[legend]
List of all members.

Public Methods

void changed (IManagedObject *inTarget)
void childChanged (IManagedObject *inTarget, void *inChild)
void childAdded (IManagedObject *inTarget, void *inChild)

Detailed Description

BaseObjectEventHandler Class Definition.

The BaseObjectEventHandler is a basic implementation of the IEventHandler interface. Event though the callbacks do nothing, one can derive from BaseObjectEventHandler and is not forced to implement all the callbacks of IEventHandler.

Most objects should derive from this instead of deriving directly from IEventHandler in case more callbacks are added to the interface in the future.


Member Function Documentation

void BaseObjectEventHandler::changed IManagedObject   inTarget [virtual]
 

Called when the data node has been modified

Parameters:
inTarget  IManagedObject which was subscribed to the data node

Implements IObjectEventHandler.

void BaseObjectEventHandler::childAdded IManagedObject   inTarget,
void *    inChild
[virtual]
 

Called when a child of the data node has been added

Parameters:
inTarget  IManagedObject which was subscribed to the data node
inChild  Data node of the child which has been added

Implements IObjectEventHandler.

void BaseObjectEventHandler::childChanged IManagedObject   inTarget,
void *    inChild
[virtual]
 

Called when a child of the data node has been modified

Parameters:
inTarget  IManagedObject which was subscribed to the data node
inChild  Data node of the child which has changed

Implements IObjectEventHandler.


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