This reference page is linked to from the following overview topics: Reference System Best Practices, Node Monitors, Indirect Reference Example.
The interface for working with NodeTransformMonitor class.
The NodeTransformMonitor class (defined in ctrl.dlc) is used to monitor a node for its REFMSG_CHANGE / PART_TM and REFMSG_TARGET_DELETED messages. The NodeTransformMonitor class creates a RefTargMonitorRefMaker instance pointing at a node, and allows only the REFMSG_TARGET_DELETED message and the REFMSG_CHANGE message when PartID is PART_TM to propagate to the NodeTransformMonitor's dependents. To prevent circular message loops, the messages are not propagated if that message type is already being propagated.
#include <INodeTransformMonitor.h>
Public Types |
|
enum | { kfpGetnode, kfpSetnode, kfpGetforwardPartTM, kfpSetforwardPartTM, kfpGetforwardFlagNodes, kfpSetforwardFlagNodes, kfpGetforwardEnumDependents, kfpSetforwardEnumDependents } |
Public Member Functions |
|
virtual INode * | GetNode ()=0 |
Retrieves the node being watched. |
|
virtual void | SetNode (INode *theNode)=0 |
Sets the node being watched. |
|
virtual bool | GetForwardTransformChangeMsgs ()=0 |
Retrieves whether to monitor for
REFMSG_CHANGE / PART_TM messages. |
|
virtual void | SetForwardTransformChangeMsgs (bool state)=0 |
Sets whether to monitor for
REFMSG_CHANGE / PART_TM messages. |
|
virtual bool | GetForwardFlagNodesMsgs ()=0 |
Retrieves whether to monitor for
REFMSG_FLAG_NODES_WITH_SEL_DEPENDENTS messages. |
|
virtual void | SetForwardFlagNodesMsgs (bool state)=0 |
Sets whether to monitor for
REFMSG_FLAG_NODES_WITH_SEL_DEPENDENTS messages. |
|
virtual bool | GetForwardEnumDependentsCalls ()=0 |
Retrieves whether to monitor for
EnumDependentImp calls. |
|
virtual void | SetForwardEnumDependentsCalls (bool state)=0 |
Sets whether to monitor for EnumDependentImp
calls. |
|
FPInterfaceDesc * | GetDesc () |
virtual Interface_ID | GetID () |
BEGIN_FUNCTION_MAP | PROP_FNS (kfpGetnode, GetNode, kfpSetnode, SetNode, TYPE_INODE) |
PROP_FNS (kfpGetforwardPartTM, GetForwardTransformChangeMsgs, kfpSetforwardPartTM, SetForwardTransformChangeMsgs, TYPE_bool) | |
PROP_FNS (kfpGetforwardFlagNodes, GetForwardFlagNodesMsgs, kfpSetforwardFlagNodes, SetForwardFlagNodesMsgs, TYPE_bool) | |
PROP_FNS (kfpGetforwardEnumDependents, GetForwardEnumDependentsCalls, kfpSetforwardEnumDependents, SetForwardEnumDependentsCalls, TYPE_bool) |
anonymous enum |
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. |
virtual bool GetForwardTransformChangeMsgs | ( | ) | [pure virtual] |
Retrieves whether to monitor for REFMSG_CHANGE / PART_TM messages.
virtual void SetForwardTransformChangeMsgs | ( | bool | state | ) | [pure virtual] |
Sets whether to monitor for REFMSG_CHANGE / PART_TM messages.
state | - True if to monitor for REFMSG_CHANGE / PART_TM messages. |
virtual bool GetForwardFlagNodesMsgs | ( | ) | [pure virtual] |
Retrieves whether to monitor for REFMSG_FLAG_NODES_WITH_SEL_DEPENDENTS messages.
virtual void SetForwardFlagNodesMsgs | ( | bool | state | ) | [pure virtual] |
Sets whether to monitor for REFMSG_FLAG_NODES_WITH_SEL_DEPENDENTS messages.
state | - True if to monitor for REFMSG_FLAG_NODES_WITH_SEL_DEPENDENTS messages. |
virtual bool GetForwardEnumDependentsCalls | ( | ) | [pure virtual] |
Retrieves whether to monitor for EnumDependentImp calls.
virtual void SetForwardEnumDependentsCalls | ( | bool | state | ) | [pure virtual] |
Sets whether to monitor for EnumDependentImp calls.
state | - True if to monitor for EnumDependentImp calls. |
FPInterfaceDesc* GetDesc | ( | ) | [virtual] |
Implements FPInterface.
virtual Interface_ID GetID | ( | ) | [inline, virtual] |
Reimplemented from FPMixinInterface.
{ return IID_NODETRANSFORMMONITOR; }
BEGIN_FUNCTION_MAP PROP_FNS | ( | kfpGetnode | , |
GetNode | , | ||
kfpSetnode | , | ||
SetNode | , | ||
TYPE_INODE | |||
) |
PROP_FNS | ( | kfpGetforwardPartTM | , |
GetForwardTransformChangeMsgs | , | ||
kfpSetforwardPartTM | , | ||
SetForwardTransformChangeMsgs | , | ||
TYPE_bool | |||
) |
PROP_FNS | ( | kfpGetforwardFlagNodes | , |
GetForwardFlagNodesMsgs | , | ||
kfpSetforwardFlagNodes | , | ||
SetForwardFlagNodesMsgs | , | ||
TYPE_bool | |||
) |
PROP_FNS | ( | kfpGetforwardEnumDependents | , |
GetForwardEnumDependentsCalls | , | ||
kfpSetforwardEnumDependents | , | ||
SetForwardEnumDependentsCalls | , | ||
TYPE_bool | |||
) |