3ds Max C++ API Reference
Loading...
Searching...
No Matches
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()

virtual int NumActionLists ( )
pure virtual

Returns number of ActionLists in the current scene.

◆ GetActionList()

virtual INode * GetActionList ( int i)
pure virtual

Returns i-th action lists in the scene.

Parameters
iaction list index

◆ HasActionList()

virtual bool HasActionList ( INode * node)
pure virtual

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

Parameters
nodeaction list node

◆ HasActionListByHandle()

virtual bool HasActionListByHandle ( int handle)
pure virtual

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

◆ RegisterNotification()

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

virtual 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
Remarks
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

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

◆ IPFActionListPool()

PFExport IPFActionListPool ( )
protected

Variable Documentation

◆ m_pool

IPFActionListPool* m_pool
staticprotected

Friends

◆ GetPFActionListPool

PFExport IPFActionListPool * GetPFActionListPool ( )
friend

Friend function declarations.