This is the documentation for Enlighten.

class Enlighten WorkerFunctorCommand

template<class Functor>
class Enlighten::WorkerFunctorCommand

    └>Enlighten::Command

Callable object (incl. lambda expressions) worker commands.

Functions

Name Description
Execute(IUpdateManagerWorker *)

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

Execute(IUpdateManagerWorker *)

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

WorkerFunctorCommand(Functor &&)

Constructor.

WorkerFunctorCommand(WorkerFunctorCommand &&)

Move Constructor.


virtual void Enlighten::WorkerFunctorCommand< Functor >::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.


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::WorkerFunctorCommand< Functor >::WorkerFunctorCommand


public: WorkerFunctorCommand
(
    Functor && functor
)


Constructor.


Enlighten::WorkerFunctorCommand< Functor >::WorkerFunctorCommand


public: WorkerFunctorCommand
(
    WorkerFunctorCommand && other
)


Move Constructor.