API
MagAOX::logger::indidriver_stop Struct Reference

INDI Driver Start log entry. More...

#include <indidriver_stop.hpp>

Inheritance diagram for MagAOX::logger::indidriver_stop:
Inheritance graph
Collaboration diagram for MagAOX::logger::indidriver_stop:
Collaboration graph

Public Types

typedef emptyMessage messageT
 The type of the message. More...
 

Static Public Member Functions

static const char * msg ()
 The message string. More...
 
static flatlogs::msgLenT length (const messageT &msg)
 Get the length of the message. More...
 
static int format (void *msgBuffer, const messageT &msg)
 Format the buffer given a message – a no-op since the message is an emptyMessage. More...
 
static int extract (messageT &msg, void *msgBuffer, flatlogs::msgLenT len)
 Extract the message from a buffer – a no-op since it is an emptyMessage. More...
 
static bool verify (flatlogs::bufferPtrT &logBuff, flatlogs::msgLenT len)
 
static std::string msgString (void *msgBuffer, flatlogs::msgLenT len)
 
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::INDIDRIVER_STOP
 The event code. More...
 
static const flatlogs::logPrioT defaultLevel = flatlogs::logPrio::LOG_INFO
 The default level. More...
 

Detailed Description

INDI Driver Start log entry.

Definition at line 23 of file indidriver_stop.hpp.

Member Typedef Documentation

◆ messageT

The type of the message.

Definition at line 40 of file empty_log.hpp.

Member Function Documentation

◆ extract()

static int MagAOX::logger::empty_log< indidriver_stop >::extract ( messageT msg,
void *  msgBuffer,
flatlogs::msgLenT  len 
)
inlinestaticinherited

Extract the message from a buffer – a no-op since it is an emptyMessage.

Returns
0
Parameters
[out]msgan emptyMessage to which nothing is done.
[in]msgBufferthe empty buffer. Is ignored.
[in]lenignored length of the empty buffer.

Definition at line 68 of file empty_log.hpp.

◆ format()

static int MagAOX::logger::empty_log< indidriver_stop >::format ( void *  msgBuffer,
const messageT msg 
)
inlinestaticinherited

Format the buffer given a message – a no-op since the message is an emptyMessage.

Returns
0
Parameters
[out]msgBufferthe buffer, which is ignored.
[in]msgan emptyMessage.

Definition at line 54 of file empty_log.hpp.

◆ length()

static flatlogs::msgLenT MagAOX::logger::empty_log< indidriver_stop >::length ( const messageT msg)
inlinestaticinherited

Get the length of the message.

Definition at line 43 of file empty_log.hpp.

◆ msg()

static const char* MagAOX::logger::indidriver_stop::msg ( )
inlinestatic

The message string.

Definition at line 32 of file indidriver_stop.hpp.

◆ msgJSON()

static std::string MagAOX::logger::empty_log< indidriver_stop >::msgJSON ( void *  msgBuffer,
flatlogs::msgLenT  len,
const uint8_t *  binarySchema,
const unsigned int  binarySchemaLength 
)
inlinestaticinherited
Parameters
[in]msgBufferBuffer containing the flatbuffer serialized message.
[in]len[unused] length of msgBuffer.
[in]binarySchema[unused]
[in]binarySchemaLength[unused]

Definition at line 97 of file empty_log.hpp.

◆ msgString()

static std::string MagAOX::logger::empty_log< indidriver_stop >::msgString ( void *  msgBuffer,
flatlogs::msgLenT  len 
)
inlinestaticinherited

Definition at line 89 of file empty_log.hpp.

◆ verify()

static bool MagAOX::logger::empty_log< indidriver_stop >::verify ( flatlogs::bufferPtrT logBuff,
flatlogs::msgLenT  len 
)
inlinestaticinherited
Parameters
[in]logBuffBuffer containing the flatbuffer serialized message.
[in]lenlength of msgBuffer.

Definition at line 81 of file empty_log.hpp.

Member Data Documentation

◆ defaultLevel

const flatlogs::logPrioT MagAOX::logger::indidriver_stop::defaultLevel = flatlogs::logPrio::LOG_INFO
static

The default level.

Definition at line 29 of file indidriver_stop.hpp.

◆ eventCode

const flatlogs::eventCodeT MagAOX::logger::indidriver_stop::eventCode = eventCodes::INDIDRIVER_STOP
static

The event code.

Definition at line 26 of file indidriver_stop.hpp.


The documentation for this struct was generated from the following file: