Defines a byte and bit position of an error in the diagnostic chunk. More...
#include <diagnostics.h>
Public Types | |
using | BitLocation = size_t |
using | ByteLocation = size_t |
Public Member Functions | |
constexpr BitLocation | bit () const |
constexpr ByteLocation | byte () const |
constexpr | ErrorLocation (const ByteLocation &byte, const BitLocation &bit) |
Private Attributes | |
BitLocation | bit_ |
ByteLocation | byte_ |
Defines a byte and bit position of an error in the diagnostic chunk.
The diagnostic chunk provided by the scanner when diagnostics are enabled in the ScannerConfiguration is a set of error bits stored in consecutive bytes.
This class helps defining the positions of those error bits.
Definition at line 148 of file diagnostics.h.
using psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorLocation::BitLocation = size_t |
Definition at line 152 of file diagnostics.h.
using psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorLocation::ByteLocation = size_t |
Definition at line 151 of file diagnostics.h.
|
inlineconstexpr |
Definition at line 153 of file diagnostics.h.
|
inlineconstexpr |
Definition at line 160 of file diagnostics.h.
|
inlineconstexpr |
Definition at line 155 of file diagnostics.h.
|
private |
Definition at line 167 of file diagnostics.h.
|
private |
Definition at line 163 of file diagnostics.h.