template<typename ObjectType>
class Enlighten::WorkerObjectFunctionCommand
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.