CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iParameterESM Struct Reference

This interface is a parameter resolver. More...

#include <engseq.h>

Inheritance diagram for iParameterESM:

iBase List of all members.

Public Methods

virtual iBaseGetValue (iBase *params=0) const=0
 Get the value based on userdata which is given to the operations.

virtual bool IsConstant () const=0
 Returns true if the value is constant and immediatelly available upon request.


Detailed Description

This interface is a parameter resolver.

The operations in the engine sequence manager use instances of this class to get the required object (mesh, light, material, ...). The engine sequence manager itself currently provides two ready-made implementations of this resolver:

Definition at line 59 of file engseq.h.


Member Function Documentation

virtual iBase* iParameterESM::GetValue iBase   params = 0 const [pure virtual]
 

Get the value based on userdata which is given to the operations.

If IsConstant() returns true then the params parameter will not be used!

virtual bool iParameterESM::IsConstant   [pure virtual]
 

Returns true if the value is constant and immediatelly available upon request.

In that case operations can store that value so then don't have to ask for it every time. If this function returns false then the operation MUST call GetValue() every time it wants to do something with the object.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18