X-Plane Remote Access Plugin and Client Library
|
#include <GetDataRefTask.h>
Public Member Functions | |
GetDoubleDataRefTask (const std::string &name) | |
GetDoubleDataRefTask (XPLMDataRef dataRef) | |
virtual void | writeValue (hu::varadiistvan::scpl::io::DataStream &stream) |
Public Member Functions inherited from xplra::GetScalarDataRefTask< double, GetDoubleDataRefTask > | |
GetScalarDataRefTask (const std::string &name) | |
GetScalarDataRefTask (XPLMDataRef dataRef) | |
double | getValue () const |
Public Member Functions inherited from xplra::GetDataRefTask | |
GetDataRefTask (const std::string &name) | |
GetDataRefTask (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 double | queryData (XPLMDataRef dataRef) |
Static Public Member Functions inherited from xplra::GetDataRefTask | |
static GetDataRefTask * | create (uint8_t &result, hu::varadiistvan::scpl::io::DataStream &stream) |
Additional Inherited Members | |
Protected Member Functions inherited from xplra::GetScalarDataRefTask< double, GetDoubleDataRefTask > | |
virtual void | process () |
Protected Member Functions inherited from xplra::DataRefTask | |
DataRefTask (const std::string &name) | |
DataRefTask (XPLMDataRef dataRef) | |
virtual void | perform () |
A dataref task which retrieves the value of a double-precision floating point data.
Definition at line 186 of file GetDataRefTask.h.
|
inline |
Construct the task for the dataref with the given name.
Definition at line 630 of file GetDataRefTask.h.
|
inline |
Construct the task for the given dataref.
Definition at line 637 of file GetDataRefTask.h.
|
inlinestatic |
Query the value from XPLM
Definition at line 623 of file GetDataRefTask.h.
|
virtual |
Write the value into the given stream.
Implements xplra::GetDataRefTask.
Definition at line 114 of file GetDataRefTask.cc.