![]() |
Real-Time API Revision2025.2-0
|
#include <simrtdb.h>
Public Member Functions | |
| int dimensions[MAX_DIMENSIONS] | __attribute__ ((aligned(8))) |
Data Fields | |
| int | stringLength |
| int | numElements |
| int | numMallocedElements |
| int | isRTDB |
| union { | |
| } | Val |
Object to hold the engineering unit value of a RTDB item independent of its data type. This is used in call to getCVTValue and getAlternateValue.
| int dimensions[MAX_DIMENSIONS] ItemValue::__attribute__ | ( | (aligned(8)) | ) |
| int ItemValue::stringLength |
| int ItemValue::numElements |
The number of elements for array type items.
| int ItemValue::numMallocedElements |
size of the buffer for getCVT values if it has been preallocated by the caller. for getCVTValue, etc... This can be less than the number of elements.
| int ItemValue::isRTDB |
Indicates whether the string comes from RTDB (true) or local storage (false).
| float ItemValue::f |
Value of the item if its cvt type is float
| short ItemValue::s |
Value of the item if its cvt type is short
| unsigned short ItemValue::us |
Value of the item if its cvt type is unsigned short
| char ItemValue::c |
Value of the item if its cvt type is char
| unsigned char ItemValue::uc |
Value of the item if its cvt type is unsigned char
| int ItemValue::i |
Value of the item if its cvt type is int
| unsigned int ItemValue::ui |
Value of the item if its cvt type is unsigned int
| short ItemValue::stringIndex |
Index of the string value in the string table
| union { ... } ItemValue::Val |