onboardapi  9.10.0
by Rheinmetall
M_Device::ReportValue Struct Reference

Report a specified value. More...

Public Member Functions

 ReportValue ()
 
 ReportValue (std::string const &KeyId, M_Common::PropertyType const &Value, bool IsRemoved)
 

Public Attributes

std::string KeyId
 
M_Common::PropertyType Value
 Value of interest. More...
 
bool IsRemoved
 

Detailed Description

Report a specified value.

Constructor & Destructor Documentation

◆ ReportValue() [1/2]

M_Device::ReportValue::ReportValue ( )

◆ ReportValue() [2/2]

M_Device::ReportValue::ReportValue ( std::string const &  KeyId,
M_Common::PropertyType const &  Value,
bool  IsRemoved 
)

Member Data Documentation

◆ IsRemoved

bool M_Device::ReportValue::IsRemoved

Indicates if the payload is no longer available Note: This will always be set to true when the instance has been shut down After this has been set to true, the payload will no longer be available to late joiners.

◆ KeyId

std::string M_Device::ReportValue::KeyId

Identifies the component/location. Note: recommended format for e.g. operating hours: KeyId = <subcomponent_name> Value.Name = "OperatingHours"

◆ Value

M_Common::PropertyType M_Device::ReportValue::Value

Value of interest.