X-Plane Remote Access Plugin and Client Library
|
#include <SetDataRefTask.h>
Public Member Functions | |
SetScalarDataRefTask (const std::string &name) | |
SetScalarDataRefTask (XPLMDataRef dataRef) | |
Public Member Functions inherited from xplra::SetDataRefTask | |
SetDataRefTask (const std::string &name) | |
SetDataRefTask (XPLMDataRef dataRef) | |
virtual void | readValue (hu::varadiistvan::scpl::io::DataStream &stream)=0 |
Public Member Functions inherited from xplra::DataRefTask | |
bool | isValid () const |
const std::string & | getName () const |
XPLMDataRef | getDataRef () const |
Public Member Functions inherited from xplra::Task | |
virtual | ~Task () |
Protected Member Functions | |
virtual void | process () |
Protected Member Functions inherited from xplra::DataRefTask | |
DataRefTask (const std::string &name) | |
DataRefTask (XPLMDataRef dataRef) | |
virtual void | perform () |
Protected Attributes | |
T | value |
Additional Inherited Members | |
Static Public Member Functions inherited from xplra::SetDataRefTask | |
static SetDataRefTask * | create (uint8_t &result, hu::varadiistvan::scpl::io::DataStream &stream) |
Base class for dataref setting tasks that set a single scalar value.
ConcreteClass is the actual child class. It should have a function name setData() which performs the actual setting.
Definition at line 97 of file SetDataRefTask.h.
|
inline |
Construct the task for setting the data referenced by the dataref with the given name.
Definition at line 367 of file SetDataRefTask.h.
|
inline |
Construct the task for setting the data referenced by the given dataref.
Definition at line 376 of file SetDataRefTask.h.
|
protectedvirtual |
Perform the actual operation.
Implements xplra::DataRefTask.
Definition at line 385 of file SetDataRefTask.h.
|
protected |
The value to set.
Definition at line 103 of file SetDataRefTask.h.