Main Page   Class Hierarchy   Compound List   File List   Compound Members  

IndirLinkNode Class Template Reference

LinkNode that can be connected to just one kind of other nodes. More...

#include <mlinknode.h>

Inheritance diagram for IndirLinkNode::

LinkNode List of all members.

Public Types

typedef CPtr (T::* FGetHost )(ClassName) const
typedef void (T::* FNfyBegN )(NodeLinkType)
typedef void (T::* FNfyNfPg )(NodeLinkType)
typedef void (T::* FNfyCnn )(NodeLinkType chg, NodeLink const *)

Public Methods

 IndirLinkNode ()
void setOwner (T &owner)
T* gOwner () const
virtual CPtr getHost (ClassName clsName) const
FGetHost setFunc_getOwner (FGetHost func)
FNfyBegN setFunc_notifyBeginNotify (FNfyBegN func)
FNfyNfPg setFunc_notifyNotifiedAndPurged (FNfyNfPg func)
FNfyCnn setFunc_notifyConnection (FNfyCnn func)
void set (T &client, FGetHost func1, FNfyNfPg func2, FNfyBegN func4, FNfyCnn func3)

Detailed Description

template<class T> class IndirLinkNode

LinkNode that can be connected to just one kind of other nodes.

It can be used as an attribute, not inherited. It contains just one type of objects.

Definition at line 287 of file mlinknode.h.


Member Function Documentation

CPtr getHost ( ClassName clsName ) const [inline, virtual]
 

TODO: Must use RTTI instead!

Reimplemented from LinkNode.

Definition at line 306 of file mlinknode.h.

void set ( T & client,
FGetHost func1,
FNfyNfPg func2,
FNfyBegN func4,
FNfyCnn func3 )
 

A quicker way to set the callback methods.

void setOwner ( T & owner ) [inline]
 

Tells the object its owner.

Definition at line 297 of file mlinknode.h.


The documentation for this class was generated from the following file:
Generated at Tue Dec 4 19:53:29 2001 for MagiC++ by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001