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

#include <SetDataRefTask.h>

Inheritance diagram for xplra::SetByteArrayDataRefTask:
xplra::SetArrayDataRefTask< unsigned char, SetByteArrayDataRefTask > xplra::SetDataRefTask xplra::DataRefTask xplra::Task

Public Member Functions

 SetByteArrayDataRefTask (const std::string &name, int count, int offset=0)
 
 SetByteArrayDataRefTask (XPLMDataRef dataRef, int count, int offset=0)
 
- Public Member Functions inherited from xplra::SetArrayDataRefTask< unsigned char, SetByteArrayDataRefTask >
 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, unsigned char *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< unsigned char, SetByteArrayDataRefTask >
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 bytes.

Definition at line 341 of file SetDataRefTask.h.

Constructor & Destructor Documentation

◆ SetByteArrayDataRefTask() [1/2]

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

Construct the task for the dataref with the given name.

Definition at line 588 of file SetDataRefTask.h.

◆ SetByteArrayDataRefTask() [2/2]

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

Construct the task for the given dataref.

Definition at line 598 of file SetDataRefTask.h.

Member Function Documentation

◆ setData()

void xplra::SetByteArrayDataRefTask::setData ( XPLMDataRef  dataRef,
unsigned char *  value,
int  count,
int  offset 
)
inlinestatic

Perform the actual setting.

Definition at line 578 of file SetDataRefTask.h.


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