1#ifndef logger_logCodes_hpp
2#define logger_logCodes_hpp
80 if(cn ==
"git_state" )
84 else if(cn ==
"text_log" )
88 else if(cn ==
"user_log" )
92 else if(cn ==
"state_change" )
96 else if(cn ==
"software_log" )
100 else if(cn ==
"config_log" )
104 else if(cn ==
"indidriver_start" )
108 else if(cn ==
"indidriver_stop" )
112 else if(cn ==
"loop_closed" )
116 else if(cn ==
"loop_paused" )
120 else if(cn ==
"loop_open" )
124 else if(cn ==
"observer" )
128 else if(cn ==
"ao_operator" )
132 else if(cn ==
"pico_channel" )
136 else if(cn ==
"outlet_state" )
140 else if(cn ==
"outlet_channel_state" )
144 else if(cn ==
"telem_saving_state" )
148 else if(cn ==
"telem_fxngen" )
152 else if(cn ==
"ttmmod_params" )
156 else if(cn ==
"ocam_temps" )
160 else if(cn ==
"cred2_temps" )
164 else if(cn ==
"saving_start" )
168 else if(cn ==
"saving_stop" )
172 else if(cn ==
"telem_saving" )
176 else if(cn ==
"telem_telpos" )
180 else if(cn ==
"telem_teldata" )
184 else if(cn ==
"telem_telvane" )
188 else if(cn ==
"telem_telenv" )
192 else if(cn ==
"telem_telcat" )
196 else if(cn ==
"telem_telsee" )
200 else if(cn ==
"telem_tcsi_tiptilt" )
204 else if(cn ==
"telem_tcsi_focus" )
208 else if(cn ==
"telem_tcsi_labmode" )
212 else if(cn ==
"telem_stage" )
216 else if(cn ==
"telem_zaber" )
220 else if(cn ==
"telem_pico" )
224 else if(cn ==
"telem_position" )
228 else if(cn ==
"telem_psfacq" )
232 else if(cn ==
"telem_pokecenter" )
236 else if(cn ==
"telem_pokeloop" )
240 else if(cn ==
"telem_observer" )
244 else if(cn ==
"telem_rhusb" )
248 else if(cn ==
"telem_temps" )
252 else if(cn ==
"telem_stdcam" )
256 else if(cn ==
"telem_coretemps" )
260 else if(cn ==
"telem_coreloads" )
264 else if(cn ==
"telem_drivetemps" )
268 else if(cn ==
"telem_usage" )
272 else if(cn ==
"telem_cooler" )
276 else if(cn ==
"telem_chrony_status" )
280 else if(cn ==
"telem_chrony_stats" )
284 else if(cn ==
"telem_dmspeck" )
288 else if(cn ==
"telem_fgtimings" )
292 else if(cn ==
"telem_dmmodes" )
296 else if(cn ==
"telem_loopgain" )
300 else if(cn ==
"telem_modalgainopt" )
304 else if(cn ==
"telem_blockgains" )
308 else if(cn ==
"telem_offloading" )
312 else if(cn ==
"telem_w2tcsoffloader" )
316 else if(cn ==
"telem_flowrpm" )
320 else if(cn ==
"telem_pi335" )
324 else if(cn ==
"telem_sparkleclock" )
328 else if(cn ==
"telem_poltrack" )
332 else if(cn ==
"telem_adctrack" )
359 return "state_change";
363 return "software_log";
371 return "indidriver_start";
375 return "indidriver_stop";
379 return "loop_closed";
383 return "loop_paused";
395 return "ao_operator";
399 return "pico_channel";
403 return "outlet_state";
407 return "outlet_channel_state";
411 return "telem_saving_state";
415 return "telem_fxngen";
419 return "ttmmod_params";
427 return "cred2_temps";
431 return "saving_start";
435 return "saving_stop";
439 return "telem_saving";
443 return "telem_telpos";
447 return "telem_teldata";
451 return "telem_telvane";
455 return "telem_telenv";
459 return "telem_telcat";
463 return "telem_telsee";
467 return "telem_tcsi_tiptilt";
471 return "telem_tcsi_focus";
475 return "telem_tcsi_labmode";
479 return "telem_stage";
483 return "telem_zaber";
491 return "telem_position";
495 return "telem_psfacq";
499 return "telem_pokecenter";
503 return "telem_pokeloop";
507 return "telem_observer";
511 return "telem_rhusb";
515 return "telem_temps";
519 return "telem_stdcam";
523 return "telem_coretemps";
527 return "telem_coreloads";
531 return "telem_drivetemps";
535 return "telem_usage";
539 return "telem_cooler";
543 return "telem_chrony_status";
547 return "telem_chrony_stats";
551 return "telem_dmspeck";
555 return "telem_fgtimings";
559 return "telem_dmmodes";
563 return "telem_loopgain";
567 return "telem_modalgainopt";
571 return "telem_blockgains";
575 return "telem_offloading";
579 return "telem_w2tcsoffloader";
583 return "telem_flowrpm";
587 return "telem_pi335";
591 return "telem_sparkleclock";
595 return "telem_poltrack";
599 return "telem_adctrack";
603 return "unknown event code";
Flatlogs single include file.
uint16_t eventCodeT
The type of an event code (16-bit unsigned int).
static constexpr flatlogs::eventCodeT PICO_CHANNEL
static constexpr flatlogs::eventCodeT TELEM_USAGE
static constexpr flatlogs::eventCodeT TELEM_POLTRACK
static constexpr flatlogs::eventCodeT TELEM_DRIVETEMPS
static constexpr flatlogs::eventCodeT TELEM_POKECENTER
static constexpr flatlogs::eventCodeT SOFTWARE_LOG
static constexpr flatlogs::eventCodeT TELEM_W2TCSOFFLOADER
static constexpr flatlogs::eventCodeT INDIDRIVER_START
static constexpr flatlogs::eventCodeT TELEM_OFFLOADING
static constexpr flatlogs::eventCodeT TELEM_STAGE
static constexpr flatlogs::eventCodeT TELEM_RHUSB
static constexpr flatlogs::eventCodeT TELEM_TELENV
static constexpr flatlogs::eventCodeT TELEM_ADCTRACK
static constexpr flatlogs::eventCodeT TELEM_FGTIMINGS
static constexpr flatlogs::eventCodeT TELEM_TCSI_LABMODE
static constexpr flatlogs::eventCodeT TELEM_POSITION
static constexpr flatlogs::eventCodeT TELEM_TELVANE
static constexpr flatlogs::eventCodeT TELEM_POKELOOP
static constexpr flatlogs::eventCodeT INDIDRIVER_STOP
static constexpr flatlogs::eventCodeT TELEM_CHRONY_STATS
static constexpr flatlogs::eventCodeT TELEM_TCSI_FOCUS
static constexpr flatlogs::eventCodeT CONFIG_LOG
static constexpr flatlogs::eventCodeT TELEM_SAVING_STATE
static constexpr flatlogs::eventCodeT TELEM_SAVING
static constexpr flatlogs::eventCodeT LOOP_PAUSED
static constexpr flatlogs::eventCodeT USER_LOG
static constexpr flatlogs::eventCodeT TELEM_LOOPGAIN
static constexpr flatlogs::eventCodeT GIT_STATE
static constexpr flatlogs::eventCodeT TELEM_DMSPECK
static constexpr flatlogs::eventCodeT TELEM_MODALGAINOPT
static constexpr flatlogs::eventCodeT OUTLET_STATE
static constexpr flatlogs::eventCodeT TELEM_ZABER
static constexpr flatlogs::eventCodeT TELEM_COOLER
static constexpr flatlogs::eventCodeT TELEM_TCSI_TIPTILT
static constexpr flatlogs::eventCodeT TELEM_CORETEMPS
static constexpr flatlogs::eventCodeT TELEM_TELCAT
static constexpr flatlogs::eventCodeT OCAM_TEMPS
static constexpr flatlogs::eventCodeT TELEM_TELDATA
static constexpr flatlogs::eventCodeT SAVING_STOP
static constexpr flatlogs::eventCodeT LOOP_CLOSED
static constexpr flatlogs::eventCodeT TTMMOD_PARAMS
static constexpr flatlogs::eventCodeT TELEM_PI335
static constexpr flatlogs::eventCodeT TELEM_TELSEE
static constexpr flatlogs::eventCodeT AO_OPERATOR
static constexpr flatlogs::eventCodeT TELEM_TEMPS
static constexpr flatlogs::eventCodeT TELEM_CHRONY_STATUS
static constexpr flatlogs::eventCodeT TELEM_OBSERVER
static constexpr flatlogs::eventCodeT SAVING_START
static constexpr flatlogs::eventCodeT TELEM_SPARKLECLOCK
static constexpr flatlogs::eventCodeT CRED2_TEMPS
static constexpr flatlogs::eventCodeT TELEM_CORELOADS
static constexpr flatlogs::eventCodeT LOOP_OPEN
static constexpr flatlogs::eventCodeT TELEM_TELPOS
static constexpr flatlogs::eventCodeT STATE_CHANGE
static constexpr flatlogs::eventCodeT OBSERVER
static constexpr flatlogs::eventCodeT TELEM_PSFACQ
static constexpr flatlogs::eventCodeT TELEM_STDCAM
static constexpr flatlogs::eventCodeT TELEM_FLOWRPM
static constexpr flatlogs::eventCodeT TELEM_DMMODES
static constexpr flatlogs::eventCodeT TELEM_BLOCKGAINS
static constexpr flatlogs::eventCodeT OUTLET_CHANNEL_STATE
static constexpr flatlogs::eventCodeT TELEM_FXNGEN
static constexpr flatlogs::eventCodeT TEXT_LOG
static constexpr flatlogs::eventCodeT TELEM_PICO
static constexpr flatlogs::eventCodeT UNKNOWN
flatlogs::eventCodeT eventCode(const std::string &cn)
std::string eventCodeName(flatlogs::eventCodeT ec)