This structure is used for PLCnext application information indication.
More...
#include <AppInfo.hpp>
|
|
| AppInfo (void) |
| | Constructs an AppInfo instance.
|
| |
|
| AppInfo (const RscString< 256 > &appIdentifier, const RscString< 256 > &appName, const RscString< 256 > &version, const RscString< 256 > &target, const RscString< 256 > &minFirmwareVersion, const RscString< 256 > &manufacturer, AppLicenseType licenseType, const RscString< 512 > &linkToAppPage, const std::vector< AdditionalAppInfo > &additionalInfo) |
| | Constructs an AppInfo instance.
|
| |
| void | Serialize (RscWriter &writer) const |
| | Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More...
|
| |
| void | Deserialize (RscReader &reader) |
| | Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More...
|
| |
| void | Serialize (JRscWriter &writer) const |
| | Serializes the datatype. All fields of the datatype have to be serialized in use of JRscWriter. More...
|
| |
| void | Deserialize (JRscReader &reader) |
| | Deserializes the datatype. All fields of the datatype have to be deserialized in use of JRscReader. More...
|
| |
|
| RscSerializable (void)=default |
| | The default constructor.
|
| |
|
|
RscString< 256 > | AppIdentifier |
| | The unique identifier for the application.
|
| |
|
RscString< 256 > | AppName |
| | The name of the application.
|
| |
|
RscString< 256 > | Version |
| | The version of the application.
|
| |
|
RscString< 256 > | Target |
| | The target platform for the application.
|
| |
|
RscString< 256 > | MinFirmwareVersion |
| | The minimum firmware version required for the application.
|
| |
|
RscString< 256 > | Manufacturer |
| | The manufacturer of the application.
|
| |
|
AppLicenseType | LicenseType = static_cast<AppLicenseType>(0) |
| | The type of license the application is distributed under.
|
| |
|
RscString< 512 > | LinkToAppPage |
| | URL that points to a web page providing the app (optional)
|
| |
|
std::vector< AdditionalAppInfo > | AdditionalInfo |
| | Additional infomation (optional).
|
| |
This structure is used for PLCnext application information indication.
◆ Deserialize() [1/2]
| void Arp::Services::AppManager::Services::AppInfo::Deserialize |
( |
JRscReader & |
reader | ) |
|
Deserializes the datatype. All fields of the datatype have to be deserialized in use of JRscReader.
- Parameters
-
| reader | Reference to RscReader. |
◆ Deserialize() [2/2]
| void Arp::Services::AppManager::Services::AppInfo::Deserialize |
( |
RscReader & |
reader | ) |
|
Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.
- Parameters
-
| reader | Reference to RscReader. |
◆ GetFieldCount()
| size_t Arp::Services::AppManager::Services::AppInfo::GetFieldCount |
( |
void |
| ) |
|
|
static |
Returns the count of fields
- Returns
- Count of fields.
The field count is used for serialization via Rsc
◆ Serialize() [1/2]
| void Arp::Services::AppManager::Services::AppInfo::Serialize |
( |
JRscWriter & |
writer | ) |
const |
Serializes the datatype. All fields of the datatype have to be serialized in use of JRscWriter.
- Parameters
-
| writer | Reference to RscWriter |
◆ Serialize() [2/2]
| void Arp::Services::AppManager::Services::AppInfo::Serialize |
( |
RscWriter & |
writer | ) |
const |
Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.
- Parameters
-
| writer | Reference to RscWriter |
The documentation for this class was generated from the following files:
- Arp/Services/AppManager/Services/AppInfo.hpp
- Arp/Services/AppManager/Services/AppInfo.cpp