Public Member Functions

NoteTrack Class Reference

Search for all occurrences

#include <notetrck.h>

Inheritance diagram for NoteTrack:
Inheritance graph
[legend]

List of all members.

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.

Member Function Documentation

SClass_ID SuperClassID ( ) [inline, virtual]

Retrieves a constant representing the type of the plugin.

Returns:
A super class id that uniquely identifies the type (category) of the plugin. Note that several plugin classes can be of the same type, thus return the same super class id. Plugins are uniquely identified by their class ids. List of Super Class IDs.
See also:
SClass_ID

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()

Returns:
Default implementation always returns REF_SUCCEED. Overwrites should also always return REF_SUCCEED.
Note:
Classes that overwrite this method to prevent deletion of their instances, should be deleted by calling ReferenceMaker::DeleteMe() on them.

Reimplemented from ReferenceTarget.

{return REF_SUCCEED;}

NoteTrack NoteTrack NoteTrack NoteTrack NoteTrack NoteTrack NoteTrack NoteTrack NoteTrack NoteTrack
NoteTrack NoteTrack NoteTrack NoteTrack NoteTrack NoteTrack NoteTrack NoteTrack NoteTrack NoteTrack