template<typename ObjectType, typename PointerType, typename ParamType>
class Enlighten::SetParameterCommand
Command to set a parameter on an object.
Here ObjectType can be a system, probe set, dynamic object or cube map (BaseSystem, BaseProbeSet, BaseDynamicObject or BaseCubeMap). This command is used by the EnqueueSetObjectParameter function.
Functions
Name | Description |
---|---|
Execute(IUpdateManagerWorker *) | Function which actually executes the command, finding an object and setting the parameter. |
Execute(IUpdateManagerWorker *) | Function called when the command is executed, which will happen on the worker thread if one is running. |
SetParameterCommand(void(ObjectType::*)(ParamType), PointerType, ArgType &&) | Constructor, taking a function pointer, object id and value to set. |
Anchor | ||||
---|---|---|---|---|
|
virtual void Enlighten::SetParameterCommand< ObjectType, PointerType, ParamType >::Execute
...
public: virtual void Execute
(
IUpdateManagerWorker * worker
)
...
Function which actually executes the command, finding an object and setting the parameter.
Anchor | ||||
---|---|---|---|---|
|
virtual void Enlighten::Command::Execute
...
public: virtual void Execute
(
IUpdateManagerWorker * worker
)
...
Function called when the command is executed, which will happen on the worker thread if one is running.
Anchor | ||||
---|---|---|---|---|
|
Enlighten::SetParameterCommand< ObjectType, PointerType, ParamType >::SetParameterCommand
...
public: SetParameterCommand
(
void(ObjectType::*)(ParamType) function,
PointerType id,
ArgType && value
)
...
Constructor, taking a function pointer, object id and value to set.