template<typename ParameterType1, typename ParameterType2>
class Enlighten::WorkerFunctionTwoParametersCommand
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. |
Anchor | ||||
---|---|---|---|---|
|
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.
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::WorkerFunctionTwoParametersCommand< ParameterType1, ParameterType2 >::WorkerFunctionTwoParametersCommand
...
public: WorkerFunctionTwoParametersCommand
(
void(IUpdateManagerWorker::*)(ParameterType1, ParameterType2) function,
ParameterType1 parameter1,
ParameterType2 parameter2
)
...
Constructor, taking a function pointer and a parameter.