X-Plane Remote Access Plugin and Client Library
Public Member Functions | Static Public Member Functions | List of all members
xplra::SetIntArrayDataRefTask Class Reference

#include <SetDataRefTask.h>

Inheritance diagram for xplra::SetIntArrayDataRefTask:
xplra::SetArrayDataRefTask< int, SetIntArrayDataRefTask > xplra::SetDataRefTask xplra::DataRefTask xplra::Task

Public Member Functions

 SetIntArrayDataRefTask (const std::string &name, int count, int offset=0)
 
 SetIntArrayDataRefTask (XPLMDataRef dataRef, int count, int offset=0)
 
- Public Member Functions inherited from xplra::SetArrayDataRefTask< int, SetIntArrayDataRefTask >
 SetArrayDataRefTask (const std::string &name, int count, int offset=0)
 
 SetArrayDataRefTask (XPLMDataRef dataRef, int count, int offset=0)
 
virtual ~SetArrayDataRefTask ()
 
virtual void readValue (hu::varadiistvan::scpl::io::DataStream &stream)
 
- 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, int *value, int count, int offset)
 
- Static Public Member Functions inherited from xplra::SetDataRefTask
static SetDataRefTaskcreate (uint8_t &result, hu::varadiistvan::scpl::io::DataStream &stream)
 

Additional Inherited Members

- Protected Member Functions inherited from xplra::SetArrayDataRefTask< int, SetIntArrayDataRefTask >
virtual void process ()
 
- Protected Member Functions inherited from xplra::DataRefTask
 DataRefTask (const std::string &name)
 
 DataRefTask (XPLMDataRef dataRef)
 
virtual void perform ()
 

Detailed Description

A dataref setting task which sets an array of integers.

Definition at line 288 of file SetDataRefTask.h.

Constructor & Destructor Documentation

◆ SetIntArrayDataRefTask() [1/2]

xplra::SetIntArrayDataRefTask::SetIntArrayDataRefTask ( const std::string &  name,
int  count,
int  offset = 0 
)
inline

Construct the task for the dataref with the given name.

Definition at line 533 of file SetDataRefTask.h.

◆ SetIntArrayDataRefTask() [2/2]

xplra::SetIntArrayDataRefTask::SetIntArrayDataRefTask ( XPLMDataRef  dataRef,
int  count,
int  offset = 0 
)
inline

Construct the task for the given dataref.

Definition at line 541 of file SetDataRefTask.h.

Member Function Documentation

◆ setData()

void xplra::SetIntArrayDataRefTask::setData ( XPLMDataRef  dataRef,
int *  value,
int  count,
int  offset 
)
inlinestatic

Perform the actual setting.

Definition at line 525 of file SetDataRefTask.h.


The documentation for this class was generated from the following file: