Plasma Engine  2.0
Loading...
Searching...
No Matches
plConsoleFunction< R > Class Template Reference

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

#include <ConsoleFunction.h>

Inheritance diagram for plConsoleFunction< R >:

Additional Inherited Members

- Public Member Functions inherited from plConsoleFunctionBase
 plConsoleFunctionBase (plStringView sFunctionName, plStringView sDescription)
 The constructor takes the function name and description as it should appear in the console.
 
plStringView GetName () const
 Returns the name of the function as it should be exposed in the console.
 
plStringView GetDescription () const
 Returns the description of the function as it should appear in the console.
 
virtual plUInt32 GetNumParameters () const =0
 Returns the number of parameters that this function takes.
 
virtual plVariant::Type::Enum GetParameterType (plUInt32 uiParam) const =0
 Returns the type of the n-th parameter.
 
virtual plResult Call (plArrayPtr< plVariant > params)=0
 Calls the function. Each parameter must be put into an plVariant and all of them are passed along as an array.
 
- Static Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 
- Protected Attributes inherited from plEnumerable< plConsoleFunctionBase >
plEnumerablem_pNextInstance
 

Detailed Description

template<typename R>
class plConsoleFunction< R >

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


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