IPFSystemPool.h

IPFSystemPool.h

Module description

Functions

virtual int NumPFSystems ()=0
 returns number of PFSystems in the current scene More...
 
virtual INodeGetPFSystem (int i)=0
 Returns i-th PFSystem in the scene. More...
 
virtual bool HasPFSystem (INode *node)=0
 Checks if the given PFSystem node is present in the scene. More...
 
virtual bool HasPFSystemByHandle (int handle)=0
 Check if the scene has a PFSystem with the given node handle. More...
 
virtual int RegisterNotification (NOTIFYPROC proc, void *param)=0
 Register notification with the PFSystem pool. More...
 
virtual int UnRegisterNotification (NOTIFYPROC proc, void *param)=0
 Unregister notification with the PFSystem pool. More...
 
FPInterfaceDescGetDesc ()
 
PFExport IPFSystemPool ()
 

Variables

static IPFSystemPoolm_pool
 

Friends

PFExport IPFSystemPoolGetPFSystemPool ()
 Friend function declarations. More...
 

Function Documentation

virtual int NumPFSystems ( )
pure virtual

returns number of PFSystems in the current scene

virtual INode* GetPFSystem ( int  i)
pure virtual

Returns i-th PFSystem in the scene.

Parameters
iPFSystem index
virtual bool HasPFSystem ( INode node)
pure virtual

Checks if the given PFSystem node is present in the scene.

Parameters
nodePFSystem node
virtual bool HasPFSystemByHandle ( int  handle)
pure virtual

Check if the scene has a PFSystem with the given node handle.

virtual int RegisterNotification ( NOTIFYPROC  proc,
void param 
)
pure virtual

Register notification with the PFSystem pool.

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

Parameters
procThe callback function called when the event occurs.
paramA pointer that is passed to the callback function when the notification is made.
virtual int UnRegisterNotification ( NOTIFYPROC  proc,
void param 
)
pure virtual

Unregister notification with the PFSystem 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 that is passed to the callback function when the notification is made.
FPInterfaceDesc* GetDesc ( )
inlinevirtual
Remarks
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

#define PFSYSTEMPOOL_INTERFACE
Definition: IPFSystemPool.h:23
virtual FPInterfaceDesc * GetDescByID(Interface_ID id)
Definition: ifnpub.h:613
PFExport IPFSystemPool ( )
protected

Variable Documentation

IPFSystemPool* m_pool
staticprotected

Friends

PFExport IPFSystemPool* GetPFSystemPool ( )
friend

Friend function declarations.