#include <GetDataRefTask.h>
A dataref task which retrieves the value of an integer array.
Definition at line 349 of file GetDataRefTask.h.
◆ GetIntArrayDataRefTask() [1/2]
xplra::GetIntArrayDataRefTask::GetIntArrayDataRefTask |
( |
const std::string & |
name, |
|
|
int |
maxCount = -1 , |
|
|
int |
offset = 0 |
|
) |
| |
|
inline |
Construct the task for the dataref with the given name.
- Parameters
-
name | the name of the dataref |
maxCount | the maximal number of data items to retrieve. If <0, the function will perform an extra query to retrieve the size of the dataref's data, which it will store in the task, so later on it can be reused. |
offset | the offset from which to query the array |
Definition at line 682 of file GetDataRefTask.h.
◆ GetIntArrayDataRefTask() [2/2]
xplra::GetIntArrayDataRefTask::GetIntArrayDataRefTask |
( |
XPLMDataRef |
dataRef, |
|
|
int |
maxCount = -1 , |
|
|
int |
offset = 0 |
|
) |
| |
|
inline |
Construct the task for the given dataref
- Parameters
-
dataRef | the dataref |
maxCount | the maximal number of data items to retrieve. If <0, the function will perform an extra query to retrieve the size of the dataref's data, which it will store in the task, so later on it can be reused. |
offset | the offset from which to query the array |
Definition at line 691 of file GetDataRefTask.h.
◆ queryData()
int xplra::GetIntArrayDataRefTask::queryData |
( |
XPLMDataRef |
dataRef, |
|
|
int * |
dest, |
|
|
int |
offset, |
|
|
int |
count |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: