#include <wrangler.h>
Public Member Functions |
|
virtual void | DeleteThis () |
Deletes an instance of this class. |
|
int | NumRefs () |
Returns the total number of references this
ReferenceMaker can hold. |
|
virtual void | AddPod (INode *node, int pos=TVNODE_APPEND) |
virtual int | FindPod (INode *pod) |
virtual void | RemovePod (INode *pod) |
virtual void | RemovePod (int i) |
void | AddNode (ITrackViewNode *node, MCHAR *name, Class_ID cid, int pos=TVNODE_APPEND) |
void | AddController (Control *c, MCHAR *name, Class_ID cid, int pos=TVNODE_APPEND) |
int | FindItem (Class_ID cid) |
void | RemoveItem (int i) |
void | RemoveItem (Class_ID cid) |
Control * | GetController (int i) |
Control * | GetController (Class_ID cid) |
ITrackViewNode * | GetNode (int i) |
ITrackViewNode * | GetNode (Class_ID cid) |
int | NumItems () |
virtual void | SwapPositions (int i1, int i2) |
MCHAR * | GetName (int i) |
virtual void | SetName (int i, MCHAR *name) |
virtual void | RegisterTVNodeNotify (TVNodeNotify *notify) |
virtual void | UnRegisterTVNodeNotify (TVNodeNotify *notify) |
virtual PodObj * | GetPodByNumber (int num) |
virtual void | MergeGroups (int oldg, int newg) |
virtual IOResult | Load (ILoad *iload)=0 |
Called for loading data. |
|
virtual IOResult | Save (ISave *isave)=0 |
Called for saving data. |
|
virtual void | HideChildren (BOOL chide) |
Public Attributes |
|
Tab< INode * > | podlist |
int | podmax |
int | groupmax |
Tab< TVNodeNotify * > | notifyCBs |
IParamBlock2 * | pblock |
virtual void DeleteThis | ( | ) | [inline, virtual] |
Deletes an instance of this class.
3ds Max calls this method when it needs to delete a plugin object (an instance of a class derived from Animatable). Similarly, plugins that need to delete instances of an Animatable or a class directly derived from it via an Animatable pointer, should call this method instead of calling directly operator delete. Following these rules will ensure that the same memory manager is used to allocate and deallocate the object. The default implementation of this method deletes the object. Plugin instances that never need to be deleted from the heap can overwrite this method to do nothing.
Reimplemented from Animatable.
{};
int NumRefs | ( | ) | [inline, virtual] |
Returns the total number of references this ReferenceMaker can hold.
The plugin implements this method to indicate the total number of of references it can make. This includes all references whether they are NULL (inactive) or non-NULL (active) at the time when this method is called. A plugin can hold a variable number of references, thus the return value of this method is not to be cached and reused by client code.
Reimplemented from ReferenceMaker.
virtual void AddPod | ( | INode * | node, |
int | pos =
TVNODE_APPEND |
||
) | [inline, virtual] |
virtual int FindPod | ( | INode * | pod | ) | [inline, virtual] |
{return -1;};
virtual void RemovePod | ( | INode * | pod | ) | [inline, virtual] |
virtual void RemovePod | ( | int | i | ) | [inline, virtual] |
void AddNode | ( | ITrackViewNode * | node, |
MCHAR * | name, | ||
Class_ID | cid, | ||
int | pos =
TVNODE_APPEND |
||
) | [inline, virtual] |
Implements ITrackViewNode.
{};
void AddController | ( | Control * | c, |
MCHAR * | name, | ||
Class_ID | cid, | ||
int | pos =
TVNODE_APPEND |
||
) | [inline, virtual] |
Implements ITrackViewNode.
{};
int FindItem | ( | Class_ID | cid | ) | [inline, virtual] |
Implements ITrackViewNode.
{return -1;}
void RemoveItem | ( | int | i | ) | [inline, virtual] |
Implements ITrackViewNode.
{};
void RemoveItem | ( | Class_ID | cid | ) | [inline, virtual] |
Implements ITrackViewNode.
{};
Control* GetController | ( | int | i | ) | [inline, virtual] |
Implements ITrackViewNode.
{return NULL;}
Implements ITrackViewNode.
{return GetController(FindItem(cid));}
ITrackViewNode* GetNode | ( | int | i | ) | [inline, virtual] |
Implements ITrackViewNode.
{return (ITrackViewNode*)podlist[i];}
ITrackViewNode* GetNode | ( | Class_ID | cid | ) | [inline, virtual] |
Implements ITrackViewNode.
{ return NULL;}
int NumItems | ( | ) | [inline, virtual] |
Implements ITrackViewNode.
virtual void SwapPositions | ( | int | i1, |
int | i2 | ||
) | [inline, virtual] |
Implements ITrackViewNode.
{};
MCHAR* GetName | ( | int | i | ) | [inline, virtual] |
Implements ITrackViewNode.
{return podlist[i]->GetName();}
virtual void SetName | ( | int | i, |
MCHAR * | name | ||
) | [inline, virtual] |
Implements ITrackViewNode.
{};
virtual void RegisterTVNodeNotify | ( | TVNodeNotify * | notify | ) | [inline, virtual] |
Implements ITrackViewNode.
{};
virtual void UnRegisterTVNodeNotify | ( | TVNodeNotify * | notify | ) | [inline, virtual] |
Implements ITrackViewNode.
{};
virtual PodObj* GetPodByNumber | ( | int | num | ) | [inline, virtual] |
{return NULL;}
virtual void MergeGroups | ( | int | oldg, |
int | newg | ||
) | [inline, virtual] |
Called for loading data.
Called by the system to allow the plug-in to load its data. See the section on Loading and Saving for an overview of the load - save process.
iload | - This interface pointer may be used to call methods to read data from disk. |
Reimplemented from ReferenceMaker.
Called for saving data.
Called by the system to allow the plugin to save its data.
isave | - This pointer may be used to call methods to write data to disk. See the section on Loading and Saving for an overview of the load/save process. |
Reimplemented from ReferenceMaker.
virtual void HideChildren | ( | BOOL | chide | ) | [inline, virtual] |
Implements ITrackViewNode.
{}