2#include "../../../../tests/catch2/catch.hpp"
3#include "../generated/logCodes.hpp"
4#include "../types/telem_telpos.hpp"
5#include "../types/generated/telem_telpos_generated.h"
6#include "../types/flatbuffer_log.hpp"
54 CTelemTelpos_0(
double epoch_,
double ra_,
double dec_,
double el_,
double ha_,
double am_,
double rotoff_) {
68 void* buffPtr = tt.builder.GetBufferPointer();
102 flatlogs::logHeader::createLog<MagAOX::logger::telem_telpos>(logBuffer
112 GIVEN(
"a telem_telpos log code")
114 WHEN(
"random values for fields")
bool verify(const typename MagAOX::logger::telem_telpos::messageT &msg)
CTelemTelpos_0(double epoch_, double ra_, double dec_, double el_, double ha_, double am_, double rotoff_)
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_telpos_fb * GetTelem_telpos_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 telemTelposEl_0
const double telemTelposRotoff_0
const double telemTelposDec_0
const double telemTelposRa_0
const double telemTelposHa_0
SCENARIO("Create telem_telpos 0", "[a log item]")
const double telemTelposEpoch_0
const double telemTelposAm_0