2#include "../../../../tests/catch2/catch.hpp"
3#include "../generated/logCodes.hpp"
4#include "../types/saving_stop.hpp"
5#include "../types/flatbuffer_log.hpp"
47 void* buffPtr = ss.builder.GetBufferPointer();
76 flatlogs::logHeader::createLog<MagAOX::logger::saving_stop>(logBuffer
84SCENARIO(
"Create saving_stop 0",
"[a log item]")
86 GIVEN(
"a saving_stop log code")
88 WHEN(
"random values for fields")
CSavingStop_0(int16_t state_, uint64_t frameNo_)
bool verify(const typename MagAOX::logger::saving_stop::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::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".
const uint64_t savingStopFrameNo_0
const int16_t savingStopState_0
SCENARIO("Create saving_stop 0", "[a log item]")
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.