Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

template<typename ObjectType>
class Enlighten::WorkerObjectFunctionCommand

    └>Enlighten::Command

Command to execute paramless method on an an object specified by the guid.

Here ObjectType can be a system, probe set, dynamic object or cube map (BaseSystem, BaseProbeSet, BaseDynamicObject or BaseCubeMap).

Functions

NameDescription
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.

WorkerObjectFunctionCommand(void(ObjectType::*)(), Geo::GeoGuid)

Constructor, taking a function pointer, object GUID and value to set.


Anchor
a71600008991e17151398de16080ce872
a71600008991e17151398de16080ce872

virtual void Enlighten::WorkerObjectFunctionCommand< ObjectType >::Execute

...

public: virtual void Execute
(
    IUpdateManagerWorker * worker
)

...

Function which actually executes the command, finding an object and setting the parameter.


Anchor
a7f0cbf451feee3adc7d42c4f89173935
a7f0cbf451feee3adc7d42c4f89173935

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
a126fdc59ec819d9d3903ad28c494d1a6
a126fdc59ec819d9d3903ad28c494d1a6

Enlighten::WorkerObjectFunctionCommand< ObjectType >::WorkerObjectFunctionCommand

...

public: WorkerObjectFunctionCommand
(
    void(ObjectType::*)() function,
    Geo::GeoGuid id
)

...

Constructor, taking a function pointer, object GUID and value to set.