#include <notetrck.h>
Public Member Functions |
|
SClass_ID | SuperClassID () |
Retrieves a constant representing the type
of the plugin. |
|
RefResult | AutoDelete () |
Deletes the object when it has no more real
dependents. |
SClass_ID SuperClassID | ( | ) | [inline, virtual] |
Retrieves a constant representing the type of the plugin.
Reimplemented from ReferenceTarget.
{return SClass_ID(NOTETRACK_CLASS_ID);}
RefResult AutoDelete | ( | ) | [inline, virtual] |
Deletes the object when it has no more real dependents.
This function is called by 3ds Max in order to delete a plugin object when its last real dependent has been deleted. It also allows derived classes to control the lifetime of their instances. The default implementation of this method will drop the references this object makes to other objects, and if the undo system is engaged (holding) it will ensure that the deletion is undo/redo-able. Override this method only if you don't want instances of your plugin to be automatically deleted when the last reference to them is deleted. Most subclasses of class ReferenceTarget will not need to override this method. Plugins should call ReferenceTarget::MaybeAutoDelete() or ReferenceMaker::DeleteMe() to delete instances of plugin objects. For more information on how 3ds Max deletes reference targets, see ReferenceTarget::MaybeAutoDelete()
Reimplemented from ReferenceTarget.
{return REF_SUCCEED;}