2#include "../../../../tests/catch2/catch.hpp"
3#include "../generated/logCodes.hpp"
4#include "../types/telem_offloading.hpp"
5#include "../types/generated/telem_offloading_generated.h"
6#include "../types/flatbuffer_log.hpp"
52 void* buffPtr = to.builder.GetBufferPointer();
82 flatlogs::logHeader::createLog<MagAOX::logger::telem_offloading>(logBuffer
90SCENARIO(
"Create telem_offloading 0",
"[a log item]")
92 GIVEN(
"a telem_offloading log code")
94 WHEN(
"random values for fields")
CTelemOffloading_0(uint32_t num_modes_, uint32_t num_average_, float fps_)
uint32_t m_saveToNum_average
uint32_t m_saveToNum_modes
bool verify(const typename MagAOX::logger::telem_offloading::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_offloading_fb * GetTelem_offloading_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_offloading 0", "[a log item]")
const float telemOffloadingFps_0
const uint32_t telemOffloadingNum_modes_0
const uint32_t telemOffloadingNum_average_0