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