This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

Name Description
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.


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.


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::WorkerObjectFunctionCommand< ObjectType >::WorkerObjectFunctionCommand


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


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

  • No labels