Contains parameter to address and set a station network address.
More...
#include <StationAddress.hpp>
|
|
| StationAddress (void) |
| | Constructs an StationAddress instance.
|
| |
|
| StationAddress (const RscString< 40 > &ipAddress, const RscString< 16 > &subnetMask, const RscString< 16 > &defaultGateway, const RscString< 18 > &macAddress) |
| | Constructs an StationAddress 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< 40 > | IpAddress |
| | IP address that shall be assigned to a station.
|
| |
|
RscString< 16 > | SubnetMask |
| | Subnet mask that shall be assigned to a station.
|
| |
|
RscString< 16 > | DefaultGateway |
| | Default gateway that shall be assigned to a station.
|
| |
| RscString< 18 > | MacAddress |
| | MAC address of the station. More...
|
| |
Contains parameter to address and set a station network address.
If IpAddress, SubnetMask or DefaultGateway are not set, the value will be set to '0.0.0.0'.
◆ Deserialize() [1/2]
| void Arp::Io::ProfinetStack::System::Services::StationAddress::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::Io::ProfinetStack::System::Services::StationAddress::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::Io::ProfinetStack::System::Services::StationAddress::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::Io::ProfinetStack::System::Services::StationAddress::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::Io::ProfinetStack::System::Services::StationAddress::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 |
◆ MacAddress
| RscString<18> Arp::Io::ProfinetStack::System::Services::StationAddress::MacAddress |
MAC address of the station.
The MAC address consists of 6 values that are separated by a ':'.
The documentation for this class was generated from the following files:
- Arp/Io/ProfinetStack/System/Services/StationAddress.hpp
- Arp/Io/ProfinetStack/System/Services/StationAddress.cpp