|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Classes | |
| class | Reader |
| Lightweight cursor for parsing a big-endian byte buffer without copies. More... | |
Functions | |
| template<typename T > requires std::is_integral_v<T> && std::is_unsigned_v<T> | |
| void | PutBigEndian (std::vector< std::uint8_t > &out, T value) |
| Append an unsigned integral value to a buffer in big-endian order. | |
| template<typename T > requires std::is_integral_v<T> && std::is_unsigned_v<T> | |
| void | PutLittleEndian (std::vector< std::uint8_t > &out, T value) |
| Append an unsigned integral value to a buffer in little-endian order. | |
| template<typename T > requires std::is_integral_v<T> && std::is_unsigned_v<T> | |
| void | PutLittleEndian (std::uint8_t *out, T value) |
| Writes an unsigned integer in little-endian byte order. | |
| void | PutU8 (std::vector< std::uint8_t > &out, std::uint8_t value) |
| Append a single byte to a buffer. | |
| void | PutU16 (std::vector< std::uint8_t > &out, std::uint16_t value) |
| Append a 16-bit value to a buffer in big-endian order. | |
| void | PutU32 (std::vector< std::uint8_t > &out, std::uint32_t value) |
| Append a 32-bit value to a buffer in big-endian order. | |
| void | PutBytes (std::vector< std::uint8_t > &out, const std::uint8_t *data, std::size_t len) |
| Append a raw byte range to a buffer. | |
| template<std::size_t N> | |
| void | PutFixed (std::vector< std::uint8_t > &out, const std::array< std::uint8_t, N > &data) |
| Append a fixed-size byte array to a buffer. | |
| void | PutFixed (std::vector< std::uint8_t > &out, const std::vector< std::uint8_t > &data) |
| Append a byte vector to a buffer. | |
| void | PutFixed (std::vector< std::uint8_t > &out, const std::string &data) |
| Append a string to a buffer. | |
| template<typename T > requires std::is_integral_v<T> && std::is_unsigned_v<T> | |
| constexpr T | ReadBigEndian (const std::uint8_t *data) |
| Decode an unsigned integral value from big-endian bytes. | |
| template<typename T > requires std::is_integral_v<T> && std::is_unsigned_v<T> | |
| constexpr T | ReadLittleEndian (const std::uint8_t *data) |
| Decode an unsigned integral value from little-endian bytes. | |
| TEST (WireWriterTest, PutBigEndianU8) | |
| TEST (WireWriterTest, PutBigEndianU16) | |
| TEST (WireWriterTest, PutBigEndianU32) | |
| TEST (WireWriterTest, PutBigEndianU64) | |
| TEST (WireWriterTest, PutBigEndianZero) | |
| TEST (WireWriterTest, PutBigEndianMaximumU32) | |
| TEST (WireWriterTest, PutBigEndianAppends) | |
| TEST (WireWriterTest, PutLittleEndianU8) | |
| TEST (WireWriterTest, PutLittleEndianU16) | |
| TEST (WireWriterTest, PutLittleEndianU32) | |
| TEST (WireWriterTest, PutLittleEndianU64) | |
| TEST (WireWriterTest, PutLittleEndianZero) | |
| TEST (WireWriterTest, PutLittleEndianMaximumU32) | |
| TEST (WireWriterTest, PutLittleEndianAppends) | |
| TEST (WireWriterTest, PutLittleEndianPointerU16) | |
| TEST (WireWriterTest, PutLittleEndianPointerU32) | |
| TEST (WireWriterTest, PutU8) | |
| TEST (WireWriterTest, PutU16) | |
| TEST (WireWriterTest, PutU32) | |
| TEST (WireWriterTest, PutBytes) | |
| TEST (WireWriterTest, PutBytesZeroLength) | |
| TEST (WireWriterTest, PutFixedArray) | |
| TEST (WireWriterTest, PutFixedEmptyArray) | |
| TEST (WireWriterTest, PutFixedVector) | |
| TEST (WireWriterTest, PutFixedEmptyVector) | |
| TEST (WireWriterTest, PutFixedString) | |
| TEST (WireWriterTest, PutFixedEmptyString) | |
| TEST (WireReaderTest, ReadBigEndianU8) | |
| TEST (WireReaderTest, ReadBigEndianU16) | |
| TEST (WireReaderTest, ReadBigEndianU32) | |
| TEST (WireReaderTest, ReadBigEndianU64) | |
| TEST (WireReaderTest, ReadBigEndianZero) | |
| TEST (WireReaderTest, ReadBigEndianMaximumU32) | |
| TEST (WireReaderTest, ReadLittleEndianU8) | |
| TEST (WireReaderTest, ReadLittleEndianU16) | |
| TEST (WireReaderTest, ReadLittleEndianU32) | |
| TEST (WireReaderTest, ReadLittleEndianU64) | |
| TEST (WireReaderTest, ReadLittleEndianZero) | |
| TEST (WireReaderTest, ReadLittleEndianMaximumU32) | |
| TEST (WireReaderTest, ReaderReadsU8) | |
| TEST (WireReaderTest, ReaderRejectsU8PastEnd) | |
| TEST (WireReaderTest, ReaderReadsBigEndianU16) | |
| TEST (WireReaderTest, ReaderReadsBigEndianU32) | |
| TEST (WireReaderTest, ReaderReadsLittleEndianU16) | |
| TEST (WireReaderTest, ReaderReadsLittleEndianU32) | |
| TEST (WireReaderTest, ReaderReadsConsecutiveLittleEndianValues) | |
| TEST (WireReaderTest, ReaderMixesEndianReads) | |
| TEST (WireReaderTest, ReaderRejectsLittleEndianU16PastEnd) | |
| TEST (WireReaderTest, ReaderRejectsLittleEndianU32PastEnd) | |
| TEST (WireReaderTest, ReaderRejectsU16PastEnd) | |
| TEST (WireReaderTest, ReaderRejectsU32PastEnd) | |
| TEST (WireReaderTest, ReaderReadBytes) | |
| TEST (WireReaderTest, ReaderReadBytesZeroLength) | |
| TEST (WireReaderTest, ReaderRejectsReadBytesPastEnd) | |
| TEST (WireReaderTest, ReaderFixedArray) | |
| TEST (WireReaderTest, ReaderFixedEmptyArray) | |
| TEST (WireReaderTest, ReaderRejectsFixedArrayPastEnd) | |
| TEST (WireReaderTest, ReaderSkip) | |
| TEST (WireReaderTest, ReaderSkipZero) | |
| TEST (WireReaderTest, ReaderRejectsSkipPastEnd) | |
| TEST (WireReaderTest, ReaderSkipTo) | |
| TEST (WireReaderTest, ReaderSkipToMovesBackwards) | |
| TEST (WireReaderTest, ReaderRejectsSkipToPastEnd) | |
| TEST (WireReaderTest, ReaderAllowsSkipToEnd) | |
| TEST (WireReaderTest, ReaderNeedExactRemaining) | |
| TEST (WireReaderTest, ReaderNeedZero) | |
| TEST (WireReaderTest, ReaderCursorPointsToCurrentPosition) | |
| TEST (WireReaderTest, ReaderRemainingTracksPosition) | |
| TEST (WireReaderTest, ReaderRawPointerConstructor) | |
| TEST (WireReaderTest, ReaderSpanConstructor) | |
| TEST (WireReaderTest, ReaderEmptyVector) | |
Variables | |
| constexpr unsigned | kBitsPerByte = 8U |
|
inline |
Append an unsigned integral value to a buffer in big-endian order.
| T | Unsigned integral value type. |
| out | Buffer to append to. |
| value | Value to append. |
Definition at line 45 of file wire.h.
References kBitsPerByte.
Referenced by profinet::rt::BuildEthernetFrame(), profinet::rpc::RpcTests::MakeCompleteEpmTower(), profinet::rpc::RpcTests::MakeRawRpcHeader(), PutU16(), PutU32(), profinet::AlarmListener::SendRtaFrame(), profinet::rpc::StringToUuidBytes(), profinet::dcp::TEST(), profinet::dcp::TEST(), profinet::dcp::TEST(), profinet::dcp::TEST(), and profinet::rt::RTFrame::ToBytes().
Here is the caller graph for this function:
|
inline |
|
inline |
Append a fixed-size byte array to a buffer.
| N | Size of the array in bytes. |
| out | Buffer to append to. |
| data | Fixed-size array to copy. |
Definition at line 124 of file wire.h.
Referenced by profinet::rpc::RPCCon::ApplicationReady(), profinet::blocks::IODWriteMultipleBuilder::BuildHeader(), profinet::blocks::IODWriteMultipleBuilder::BuildWriteBlock(), profinet::rpc::RPCCon::EpmLookup(), profinet::rpc::RpcTests::MakeEpmLookupBody(), profinet::rpc::RpcTests::MakeEpmResponse(), profinet::rpc::RpcTests::MakeEpmTower(), profinet::rpc::RpcTests::MakeEpmTowerFloor(), profinet::rpc::RpcTests::MakeInterfaceTowerLhs(), profinet::rpc::RpcTests::MakeRawRpcHeader(), profinet::dcp::TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), profinet::EthernetHeader::ToBytes(), profinet::EthernetVLANHeader::ToBytes(), profinet::PNRPCHeader::ToBytes(), profinet::PNIODHeader::ToBytes(), profinet::PNARBlockRequest::ToBytes(), profinet::PNIODReleaseBlock::ToBytes(), profinet::PNIOCRBlockReqHeader::ToBytes(), profinet::PNAlarmCRBlockReq::ToBytes(), profinet::PNAlarmCRBlockRes::ToBytes(), profinet::PNAlarmAckPDU::ToBytes(), and profinet::PNIODWriteReq::ToBytes().
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
Writes an unsigned integer in little-endian byte order.
| T | Unsigned integer type to serialize. |
| out | Destination address for the serialized value. |
| value | Value to serialize. |
Definition at line 78 of file wire.h.
References kBitsPerByte.
|
inline |
Append an unsigned integral value to a buffer in little-endian order.
| T | Unsigned integral value type. |
| out | Buffer to append to. |
| value | Value to append. |
The least-significant byte is written first, independently of the host machine's native byte order.
Definition at line 64 of file wire.h.
References kBitsPerByte.
Referenced by profinet::rpc::RPCCon::ApplicationReady(), profinet::rpc::RPCCon::EpmLookup(), profinet::rpc::RpcTests::MakeApplicationReadyNrd(), profinet::rpc::RpcTests::MakeEpmLookupBody(), profinet::rpc::RpcTests::MakeEpmResponse(), profinet::rpc::RpcTests::MakeEpmTower(), profinet::rpc::RpcTests::MakeEpmTowerFloor(), profinet::rpc::RpcTests::MakeInterfaceTowerLhs(), profinet::rpc::RpcTests::MakeInterfaceTowerRhs(), profinet::rpc::RpcTests::MakeRawRpcHeader(), and profinet::rpc::StringToUuidBytes().
Here is the caller graph for this function:
|
inline |
Append a 16-bit value to a buffer in big-endian order.
| out | Buffer to append to. |
| value | Value to append. |
Definition at line 97 of file wire.h.
References PutBigEndian().
Referenced by profinet::rpc::RPCCon::ApplicationReady(), profinet::sim::VirtualAumaValve::BuildAlarmNotificationBlock(), profinet::blocks::IODWriteMultipleBuilder::BuildHeader(), profinet::rpc::RPCCon::BuildIocrBlock(), profinet::sim::VirtualAumaValve::BuildRtaErrorFrame(), profinet::blocks::IODWriteMultipleBuilder::BuildWriteBlock(), profinet::sim::VirtualAumaValve::EmitScenarioAlarms(), profinet::device::ProfinetDeviceDiagnosisTests::MakeBlockHeader(), profinet::rpc::RpcTests::MakeDiagnosisPayload(), profinet::sim::VirtualProfinetRpcDevice::MakeIocrResponse(), profinet::rpc::RpcTests::MakeIocrResponseBlock(), profinet::device::ProfinetDeviceDiagnosisTests::MakeModuleDiffBlock(), profinet::rpc::RpcTests::MakeModuleDiffPayload(), profinet::rpc::RpcTests::MakeRealIdentificationPayload(), profinet::rpc::RpcTests::MakeWriteMultipleResponsePayload(), profinet::StubRpcTransport::SendReceive(), TEST(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), profinet::rpc::TEST_F(), profinet::blocks::ExpectedSubmoduleDataDescription::ToBytes(), profinet::blocks::ExpectedSubmodule::ToBytes(), profinet::blocks::ExpectedSubmoduleSlot::ToBytes(), profinet::blocks::ExpectedSubmoduleBlockReq::ToBytes(), profinet::EthernetHeader::ToBytes(), profinet::EthernetVLANHeader::ToBytes(), profinet::PNDCPHeader::ToBytes(), profinet::PNDCPBlockRequest::ToBytes(), profinet::PNDCPBlock::ToBytes(), profinet::PNRPCHeader::ToBytes(), profinet::PNIODHeader::ToBytes(), profinet::PNBlockHeader::ToBytes(), profinet::PNARBlockRequest::ToBytes(), profinet::PNIODReleaseBlock::ToBytes(), profinet::IOCRAPIObject::ToBytes(), profinet::PNIOCRBlockReqHeader::ToBytes(), profinet::PNAlarmCRBlockReq::ToBytes(), profinet::PNAlarmCRBlockRes::ToBytes(), profinet::PNAlarmAckPDU::ToBytes(), profinet::PNRTAHeader::ToBytes(), profinet::PNExpectedSubmoduleDataDescription::ToBytes(), and profinet::PNIODWriteReq::ToBytes().
Here is the call graph for this function:
|
inline |
Append a 32-bit value to a buffer in big-endian order.
| out | Buffer to append to. |
| value | Value to append. |
Definition at line 105 of file wire.h.
References PutBigEndian().
Referenced by profinet::rpc::RPCCon::ApplicationReady(), profinet::sim::VirtualAumaValve::BuildAlarmNotificationBlock(), profinet::blocks::IODWriteMultipleBuilder::BuildHeader(), profinet::rpc::RPCCon::BuildIocrBlock(), profinet::blocks::IODWriteMultipleBuilder::BuildWriteBlock(), profinet::rpc::RpcTests::MakeApplicationReadyNrd(), profinet::device::ProfinetDeviceDiagnosisTests::MakeModuleDiffBlock(), profinet::rpc::RpcTests::MakeModuleDiffPayload(), profinet::rpc::RpcTests::MakeRealIdentificationPayload(), profinet::rpc::RpcTests::MakeWriteMultipleResponsePayload(), TEST(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), profinet::blocks::ExpectedSubmodule::ToBytes(), profinet::blocks::ExpectedSubmoduleSlot::ToBytes(), profinet::PNDCPHeader::ToBytes(), profinet::PNRPCHeader::ToBytes(), profinet::PNNRDData::ToBytes(), profinet::PNIODHeader::ToBytes(), profinet::PNARBlockRequest::ToBytes(), profinet::PNIOCRBlockReqHeader::ToBytes(), profinet::PNAlarmCRBlockReq::ToBytes(), profinet::PNAlarmAckPDU::ToBytes(), and profinet::PNIODWriteReq::ToBytes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Append a single byte to a buffer.
| out | Buffer to append to. |
| value | Byte value to append. |
Definition at line 89 of file wire.h.
Referenced by profinet::blocks::IODWriteMultipleBuilder::BuildHeader(), profinet::blocks::IODWriteMultipleBuilder::BuildWriteBlock(), profinet::device::ProfinetDeviceDiagnosisTests::MakeBlockHeader(), profinet::rpc::RpcTests::MakeDiagnosisPayload(), profinet::sim::VirtualProfinetRpcDevice::MakeIocrResponse(), profinet::rpc::RpcTests::MakeIocrResponseBlock(), profinet::rpc::RpcTests::MakeRawRpcHeader(), profinet::rpc::RpcTests::MakeWriteMultipleResponsePayload(), profinet::StubRpcTransport::SendReceive(), TEST(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), profinet::rpc::TEST_F(), profinet::blocks::ExpectedSubmoduleDataDescription::ToBytes(), profinet::blocks::ExpectedSubmoduleBlockReq::ToBytes(), profinet::PNDCPHeader::ToBytes(), profinet::PNDCPBlockRequest::ToBytes(), profinet::PNDCPBlock::ToBytes(), profinet::PNRPCHeader::ToBytes(), profinet::PNBlockHeader::ToBytes(), profinet::PNRTAHeader::ToBytes(), and profinet::PNExpectedSubmoduleDataDescription::ToBytes().
Here is the caller graph for this function:
|
constexpr |
Decode an unsigned integral value from big-endian bytes.
| T | Unsigned integral value type. |
| data | Pointer to the first byte. |
Reads exactly sizeof(T) bytes in network byte order. The caller must ensure that the supplied buffer contains enough bytes.
|
constexpr |
Decode an unsigned integral value from little-endian bytes.
| T | Unsigned integral value type. |
| data | Pointer to the first byte. |
Definition at line 174 of file wire.h.
References kBitsPerByte.
| profinet::wire::TEST | ( | WireReaderTest | , |
| ReadBigEndianMaximumU32 | |||
| ) |
Definition at line 540 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireReaderTest | , |
| ReadBigEndianU16 | |||
| ) |
Definition at line 484 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireReaderTest | , |
| ReadBigEndianU32 | |||
| ) |
Definition at line 495 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireReaderTest | , |
| ReadBigEndianU64 | |||
| ) |
Definition at line 508 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireReaderTest | , |
| ReadBigEndianU8 | |||
| ) |
Definition at line 476 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireReaderTest | , |
| ReadBigEndianZero | |||
| ) |
Definition at line 527 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderAllowsSkipToEnd | |||
| ) |
Definition at line 1058 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), and profinet::wire::Reader::SkipTo().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderCursorPointsToCurrentPosition | |||
| ) |
Definition at line 1100 of file test_wire.cpp.
References profinet::wire::Reader::Cursor(), and profinet::wire::Reader::SkipTo().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderEmptyVector | |||
| ) |
Definition at line 1181 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), and profinet::wire::Reader::U8().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderFixedArray | |||
| ) |
Definition at line 887 of file test_wire.cpp.
References profinet::wire::Reader::Fixed(), profinet::wire::Reader::Position(), and profinet::wire::Reader::Remaining().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderFixedEmptyArray | |||
| ) |
Definition at line 913 of file test_wire.cpp.
References profinet::wire::Reader::Fixed(), profinet::wire::Reader::Position(), and profinet::wire::Reader::Remaining().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderMixesEndianReads | |||
| ) |
Definition at line 748 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::U16(), and profinet::wire::Reader::U16LittleEndian().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderNeedExactRemaining | |||
| ) |
Definition at line 1076 of file test_wire.cpp.
References profinet::wire::Reader::Need(), and profinet::wire::Reader::Position().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderNeedZero | |||
| ) |
Definition at line 1090 of file test_wire.cpp.
References profinet::wire::Reader::Need().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderRawPointerConstructor | |||
| ) |
Definition at line 1148 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::U16(), and profinet::wire::Reader::U8().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderReadBytes | |||
| ) |
Definition at line 833 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::ReadBytes(), and profinet::wire::Reader::Remaining().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderReadBytesZeroLength | |||
| ) |
Definition at line 853 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::ReadBytes(), and profinet::wire::Reader::Remaining().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderReadsBigEndianU16 | |||
| ) |
Definition at line 655 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), and profinet::wire::Reader::U16().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderReadsBigEndianU32 | |||
| ) |
Definition at line 672 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), and profinet::wire::Reader::U32().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderReadsConsecutiveLittleEndianValues | |||
| ) |
Definition at line 727 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), profinet::wire::Reader::U16LittleEndian(), and profinet::wire::Reader::U32LittleEndian().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderReadsLittleEndianU16 | |||
| ) |
Definition at line 691 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), and profinet::wire::Reader::U16LittleEndian().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderReadsLittleEndianU32 | |||
| ) |
Definition at line 708 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), and profinet::wire::Reader::U32LittleEndian().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderReadsU8 | |||
| ) |
Definition at line 630 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), and profinet::wire::Reader::U8().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderRejectsFixedArrayPastEnd | |||
| ) |
Definition at line 931 of file test_wire.cpp.
References profinet::wire::Reader::Fixed(), profinet::wire::Reader::Position(), and profinet::wire::Reader::Remaining().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderRejectsLittleEndianU16PastEnd | |||
| ) |
Definition at line 769 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), and profinet::wire::Reader::U16LittleEndian().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderRejectsLittleEndianU32PastEnd | |||
| ) |
Definition at line 784 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), and profinet::wire::Reader::U32LittleEndian().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderRejectsReadBytesPastEnd | |||
| ) |
Definition at line 871 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::ReadBytes(), and profinet::wire::Reader::Remaining().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderRejectsSkipPastEnd | |||
| ) |
Definition at line 988 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), and profinet::wire::Reader::Skip().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderRejectsSkipToPastEnd | |||
| ) |
Definition at line 1043 of file test_wire.cpp.
References profinet::wire::Reader::Position(), and profinet::wire::Reader::SkipTo().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderRejectsU16PastEnd | |||
| ) |
Definition at line 801 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), and profinet::wire::Reader::U16().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderRejectsU32PastEnd | |||
| ) |
Definition at line 816 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), and profinet::wire::Reader::U32().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderRejectsU8PastEnd | |||
| ) |
Definition at line 642 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), and profinet::wire::Reader::U8().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderRemainingTracksPosition | |||
| ) |
Definition at line 1119 of file test_wire.cpp.
References profinet::wire::Reader::Remaining(), profinet::wire::Reader::Skip(), profinet::wire::Reader::SkipTo(), and profinet::wire::Reader::U8().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderSkip | |||
| ) |
Definition at line 946 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), profinet::wire::Reader::Skip(), profinet::wire::Reader::U16(), and profinet::wire::Reader::U8().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderSkipTo | |||
| ) |
Definition at line 1004 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::SkipTo(), and profinet::wire::Reader::U16().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderSkipToMovesBackwards | |||
| ) |
Definition at line 1024 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Skip(), profinet::wire::Reader::SkipTo(), and profinet::wire::Reader::U16().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderSkipZero | |||
| ) |
Definition at line 971 of file test_wire.cpp.
References profinet::wire::Reader::Position(), profinet::wire::Reader::Remaining(), and profinet::wire::Reader::Skip().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReaderSpanConstructor | |||
| ) |
Definition at line 1164 of file test_wire.cpp.
References profinet::wire::Reader::Position(), and profinet::wire::Reader::U16().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireReaderTest | , |
| ReadLittleEndianMaximumU32 | |||
| ) |
Definition at line 617 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireReaderTest | , |
| ReadLittleEndianU16 | |||
| ) |
Definition at line 561 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireReaderTest | , |
| ReadLittleEndianU32 | |||
| ) |
Definition at line 572 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireReaderTest | , |
| ReadLittleEndianU64 | |||
| ) |
Definition at line 585 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireReaderTest | , |
| ReadLittleEndianU8 | |||
| ) |
Definition at line 553 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireReaderTest | , |
| ReadLittleEndianZero | |||
| ) |
Definition at line 604 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutBigEndianAppends | |||
| ) |
Definition at line 122 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutBigEndianMaximumU32 | |||
| ) |
Definition at line 104 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutBigEndianU16 | |||
| ) |
Definition at line 37 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutBigEndianU32 | |||
| ) |
Definition at line 48 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutBigEndianU64 | |||
| ) |
Definition at line 66 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutBigEndianU8 | |||
| ) |
Definition at line 26 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutBigEndianZero | |||
| ) |
Definition at line 87 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutBytes | |||
| ) |
Definition at line 347 of file test_wire.cpp.
References PutBytes().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireWriterTest | , |
| PutBytesZeroLength | |||
| ) |
Definition at line 370 of file test_wire.cpp.
References PutBytes().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireWriterTest | , |
| PutFixedArray | |||
| ) |
Definition at line 381 of file test_wire.cpp.
References PutFixed().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireWriterTest | , |
| PutFixedEmptyArray | |||
| ) |
Definition at line 403 of file test_wire.cpp.
References PutFixed().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireWriterTest | , |
| PutFixedEmptyString | |||
| ) |
Definition at line 465 of file test_wire.cpp.
References PutFixed().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireWriterTest | , |
| PutFixedEmptyVector | |||
| ) |
Definition at line 436 of file test_wire.cpp.
References PutFixed().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireWriterTest | , |
| PutFixedString | |||
| ) |
Definition at line 448 of file test_wire.cpp.
References PutFixed().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireWriterTest | , |
| PutFixedVector | |||
| ) |
Definition at line 414 of file test_wire.cpp.
References PutFixed().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireWriterTest | , |
| PutLittleEndianAppends | |||
| ) |
Definition at line 238 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutLittleEndianMaximumU32 | |||
| ) |
Definition at line 220 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutLittleEndianPointerU16 | |||
| ) |
Definition at line 259 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutLittleEndianPointerU32 | |||
| ) |
Definition at line 282 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutLittleEndianU16 | |||
| ) |
Definition at line 153 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutLittleEndianU32 | |||
| ) |
Definition at line 164 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutLittleEndianU64 | |||
| ) |
Definition at line 182 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutLittleEndianU8 | |||
| ) |
Definition at line 142 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutLittleEndianZero | |||
| ) |
Definition at line 203 of file test_wire.cpp.
| profinet::wire::TEST | ( | WireWriterTest | , |
| PutU16 | |||
| ) |
Definition at line 319 of file test_wire.cpp.
References PutU16().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireWriterTest | , |
| PutU32 | |||
| ) |
Definition at line 330 of file test_wire.cpp.
References PutU32().
Here is the call graph for this function:| profinet::wire::TEST | ( | WireWriterTest | , |
| PutU8 | |||
| ) |
Definition at line 308 of file test_wire.cpp.
References PutU8().
Here is the call graph for this function:
|
inlineconstexpr |
Definition at line 36 of file wire.h.
Referenced by PutBigEndian(), PutLittleEndian(), PutLittleEndian(), and ReadLittleEndian().