Stores the to be written data and the related variable name to be write to.
More...
#include <WriteItem.hpp>
|
| WriteItem (void) |
| Constructs an WriteItem instance.
|
|
| WriteItem (const RscString< 512 > &portName, const RscVariant< 512 > &value) |
| Constructs an WriteItem 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< 512 > | PortName |
| Name of the variable
|
|
RscVariant< 512 > | Value |
| Contains the to be written data
|
|
Stores the to be written data and the related variable name to be write to.
◆ Deserialize() [1/2]
void Arp::Plc::Gds::Services::WriteItem::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::WriteItem::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::WriteItem::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::WriteItem::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::WriteItem::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/WriteItem.hpp
- Arp/Plc/Gds/Services/WriteItem.cpp