This reference page is linked to from the following overview topics: Reference System Best Practices, Node Monitors, Indirect Reference Example, Indirect References and Object XRefs.
The interface for working with NodeMonitor class.
The NodeMonitor class (defined in ctrl.dlc) is used to monitor a node for its REFMSG_TARGET_DELETED messages. The NodeMonitor class creates a RefTargMonitorRefMaker instance pointing at a node, and allows only the REFMSG_TARGET_DELETED message to propagate to the NodeMonitor's dependents. To prevent circular message loops, the messages are not propagated if that message type is already being propagated.
#include <INodeMonitor.h>
Public Types |
|
enum | { kfpGetnode, kfpSetnode } |
Public Member Functions |
|
virtual INode * | GetNode ()=0 |
Retrieves the node being watched. |
|
virtual void | SetNode (INode *theNode)=0 |
Sets the node being watched. |
|
FPInterfaceDesc * | GetDesc () |
virtual Interface_ID | GetID () |
BEGIN_FUNCTION_MAP | PROP_FNS (kfpGetnode, GetNode, kfpSetnode, SetNode, TYPE_INODE) |
anonymous enum |
{ kfpGetnode, kfpSetnode, };
virtual INode* GetNode | ( | ) | [pure virtual] |
Retrieves the node being watched.
virtual void SetNode | ( | INode * | theNode | ) | [pure virtual] |
Sets the node being watched.
theNode | - Pointer to node to be watched. Can be NULL. |
FPInterfaceDesc* GetDesc | ( | ) | [virtual] |
Implements FPInterface.
virtual Interface_ID GetID | ( | ) | [inline, virtual] |
Reimplemented from FPMixinInterface.
{ return IID_NODEMONITOR; }
BEGIN_FUNCTION_MAP PROP_FNS | ( | kfpGetnode | , |
GetNode | , | ||
kfpSetnode | , | ||
SetNode | , | ||
TYPE_INODE | |||
) |