A class that does the message deserialization.
More...
#include <messageserializer.h>
A class that does the message deserialization.
Definition at line 149 of file messageserializer.h.
◆ MessageDeserializer()
MessageDeserializer::MessageDeserializer |
( |
const XsMessage & |
message, |
|
|
XsSize |
offset = 0 |
|
) |
| |
◆ ~MessageDeserializer()
MessageDeserializer::~MessageDeserializer |
( |
| ) |
|
|
virtual |
◆ atEnd()
bool MessageDeserializer::atEnd |
( |
| ) |
const |
Checks if we are at the end of message.
- Returns
- true if we are at the end.
Definition at line 430 of file messageserializer.cpp.
◆ index()
XsSize MessageDeserializer::index |
( |
| ) |
const |
|
inline |
◆ message()
const XsMessage& MessageDeserializer::message |
( |
| ) |
const |
|
inline |
◆ operator>>() [1/16]
Input stream operator that takes a int16_t from the stream.
- Parameters
-
value | Reference in which the read value is stored |
- Returns
- A reference to this object
Definition at line 187 of file messageserializer.h.
◆ operator>>() [2/16]
Input stream operator that takes a int32_t from the stream.
- Parameters
-
value | Reference in which the read value is stored |
- Returns
- A reference to this object
Definition at line 178 of file messageserializer.h.
◆ operator>>() [3/16]
Input stream operator that takes a int64_t from the stream.
- Parameters
-
value | Reference in which the read value is stored |
- Returns
- A reference to this object
Definition at line 169 of file messageserializer.h.
◆ operator>>() [4/16]
Input stream operator that takes a int8_t from the stream.
- Parameters
-
value | Reference in which the read value is stored |
- Returns
- A reference to this object
Definition at line 337 of file messageserializer.cpp.
◆ operator>>() [5/16]
Input stream operator that takes a uint16_t from the stream.
- Parameters
-
value | Reference in which the read value is stored |
- Returns
- A reference to this object
Definition at line 348 of file messageserializer.cpp.
◆ operator>>() [6/16]
Input stream operator that takes a uint32_t from the stream.
- Parameters
-
value | Reference in which the read value is stored |
- Returns
- A reference to this object
Definition at line 359 of file messageserializer.cpp.
◆ operator>>() [7/16]
Input stream operator that takes a uint64_t from the stream.
- Parameters
-
value | Reference in which the read value is stored |
- Returns
- A reference to this object
Definition at line 370 of file messageserializer.cpp.
◆ operator>>() [8/16]
Input stream operator that takes a uint8_t from the stream.
- Parameters
-
value | Reference in which the read value is stored |
- Returns
- A reference to this object
Definition at line 326 of file messageserializer.cpp.
◆ operator>>() [9/16]
Input stream operator that takes a XsCanDataIdentifier from the stream.
- Parameters
-
value | Reference in which the CAN data identifier is stored |
- Returns
- A reference to this object
Definition at line 282 of file messageserializer.cpp.
◆ operator>>() [10/16]
Input stream operator that takes a XsCanIdLength from the stream.
- Parameters
-
value | Reference in which the CAN ID length is stored |
- Returns
- A reference to this object
Definition at line 294 of file messageserializer.cpp.
◆ operator>>() [11/16]
◆ operator>>() [12/16]
◆ operator>>() [13/16]
Input stream operator that takes a XsDataIdentifier from the stream.
- Parameters
-
value | Reference in which the data identifier is stored |
- Returns
- A reference to this object
Definition at line 270 of file messageserializer.cpp.
◆ operator>>() [14/16]
Input stream operator that takes a XsDeviceId from the stream.
- Parameters
-
value | Reference in which the device ID is stored |
- Returns
- A reference to this object
Definition at line 306 of file messageserializer.cpp.
◆ operator>>() [15/16]
Input stream operator that takes a XsOutputConfiguration from the stream.
- Parameters
-
cfg | Reference in which the output configuration is stored |
- Returns
- A reference to this object
Definition at line 397 of file messageserializer.cpp.
◆ operator>>() [16/16]
◆ m_index
XsSize MessageDeserializer::m_index |
|
private |
◆ m_message
const XsMessage& MessageDeserializer::m_message |
|
private |
The documentation for this class was generated from the following files: