X-Plane Remote Access Plugin and Client Library
|
#include <GetDataRefTask.h>
Public Member Functions | |
GetIntDataRefTask (const std::string &name) | |
GetIntDataRefTask (XPLMDataRef dataRef) | |
virtual void | writeValue (hu::varadiistvan::scpl::io::DataStream &stream) |
Public Member Functions inherited from xplra::GetScalarDataRefTask< int, GetIntDataRefTask > | |
GetScalarDataRefTask (const std::string &name) | |
GetScalarDataRefTask (XPLMDataRef dataRef) | |
int | 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 int | 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< int, GetIntDataRefTask > | |
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 an integer.
Definition at line 122 of file GetDataRefTask.h.
|
inline |
Construct the task for the dataref with the given name.
Definition at line 586 of file GetDataRefTask.h.
|
inline |
Construct the task for the given dataref.
Definition at line 593 of file GetDataRefTask.h.
|
inlinestatic |
Query the value from XPLM
Definition at line 579 of file GetDataRefTask.h.
|
virtual |
Write the value into the given stream.
Implements xplra::GetDataRefTask.
Definition at line 100 of file GetDataRefTask.cc.