Log entry recording the build-time git state. More...
#include <telem_telpos.hpp>


Classes | |
| struct | messageT |
| The type of the input message. More... | |
Public Types | |
| enum | member { em_epoch , em_ra , em_dec , em_el , em_ha , em_am , em_rotoff } |
Static Public Member Functions | |
| static bool | verify (flatlogs::bufferPtrT &logBuff, flatlogs::msgLenT len) |
| static std::string | msgString (void *msgBuffer, flatlogs::msgLenT len) |
| Get the message formatte for human consumption. | |
| static double | epoch (void *msgBuffer) |
| static double | ra (void *msgBuffer) |
| static double | dec (void *msgBuffer) |
| static double | el (void *msgBuffer) |
| static double | ha (void *msgBuffer) |
| static double | am (void *msgBuffer) |
| static double | ro (void *msgBuffer) |
| static logMetaDetail | getAccessor (const std::string &member) |
| Get the logMetaDetail for a member by name. | |
| static flatlogs::msgLenT | length (const fbMessage &msg) |
| Get the length of the message. | |
| static int | format (void *msgBuffer, const fbMessage &msg) |
| Format the buffer given the input message. | |
| static std::string | msgJSON (void *msgBuffer, flatlogs::msgLenT len, const uint8_t *binarySchema, const unsigned int binarySchemaLength) |
Static Public Attributes | |
| static const flatlogs::eventCodeT | eventCode = eventCodes::TELEM_TELPOS |
| The event code. | |
| static const flatlogs::logPrioT | defaultLevel = flatlogs::logPrio::LOG_TELEM |
| The default level. | |
| static timespec | lastRecord = { 0, 0 } |
| The time of the last time this log was recorded. Used by the telemetry system. | |
Log entry recording the build-time git state.
Definition at line 27 of file telem_telpos.hpp.
| Enumerator | |
|---|---|
| em_epoch | |
| em_ra | |
| em_dec | |
| em_el | |
| em_ha | |
| em_am | |
| em_rotoff | |
Definition at line 37 of file telem_telpos.hpp.
|
inlinestatic |
Definition at line 133 of file telem_telpos.hpp.
References MagAOX::logger::GetTelem_telpos_fb().
Referenced by MagAOX::logger::telem_telpos::messageT::messageT(), and getAccessor().
|
inlinestatic |
Definition at line 115 of file telem_telpos.hpp.
References MagAOX::logger::GetTelem_telpos_fb().
Referenced by MagAOX::logger::telem_telpos::messageT::messageT(), and getAccessor().
|
inlinestatic |
Definition at line 121 of file telem_telpos.hpp.
References MagAOX::logger::GetTelem_telpos_fb().
Referenced by MagAOX::logger::telem_telpos::messageT::messageT(), and getAccessor().
|
inlinestatic |
Definition at line 103 of file telem_telpos.hpp.
References MagAOX::logger::GetTelem_telpos_fb().
Referenced by MagAOX::logger::telem_telpos::messageT::messageT(), and getAccessor().
|
inlinestaticinherited |
Format the buffer given the input message.
| [out] | msgBuffer | the buffer, must be pre-allocated to size length(msg) |
| [in] | msg | the message which contains a flatbuffer builder, from which the data are memcpy-ed. |
Definition at line 54 of file flatbuffer_log.hpp.
|
inlinestatic |
Get the logMetaDetail for a member by name.
| [in] | member | the name of the member |
Definition at line 151 of file telem_telpos.hpp.
References am(), MagAOX::logger::logMeta::Continuous, dec(), MagAOX::logger::logMeta::Double, el(), epoch(), ha(), ra(), and ro().
Referenced by MagAOX::logger::logMemberAccessor(), and libXWCTest::loggerTest::logTypeAccessorTest::TEST_CASE().
|
inlinestatic |
Definition at line 127 of file telem_telpos.hpp.
References MagAOX::logger::GetTelem_telpos_fb().
Referenced by MagAOX::logger::telem_telpos::messageT::messageT(), and getAccessor().
|
inlinestaticinherited |
Get the length of the message.
| [in] | msg | the fbMessage type holding a FlatBufferBuilder |
Definition at line 46 of file flatbuffer_log.hpp.
|
inlinestaticinherited |
| [in] | msgBuffer | Buffer containing the flatbuffer serialized message. |
| [in] | len | [unused] length of msgBuffer. |
| [in] | binarySchema | flatbuffers binary schema for this log type |
| [in] | binarySchemaLength | flatbuffers binary schema length |
Definition at line 65 of file flatbuffer_log.hpp.
|
inlinestatic |
Get the message formatte for human consumption.
| [in] | msgBuffer | Buffer containing the flatbuffer serialized message. |
| [in] | len | [unused] length of msgBuffer. |
Definition at line 68 of file telem_telpos.hpp.
References MagAOX::logger::GetTelem_telpos_fb().
|
inlinestatic |
Definition at line 109 of file telem_telpos.hpp.
References MagAOX::logger::GetTelem_telpos_fb().
Referenced by MagAOX::logger::telem_telpos::messageT::messageT(), and getAccessor().
|
inlinestatic |
Definition at line 139 of file telem_telpos.hpp.
References MagAOX::logger::GetTelem_telpos_fb().
Referenced by getAccessor().
|
inlinestatic |
| [in] | logBuff | Buffer containing the flatbuffer serialized message. |
| [in] | len | length of msgBuffer. |
Definition at line 59 of file telem_telpos.hpp.
References flatlogs::logHeader::messageBuffer(), and MagAOX::logger::VerifyTelem_telpos_fbBuffer().
Referenced by MagAOX::logger::logVerify().
|
static |
The default level.
Definition at line 33 of file telem_telpos.hpp.
|
static |
The event code.
Definition at line 30 of file telem_telpos.hpp.
|
static |
The time of the last time this log was recorded. Used by the telemetry system.
Definition at line 35 of file telem_telpos.hpp.