Vector BLF
|
SYS_VARIABLE. More...
#include <SystemVariable.h>
Public Types | |
enum | Type : uint32_t { Double = 1 , Long = 2 , String = 3 , DoubleArray = 4 , LongArray = 5 , LongLong = 6 , ByteArray = 7 } |
![]() | |
enum | ObjectFlags : uint32_t { TimeTenMics = 0x00000001 , TimeOneNans = 0x00000002 } |
Public Member Functions | |
void | read (AbstractFile &is) override |
void | write (AbstractFile &os) override |
uint32_t | calculateObjectSize () const override |
![]() | |
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0) | |
uint16_t | calculateHeaderSize () const override |
![]() | |
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType) | |
ObjectHeaderBase (const ObjectHeaderBase &)=default | |
ObjectHeaderBase & | operator= (const ObjectHeaderBase &)=default |
ObjectHeaderBase (ObjectHeaderBase &&)=default | |
ObjectHeaderBase & | operator= (ObjectHeaderBase &&)=default |
Public Attributes | |
uint32_t | type {} |
type of system variable | |
uint32_t | representation {} |
signed, later perhaps also string codepage | |
uint64_t | reservedSystemVariable1 {} |
uint32_t | nameLength {} |
length of variable name in bytes | |
uint32_t | dataLength {} |
length of variable data in bytes | |
uint64_t | reservedSystemVariable2 {} |
std::string | name {} |
variable name in MBCS | |
std::vector< uint8_t > | data {} |
variable data | |
![]() | |
uint32_t | objectFlags {ObjectFlags::TimeOneNans} |
object flags | |
uint16_t | clientIndex {} |
client index of send node | |
uint16_t | objectVersion {0} |
object specific version | |
uint64_t | objectTimeStamp {} |
object timestamp | |
![]() | |
uint32_t | signature {ObjectSignature} |
signature (ObjectSignature) | |
uint16_t | headerSize {} |
sizeof object header | |
uint16_t | headerVersion {} |
header version (1) | |
uint32_t | objectSize {} |
object size | |
ObjectType | objectType {ObjectType::UNKNOWN} |
object type | |
SYS_VARIABLE.
System variable that can be used with CANoe.
|
overridevirtual |
|
overridevirtual |
Read the data of this object
is | input stream |
Reimplemented from Vector::BLF::ObjectHeader.
|
overridevirtual |
Write the data of this object
os | output stream |
Reimplemented from Vector::BLF::ObjectHeader.
std::vector<uint8_t> Vector::BLF::SystemVariable::data {} |
variable data
Data value of the system variable.
uint32_t Vector::BLF::SystemVariable::dataLength {} |
length of variable data in bytes
Length of the data of the environment variable in bytes.
std::string Vector::BLF::SystemVariable::name {} |
variable name in MBCS
Name of the system variable.
uint32_t Vector::BLF::SystemVariable::nameLength {} |
length of variable name in bytes
Length of the name of the system variable (without terminating 0)
uint64_t Vector::BLF::SystemVariable::reservedSystemVariable1 {} |
reserved
uint64_t Vector::BLF::SystemVariable::reservedSystemVariable2 {} |
reserved