◆ Metadata()
Constructs a Metadata object with provided payload data.
- Parameters
-
data | Reference to payload data |
◆ deserialize()
void deserialize |
( |
std::string & |
metadataPayload | ) |
|
Deserializes Metadata data from payload string.
- Parameters
-
metadataPayload | String containing serialized Metadata data |
◆ getHardwareModel()
std::string getHardwareModel |
( |
| ) |
const |
Gets the target hardware model.
- Returns
- Target hardware model
◆ getProjectName()
std::string getProjectName |
( |
| ) |
const |
Gets the target project name.
- Returns
- Target project name
◆ getProjectStatus()
std::string getProjectStatus |
( |
| ) |
const |
Gets the target project status.
- Returns
- Target project status
◆ serialize()
std::string serialize |
( |
| ) |
const |
Serializes Metadata data with the Metadata command code for transmission.
- Returns
- Serialized string containing Metadata data
◆ setHardwareModel()
void setHardwareModel |
( |
const std::string & |
hardwareModel | ) |
|
Sets the target hardware model.
- Parameters
-
hardwareModel | Updated hardware model |
◆ setProjectName()
void setProjectName |
( |
const std::string & |
projectName | ) |
|
Sets the target project name.
- Parameters
-
projectName | Updated project name |
◆ setProjectStatus()
void setProjectStatus |
( |
const std::string & |
projectStatus | ) |
|
Sets the target project status.
- Parameters
-
projectStatus | Updated project status |
◆ m_metadata
The documentation for this class was generated from the following files:
- simulation/common/inc/metadata.h
- simulation/common/src/metadata.cc