2#include "../../../../tests/catch2/catch.hpp"
3#include "../generated/logCodes.hpp"
4#include "../types/telem_loopgain.hpp"
5#include "../types/generated/telem_loopgain_generated.h"
6#include "../types/flatbuffer_log.hpp"
56 void* buffPtr = tl.builder.GetBufferPointer();
87 flatlogs::logHeader::createLog<MagAOX::logger::telem_loopgain>(logBuffer
95SCENARIO(
"Create telem_loopgain 0",
"[a log item]")
97 GIVEN(
"a telem_loopgain log code")
99 WHEN(
"random values for fields")
bool verify(const typename MagAOX::logger::telem_loopgain::messageT &msg)
CTelemLoopgain_0(uint8_t state_, float gain_, float multcoef_, float limit_)
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_loopgain_fb * GetTelem_loopgain_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 float telemLoopgainLimit_0
const float telemLoopgainGain_0
const float telemLoopgainMultcoef_0
SCENARIO("Create telem_loopgain 0", "[a log item]")
const uint8_t telemLoopgainState_0