2#include "../../../../tests/catch2/catch.hpp"
3#include "../generated/logCodes.hpp"
4#include "../types/telem_rhusb.hpp"
5#include "../types/generated/telem_rhusb_generated.h"
6#include "../types/flatbuffer_log.hpp"
48 void* buffPtr = tr.builder.GetBufferPointer();
77 flatlogs::logHeader::createLog<MagAOX::logger::telem_rhusb>(logBuffer
85SCENARIO(
"Create telem_rhusb 0",
"[a log item]")
87 GIVEN(
"a telem_rhusb log code")
89 WHEN(
"random values for fields")
CTelemRhusb_0(float temp_, float rh_)
bool verify(const typename MagAOX::logger::telem_rhusb::messageT &msg)
int8_t logPrioT
The type of the log priority code.
std::shared_ptr< char > bufferPtrT
The log entry buffer smart pointer.
const MagAOX::logger::Telem_rhusb_fb * GetTelem_rhusb_fb(const void *buf)
static constexpr logPrioT LOG_DEFAULT
Used to denote "use the default level for this log type".
static flatlogs::msgLenT length(const fbMessage &msg)
Get the length of the message.
The type of the input message.
static bool verify(flatlogs::bufferPtrT &logBuff, flatlogs::msgLenT len)
A fixed-width timespec structure.
SCENARIO("Create telem_rhusb 0", "[a log item]")
const float telemRhusbTemp_0
const float telemRhusbRh_0