2#include "../../../../tests/catch2/catch.hpp"
3#include "../generated/logCodes.hpp"
4#include "../types/telem_teldata.hpp"
5#include "../types/generated/telem_teldata_generated.h"
6#include "../types/flatbuffer_log.hpp"
63 CTelemTeldata_0(
int roi_,
int tracking_,
int guiding_,
int slewing_,
int guiderMoving_,
double az_,
double zd_,
double pa_,
double domeAz_,
int domeStat_) {
80 void* buffPtr = tt.builder.GetBufferPointer();
117 flatlogs::logHeader::createLog<MagAOX::logger::telem_teldata>(logBuffer
127 GIVEN(
"a telem_teldata log code")
129 WHEN(
"random values for fields")
CTelemTeldata_0(int roi_, int tracking_, int guiding_, int slewing_, int guiderMoving_, double az_, double zd_, double pa_, double domeAz_, int domeStat_)
bool verify(const typename MagAOX::logger::telem_teldata::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::Telem_teldata_fb * GetTelem_teldata_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 int telemTeldataGuiding_0
const int telemTeldataDomeStat_0
const int telemTeldataTracking_0
const double telemTeldataAz_0
const int telemTeldataGuiderMoving_0
const double telemTeldataZd_0
const int telemTeldataSlewing_0
const int telemTeldataRoi_0
SCENARIO("Create telem_teldata 0", "[a log item]")
const double telemTeldataPa_0
const double telemTeldataDomeAz_0