PLCnext API Documentation
21.0.0.35466
|
Marshalls structure or class data types. Serialize and Deserialize have to marshal fields in the same format and the same order. More...
#include <IRscSerializable.hpp>
Public Member Functions | |
virtual | ~IRscSerializable ()=default |
default destructor More... | |
virtual void | Serialize (RscWriter &writer) const =0 |
Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More... | |
virtual void | Deserialize (RscReader &reader)=0 |
Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More... | |
Static Public Member Functions | |
static size_t | GetFieldCount (void) |
Returns the count of fields of the struct type More... | |
Marshalls structure or class data types. Serialize and Deserialize have to marshal fields in the same format and the same order.
|
virtualdefault |
default destructor
|
pure virtual |
Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.
reader | Reference to RscReader. |
Implemented in Arp::Plc::Commons::Meta::DataInfo, Arp::Plc::Commons::Meta::DataTag, Arp::Io::ProfinetStack::Controller::Services::AlarmInfo, Arp::Plc::Commons::Meta::TypeIdentifier, Arp::Services::NotificationLogger::Services::NotificationFilter, Arp::Services::NotificationLogger::Services::StoredNotification, Arp::Io::ProfinetStack::Controller::Services::RecordResult, Arp::Io::ProfinetStack::Controller::Services::ProfinetAddress, Arp::System::Commons::Services::Security::IdentityValidationResult, Arp::Plc::Commons::Meta::TypeInfo, Arp::Io::ProfinetStack::Controller::Services::RecordParam, Arp::Io::Interbus::Services::StatusResult, Arp::Io::Interbus::Services::IdentifyResult, Arp::Plc::Commons::Meta::ChildTypeInfo, Arp::Io::Interbus::Services::PositiveInitiateResult, Arp::Io::ProfinetStack::Controller::Services::ArStatisticValue, Arp::Io::Interbus::Services::InitiateResult, Arp::Plc::Commons::Meta::ArrayDimension, Arp::System::Commons::Services::Io::FileSystemTraitsEntry, Arp::Device::Interface::Services::DeviceSettingItem, Arp::Io::ProfinetStack::Controller::Services::DiagnosticInfo, Arp::Plc::Commons::Meta::CustomAttribute, Arp::Hardware::Nim::Services::NetloadLimiterSettings, Arp::Io::Axioline::Services::PdiParam, Arp::Io::Interbus::Services::DeviceConfiguration, Arp::Device::Interface::Services::DeviceSettingResult, Arp::Io::ProfinetStack::Controller::Services::ArDataResult, Arp::Io::ProfinetStack::Controller::Services::DiagnosticResult, Arp::System::Commons::Services::Io::FileSystemEntry, Arp::Io::Axioline::Services::PdiResult, Arp::Io::Axioline::Services::AxioResult, Arp::Io::Interbus::Services::NegativeInitiateResult, Arp::Plc::Gds::Services::VariableInfo, Arp::System::Commons::Services::Io::SpaceInfo, Arp::Io::Axioline::Services::AxioDeviceConfiguration, Arp::Io::Interbus::Services::InterbusResult, Arp::Io::Interbus::Services::ObjectAddress, Arp::Io::ProfinetStack::Controller::Services::ArInfo, Arp::Plc::Gds::Services::ReadItem, Arp::Plc::Gds::Services::WriteItem, Arp::System::Commons::Services::Io::TraitItem, Arp::Plc::Gds::Services::ForceItem, Arp::Services::DataLogger::Services::TriggerRpnItem, Arp::Hardware::Nim::Services::NetloadLimiterState, Arp::System::Nm::NotificationRegistrationInfo, Arp::Services::DataLogger::Services::SessionProperty, Arp::Plc::Retain::Services::BackupResult, and Arp::System::Nm::Notification.
|
static |
Returns the count of fields of the struct type
This is a policy operation and must be implemented in any struct as static operation.
|
pure virtual |
Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.
writer | Reference to RscWriter |
Implemented in Arp::Plc::Commons::Meta::DataInfo, Arp::Plc::Commons::Meta::DataTag, Arp::Plc::Commons::Meta::TypeIdentifier, Arp::Io::ProfinetStack::Controller::Services::AlarmInfo, Arp::Services::NotificationLogger::Services::NotificationFilter, Arp::Services::NotificationLogger::Services::StoredNotification, Arp::Plc::Commons::Meta::TypeInfo, Arp::System::Commons::Services::Security::IdentityValidationResult, Arp::Plc::Commons::Meta::ChildTypeInfo, Arp::Io::ProfinetStack::Controller::Services::RecordResult, Arp::Io::ProfinetStack::Controller::Services::ProfinetAddress, Arp::Plc::Commons::Meta::ArrayDimension, Arp::Io::ProfinetStack::Controller::Services::RecordParam, Arp::Io::Interbus::Services::StatusResult, Arp::Io::Interbus::Services::IdentifyResult, Arp::Plc::Commons::Meta::CustomAttribute, Arp::Io::Interbus::Services::InitiateResult, Arp::Io::Interbus::Services::PositiveInitiateResult, Arp::Io::ProfinetStack::Controller::Services::ArStatisticValue, Arp::Device::Interface::Services::DeviceSettingItem, Arp::Io::ProfinetStack::Controller::Services::DiagnosticInfo, Arp::System::Commons::Services::Io::FileSystemTraitsEntry, Arp::Device::Interface::Services::DeviceSettingResult, Arp::Io::ProfinetStack::Controller::Services::ArDataResult, Arp::Io::ProfinetStack::Controller::Services::DiagnosticResult, Arp::Hardware::Nim::Services::NetloadLimiterSettings, Arp::Io::Axioline::Services::PdiParam, Arp::Io::Interbus::Services::DeviceConfiguration, Arp::Plc::Gds::Services::VariableInfo, Arp::System::Commons::Services::Io::FileSystemEntry, Arp::Io::Axioline::Services::PdiResult, Arp::Io::Axioline::Services::AxioResult, Arp::Io::Interbus::Services::NegativeInitiateResult, Arp::System::Commons::Services::Io::SpaceInfo, Arp::Io::Axioline::Services::AxioDeviceConfiguration, Arp::System::Nm::NotificationRegistrationInfo, Arp::Io::Interbus::Services::InterbusResult, Arp::Io::Interbus::Services::ObjectAddress, Arp::Io::ProfinetStack::Controller::Services::ArInfo, Arp::Plc::Gds::Services::ReadItem, Arp::Plc::Gds::Services::WriteItem, Arp::System::Commons::Services::Io::TraitItem, Arp::Plc::Gds::Services::ForceItem, Arp::Services::DataLogger::Services::TriggerRpnItem, Arp::Hardware::Nim::Services::NetloadLimiterState, Arp::System::Nm::Notification, Arp::Services::DataLogger::Services::SessionProperty, and Arp::Plc::Retain::Services::BackupResult.