A force item structure.
More...
#include <ForceItem.hpp>
|
|
| ForceItem (void) |
| | Constructs an ForceItem instance.
|
| |
|
| ForceItem (const RscString< 512 > &variableName, const RscVariant< 512 > &forceValue) |
| | Constructs an ForceItem 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...
|
| |
|
| RscSerializable (void)=default |
| | The default constructor.
|
| |
|
|
RscString< 512 > | VariableName |
| | The instance path of the forced item.
|
| |
|
RscVariant< 512 > | ForceValue |
| | The value of the forced item.
|
| |
◆ Deserialize()
| void Arp::Plc::Gds::Services::ForceItem::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::ForceItem::GetFieldCount |
( |
void |
| ) |
|
|
static |
Returns the count of fields
- Returns
- Count of fields.
The field count is used for serialization via Rsc
◆ Serialize()
| void Arp::Plc::Gds::Services::ForceItem::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/ForceItem.hpp
- Arp/Plc/Gds/Services/ForceItem.cpp