3ds Max C++ API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
IPFActionListPool.h

Functions

virtual int NumActionLists ()=0
 Returns number of ActionLists in the current scene.
 
virtual INodeGetActionList (int i)=0
 Returns i-th action lists in the scene.
 
virtual bool HasActionList (INode *node)=0
 Checks if the given aciton list node is present in the scene.
 
virtual bool HasActionListByHandle (int handle)=0
 check if the scene has an action list with the given node handle
 
virtual int RegisterNotification (NOTIFYPROC proc, void *param)=0
 Register notification with the action list pool.
 
virtual int UnRegisterNotification (NOTIFYPROC proc, void *param)=0
 Unregister notification with the action list pool.
 
FPInterfaceDescGetDesc ()
 

 
PFExport IPFActionListPool ()
 

Variables

static IPFActionListPoolm_pool
 

Friends

PFExport IPFActionListPoolGetPFActionListPool ()
 Friend function declarations.
 

Detailed Description

Function Documentation

◆ NumActionLists()

int NumActionLists ( )
pure virtual

Returns number of ActionLists in the current scene.

◆ GetActionList()

INode * GetActionList ( int  i)
pure virtual

Returns i-th action lists in the scene.

Parameters
iaction list index

◆ HasActionList()

bool HasActionList ( INode node)
pure virtual

Checks if the given aciton list node is present in the scene.

Parameters
nodeaction list node

◆ HasActionListByHandle()

bool HasActionListByHandle ( int  handle)
pure virtual

check if the scene has an action list with the given node handle

◆ RegisterNotification()

int RegisterNotification ( NOTIFYPROC  proc,
void param 
)
pure virtual

Register notification with the action list pool.

The given function is called each time the set of all action lists is changing Returns nonzero if the event was registered; otherwise zero.

Parameters
procThe callback function called when the event occurs.
paramA pointer to a parameter which will be passed to the callback function.

◆ UnRegisterNotification()

int UnRegisterNotification ( NOTIFYPROC  proc,
void param 
)
pure virtual

Unregister notification with the action list pool.

This function is called to break the connection between the event and the callback. After this function executes the callback is no longer invoked when the event occurs. Returns nonzero if the event was unregistered; otherwise zero.

Parameters
procThe callback function called when the event occurs.
paramA pointer to a parameter which will be passed to the callback function.

◆ GetDesc()

FPInterfaceDesc * GetDesc ( )
inlinevirtual


Implements FPInterface.

#define PFACTIONLISTPOOL_INTERFACE
Definition: IPFActionListPool.h:25
virtual FPInterfaceDesc * GetDescByID(Interface_ID id)
Definition: ifnpub.h:617

◆ IPFActionListPool()

PFExport IPFActionListPool ( )
protected

Variable Documentation

◆ m_pool

IPFActionListPool* m_pool
staticprotected

Friends

◆ GetPFActionListPool

PFExport IPFActionListPool * GetPFActionListPool ( )
friend

Friend function declarations.