8#ifndef logger_types_telem_tcsi_focus_hpp
9#define logger_types_telem_tcsi_focus_hpp
uint16_t eventCodeT
The type of an event code (16-bit unsigned int).
msgLen2T msgLenT
The type used to refer to the message length, regardless of length.
int8_t logPrioT
The type of the log priority code.
static constexpr flatlogs::eventCodeT TELEM_TCSI_FOCUS
static constexpr logPrioT LOG_TELEM
A telemetry recording.
Focus offload-control telemetry.
static const flatlogs::logPrioT defaultLevel
The default level.
static timespec lastRecord
The time of the last time this log was recorded. Used by the telemetry system.
static const flatlogs::eventCodeT eventCode
The event code.
static std::string msgString(void *msgBuffer, flatlogs::msgLenT len)
Format the message for human consumption.
Shared base class for tcsInterface offload-control telemetry.
static std::string formatMsgString(const char *label, void *msgBuffer, flatlogs::msgLenT len)
Format a shared offload-control message body with a caller-supplied label.
Shared MagAO-X logger type for tcsInterface offload-control telemetry.