This is the documentation for Enlighten.
class Enlighten WorkerFunctionTwoParametersCommand
template<typename ParameterType1, typename ParameterType2>
class Enlighten::WorkerFunctionTwoParametersCommand
  └>Enlighten::Command
Command to execute a function in the IUpdateManagerWorker interface with two parameters.
Variables
Name | Description |
---|---|
void(IUpdateManagerWorker::* m_Function)(ParameterType1, ParameterType2) | Function pointer to worker function to call. |
GeoStd::RemoveConst< typename GeoStd::RemoveReference< ParameterType1 >::Type >::Type m_Parameter1 | first parameter to pass |
GeoStd::RemoveConst< typename GeoStd::RemoveReference< ParameterType2 >::Type >::Type m_Parameter2 | second parameter to pass |
Functions
Name | Description |
---|---|
Execute(IUpdateManagerWorker *) | Function which actually executes the command, calling the function and passing the parameter. |
Execute(IUpdateManagerWorker *) | Function called when the command is executed, which will happen on the worker thread if one is running. |
WorkerFunctionTwoParametersCommand(void(IUpdateManagerWorker::*)(ParameterType1, ParameterType2), ParameterType1, ParameterType2) | Constructor, taking a function pointer and a parameter. |
virtual void Enlighten::WorkerFunctionTwoParametersCommand< ParameterType1, ParameterType2 >::Execute
public: virtual void Execute
(
  IUpdateManagerWorker * worker
)
Function which actually executes the command, calling the function and passing 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::WorkerFunctionTwoParametersCommand< ParameterType1, ParameterType2 >::WorkerFunctionTwoParametersCommand
public: WorkerFunctionTwoParametersCommand
(
  void(IUpdateManagerWorker::*)(ParameterType1, ParameterType2) function,
  ParameterType1 parameter1,
  ParameterType2 parameter2
)
Constructor, taking a function pointer and a parameter.