Log entry recording the build-time git state.
More...
#include <ocam_temps.hpp>
Log entry recording the build-time git state.
Definition at line 25 of file ocam_temps.hpp.
◆ bias()
| static float MagAOX::logger::ocam_temps::bias |
( |
void * |
msgBuffer | ) |
|
|
inlinestatic |
◆ ccd()
| static float MagAOX::logger::ocam_temps::ccd |
( |
void * |
msgBuffer | ) |
|
|
inlinestatic |
◆ cooling()
| static float MagAOX::logger::ocam_temps::cooling |
( |
void * |
msgBuffer | ) |
|
|
inlinestatic |
◆ cpu()
| static float MagAOX::logger::ocam_temps::cpu |
( |
void * |
msgBuffer | ) |
|
|
inlinestatic |
◆ format()
| static int MagAOX::logger::flatbuffer_log::format |
( |
void * |
msgBuffer, |
|
|
const fbMessage & |
msg |
|
) |
| |
|
inlinestaticinherited |
Format the buffer given the input message.
- Todo:
- this is an unneccesary memcpy from the FlatBufferBuilder, we need to figure out how to not do this.
- Parameters
-
| [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.
◆ getAccessor()
| static logMetaDetail MagAOX::logger::ocam_temps::getAccessor |
( |
const std::string & |
member | ) |
|
|
inlinestatic |
Get the logMetaDetail for a member by name.
- Returns
- the a logMetaDetail filled in with the appropriate details
-
an empty logMetaDetail if member not recognized
- Parameters
-
| [in] | member | the name of the member |
Definition at line 153 of file ocam_temps.hpp.
References bias(), ccd(), MagAOX::logger::logMeta::Continuous, cooling(), cpu(), MagAOX::logger::logMeta::Float, left(), power(), right(), and water().
Referenced by MagAOX::logger::logMemberAccessor(), and libXWCTest::loggerTest::logTypeAccessorTest::TEST_CASE().
◆ left()
| static float MagAOX::logger::ocam_temps::left |
( |
void * |
msgBuffer | ) |
|
|
inlinestatic |
◆ length()
Get the length of the message.
- Parameters
-
| [in] | msg | the fbMessage type holding a FlatBufferBuilder |
Definition at line 46 of file flatbuffer_log.hpp.
◆ msgJSON()
| static std::string MagAOX::logger::flatbuffer_log::msgJSON |
( |
void * |
msgBuffer, |
|
|
flatlogs::msgLenT |
len, |
|
|
const uint8_t * |
binarySchema, |
|
|
const unsigned int |
binarySchemaLength |
|
) |
| |
|
inlinestaticinherited |
- Parameters
-
| [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.
◆ msgString()
| static std::string MagAOX::logger::ocam_temps::msgString |
( |
void * |
msgBuffer, |
|
|
flatlogs::msgLenT |
len |
|
) |
| |
|
inlinestatic |
Get the message formatte for human consumption.
- Parameters
-
| [in] | msgBuffer | Buffer containing the flatbuffer serialized message. |
| [in] | len | [unused] length of msgBuffer. |
Definition at line 64 of file ocam_temps.hpp.
References MagAOX::logger::GetOcam_temps_fb().
◆ power()
| static float MagAOX::logger::ocam_temps::power |
( |
void * |
msgBuffer | ) |
|
|
inlinestatic |
◆ right()
| static float MagAOX::logger::ocam_temps::right |
( |
void * |
msgBuffer | ) |
|
|
inlinestatic |
◆ verify()
◆ water()
| static float MagAOX::logger::ocam_temps::water |
( |
void * |
msgBuffer | ) |
|
|
inlinestatic |
◆ defaultLevel
◆ eventCode
◆ lastRecord
| timespec MagAOX::logger::ocam_temps::lastRecord = { 0, 0 } |
|
static |
The documentation for this struct was generated from the following files: