ezEngine  Milestone 7
ezConsoleFunction< R > Class Template Reference

Implements the functionality of ezConsoleFunctionBase for functions with different parameter types. See ezConsoleFunctionBase for more details. More...

#include <ConsoleFunction.h>

Inheritance diagram for ezConsoleFunction< R >:

Additional Inherited Members

- Public Member Functions inherited from ezConsoleFunctionBase
 ezConsoleFunctionBase (const char *szFunctionName, const char *szDescription)
 The constructor takes the function name and description as it should appear in the console.
 
const char * GetName () const
 Returns the name of the function as it should be exposed in the console.
 
const char * GetDescription () const
 Returns the description of the function as it should appear in the console.
 
virtual ezUInt32 GetNumParameters () const =0
 Returns the number of parameters that this function takes.
 
virtual ezVariant::Type::Enum GetParameterType (ezUInt32 uiParam) const =0
 Returns the type of the n-th parameter.
 
virtual ezResult Call (ezArrayPtr< ezVariant > params)=0
 Calls the function. Each parameter must be put into an ezVariant and all of them are passed along as an array. More...
 
- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 
- Protected Attributes inherited from ezEnumerable< ezConsoleFunctionBase >
ezEnumerablem_pNextInstance
 

Detailed Description

template<typename R>
class ezConsoleFunction< R >

Implements the functionality of ezConsoleFunctionBase for functions with different parameter types. See ezConsoleFunctionBase for more details.


The documentation for this class was generated from the following file: