X-Plane Remote Access Plugin and Client Library
|
#include <SetDataRefTask.h>
Public Member Functions | |
SetDoubleDataRefTask (const std::string &name) | |
SetDoubleDataRefTask (XPLMDataRef dataRef) | |
virtual void | readValue (hu::varadiistvan::scpl::io::DataStream &stream) |
Public Member Functions inherited from xplra::SetScalarDataRefTask< double, SetDoubleDataRefTask > | |
SetScalarDataRefTask (const std::string &name) | |
SetScalarDataRefTask (XPLMDataRef dataRef) | |
Public Member Functions inherited from xplra::SetDataRefTask | |
SetDataRefTask (const std::string &name) | |
SetDataRefTask (XPLMDataRef dataRef) | |
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 () |
Static Public Member Functions | |
static void | setData (XPLMDataRef dataRef, double value) |
Static Public Member Functions inherited from xplra::SetDataRefTask | |
static SetDataRefTask * | create (uint8_t &result, hu::varadiistvan::scpl::io::DataStream &stream) |
Additional Inherited Members | |
Protected Member Functions inherited from xplra::SetScalarDataRefTask< double, SetDoubleDataRefTask > | |
virtual void | process () |
Protected Member Functions inherited from xplra::DataRefTask | |
DataRefTask (const std::string &name) | |
DataRefTask (XPLMDataRef dataRef) | |
virtual void | perform () |
Protected Attributes inherited from xplra::SetScalarDataRefTask< double, SetDoubleDataRefTask > | |
double | value |
Task to set the value of a double-precision floating point data.
Definition at line 193 of file SetDataRefTask.h.
|
inline |
Construct the task for the dataref with the given name.
Definition at line 510 of file SetDataRefTask.h.
|
inline |
Construct the task for the given dataref.
Definition at line 517 of file SetDataRefTask.h.
|
virtual |
Read and set the value to update from the given stream
Implements xplra::SetDataRefTask.
Definition at line 111 of file SetDataRefTask.cc.
|
inlinestatic |
Set the given dataref's value to the given value.
Definition at line 503 of file SetDataRefTask.h.