Stores the data to be read, written by the controller and a possible data access error.
More...
#include <ReadItem.hpp>
|
|
| ReadItem (void) |
| | Constructs an ReadItem instance.
|
| |
|
| ReadItem (DataAccessError error, const RscVariant< 512 > &value) |
| | Constructs an ReadItem 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.
|
| |
Stores the data to be read, written by the controller and a possible data access error.
◆ Deserialize() [1/2]
| void Arp::Plc::Gds::Services::ReadItem::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::Plc::Gds::Services::ReadItem::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::Plc::Gds::Services::ReadItem::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::Plc::Gds::Services::ReadItem::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::Plc::Gds::Services::ReadItem::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/Plc/Gds/Services/ReadItem.hpp
- Arp/Plc/Gds/Services/ReadItem.cpp