Class to read out KVH Sensors.
More...
|
std::unique_ptr< uart::protocol::Packet > | findPacket (uint8_t dataByte) |
| Collects data bytes and searches for packages inside of them.
|
|
| KvhUartSensor ()=default |
| Default constructor.
|
|
| KvhUartSensor (const KvhUartSensor &)=delete |
| Copy constructor.
|
|
| KvhUartSensor (KvhUartSensor &&)=delete |
| Move constructor.
|
|
| KvhUartSensor (std::string name) |
| Constructor.
|
|
uart::sensors::UartSensor * | operator-> () |
| Arrow operator overload.
|
|
KvhUartSensor & | operator= (const KvhUartSensor &)=delete |
| Copy assignment operator.
|
|
KvhUartSensor & | operator= (KvhUartSensor &&)=delete |
| Move assignment operator.
|
|
| ~KvhUartSensor ()=default |
| Destructor.
|
|
|
static constexpr uart::Endianness | ENDIANNESS |
| Endianess of the sensor.
|
|
static constexpr uint32_t | HEADER_FMT_A |
| Header Format A.
|
|
static constexpr uint32_t | HEADER_FMT_B |
| Header Format B.
|
|
static constexpr uint32_t | HEADER_FMT_C |
| Header Format C.
|
|
static constexpr uint32_t | HEADER_FMT_XBIT |
| Header Format X Bit.
|
|
static constexpr uint32_t | HEADER_FMT_XBIT2 |
| Header Format X Bit 2.
|
|
Class to read out KVH Sensors.
◆ KvhUartSensor()
NAV::vendor::kvh::KvhUartSensor::KvhUartSensor |
( |
std::string | name | ) |
|
|
explicit |
Constructor.
- Parameters
-
[in] | name | Name of the Parent Node |
◆ findPacket()
std::unique_ptr< uart::protocol::Packet > NAV::vendor::kvh::KvhUartSensor::findPacket |
( |
uint8_t | dataByte | ) |
|
Collects data bytes and searches for packages inside of them.
- Parameters
-
[in] | dataByte | The next data byte |
- Returns
- nullptr if no packet found yet, otherwise a pointer to the packet
The documentation for this class was generated from the following file: