This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

template<typename ObjectType, typename PointerType, typename ParamType>
class Enlighten::SetParameterCommand

    └>Enlighten::Command

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.


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.


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.


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.

  • No labels