2#include "../../../../tests/catch2/catch.hpp"
3#include "../generated/logCodes.hpp"
4#include "../types/telem_fgtimings.hpp"
5#include "../types/generated/telem_fgtimings_generated.h"
6#include "../types/flatbuffer_log.hpp"
51 CTelemFgtimings_0(
double atime_,
double atime_jitter_,
double wtime_,
double wtime_jitter_,
double mawtime_,
double mawtime_jitter_) {
64 void* buffPtr = tf.builder.GetBufferPointer();
97 flatlogs::logHeader::createLog<MagAOX::logger::telem_fgtimings>(logBuffer
105SCENARIO(
"Create telem_fgtimings 0",
"[a log item]")
107 GIVEN(
"a telem_fgtimings log code")
109 WHEN(
"random values for fields")
double m_saveTfMawtime_jitter
double m_saveTfAtime_jitter
bool verify(const typename MagAOX::logger::telem_fgtimings::messageT &msg)
double m_saveTfWtime_jitter
CTelemFgtimings_0(double atime_, double atime_jitter_, double wtime_, double wtime_jitter_, double mawtime_, double mawtime_jitter_)
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_fgtimings_fb * GetTelem_fgtimings_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.
const double telemFgtimingsAtime_jitter_0
SCENARIO("Create telem_fgtimings 0", "[a log item]")
const double telemFgtimingsMawtime_0
const double telemFgtimingsAtime_0
const double telemFgtimingsWtime_0
const double telemFgtimingsWtime_jitter_0
const double telemFgtimingsMawtime_jitter_0