2#include "../../../../tests/catch2/catch.hpp"
3#include "../generated/logCodes.hpp"
4#include "../types/telem_saving_state.hpp"
5#include "../types/flatbuffer_log.hpp"
47 void* buffPtr = tss.builder.GetBufferPointer();
76 flatlogs::logHeader::createLog<MagAOX::logger::telem_saving_state>(logBuffer
84SCENARIO(
"Create telem_saving_state 0",
"[a log item]")
86 GIVEN(
"a telem_saving_state log code")
88 WHEN(
"random values for fields")
CTelemSavingState_0(int16_t state_, uint64_t frameNo_)
bool verify(const typename MagAOX::logger::telem_saving_state::messageT &msg)
uint64_t m_saveTssFrameNo
int8_t logPrioT
The type of the log priority code.
std::shared_ptr< char > bufferPtrT
The log entry buffer smart pointer.
const MagAOX::logger::Saving_state_change_fb * GetSaving_state_change_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.
static bool verify(flatlogs::bufferPtrT &logBuff, flatlogs::msgLenT len)
A fixed-width timespec structure.
SCENARIO("Create telem_saving_state 0", "[a log item]")
const uint64_t telemSavingStateFrameNo_0
const int16_t telemSavingStateState_0