#include <simrtdb.h>
Public Member Functions | |
| union { | |
| float f | |
| short s | |
| unsigned short us | |
| char c | |
| unsigned char uc | |
| int i | |
| unsigned int ui | |
| short stringIndex | |
| } | __attribute__ ((aligned(8))) |
Data Fields | |
| int | stringLength |
| int | numElements |
| int | numMallocedElements |
| int | isRTDB |
| int | dimensions [MAX_DIMENSIONS] |
Object to hold the a single engineering unit value of a RTDB item independent of its data type. This is used for the RTDB default value and RTDB alternate value.
| union ItemValueScalar::@042310211353103133356114135235247027051252367036 ItemValueScalar::__attribute__ | ( | (aligned(8)) | ) |
| int ItemValueScalar::stringLength |
| int ItemValueScalar::numElements |
To be compatible w/ ItemValue.
| int ItemValueScalar::numMallocedElements |
To be compatible w/ ItemValue.
| int ItemValueScalar::isRTDB |
Indicates whether the string comes from RTDB (true) or local storage (false).
| float ItemValueScalar::f |
Value of the item if its cvt type is float
| short ItemValueScalar::s |
Value of the item if its cvt type is short
| unsigned short ItemValueScalar::us |
Value of the item if its cvt type is unsigned short
| char ItemValueScalar::c |
Value of the item if its cvt type is char
| unsigned char ItemValueScalar::uc |
Value of the item if its cvt type is unsigned char
| int ItemValueScalar::i |
Value of the item if its cvt type is int
| unsigned int ItemValueScalar::ui |
Value of the item if its cvt type is unsigned int
| short ItemValueScalar::stringIndex |
Index of the string value in the string table
| int ItemValueScalar::dimensions[MAX_DIMENSIONS] |