The interface for working with RefTargMonitor class.
The RefTargMonitor class (defined in ctrl.dlc) is used to
monitor a RefTarg for its
REFMSG_TARGET_DELETED messages. The RefTargMonitor class
creates a RefTargMonitorRefMaker
instance pointing at a RefTarg, and allows only the
REFMSG_TARGET_DELETED message to propagate to the
RefTargMonitor's dependents. To prevent circular message loops, the
messages are not propagated if that message type is already being
propagated.
Public Types
|
enum |
{
kfpGetRefTarg,
kfpSetRefTarg,
kfpGetPersist,
kfpSetPersist } |
Public Member Functions
|
virtual
RefTargetHandle |
GetRefTarg ()=0 |
|
Retrieves the RefTarg being watched.
|
virtual
void |
SetRefTarg (RefTargetHandle
theRefTarg)=0 |
|
Sets the RefTarg being watched.
|
virtual
bool |
GetPersist ()=0 |
|
Retrieves whether to force persistence of
the target on partial load/save.
|
virtual
void |
SetPersist (bool persist)=0 |
|
Sets whether to force persistence of the
target on partial load/save.
|
FPInterfaceDesc
* |
GetDesc () |
virtual
Interface_ID |
GetID () |
BEGIN_FUNCTION_MAP |
PROP_FNS (kfpGetRefTarg, GetRefTarg, kfpSetRefTarg, SetRefTarg,
TYPE_REFTARG) |
|
PROP_FNS (kfpGetPersist, GetPersist, kfpSetPersist, SetPersist,
TYPE_bool) |