This is the documentation for Enlighten.

class Enlighten WorkerFunctionCommand

class Enlighten::WorkerFunctionCommand

    └>Enlighten::Command

Command to execute a function in the IUpdaetManagerWorker interface with no input arguments.

Variables

Name Description
void(IUpdateManagerWorker::* m_Function)()

Function pointer to worker function to call.

Functions

Name Description
Execute(IUpdateManagerWorker *)

Function which actually executes the command, calling the function.

Execute(IUpdateManagerWorker *)

Function called when the command is executed, which will happen on the worker thread if one is running.

WorkerFunctionCommand(void(IUpdateManagerWorker::*)())

Constructor, taking a function pointer.


virtual void Enlighten::WorkerFunctionCommand::Execute


public: virtual void Execute
(
    IUpdateManagerWorker * worker
)


Function which actually executes the command, calling the function.


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::WorkerFunctionCommand::WorkerFunctionCommand


public: WorkerFunctionCommand
(
    void(IUpdateManagerWorker::*)() function
)


Constructor, taking a function pointer.