1#ifndef logger_logCodes_hpp
2#define logger_logCodes_hpp
69 if(cn ==
"git_state" )
73 else if(cn ==
"text_log" )
77 else if(cn ==
"user_log" )
81 else if(cn ==
"state_change" )
85 else if(cn ==
"software_log" )
89 else if(cn ==
"config_log" )
93 else if(cn ==
"indidriver_start" )
97 else if(cn ==
"indidriver_stop" )
101 else if(cn ==
"loop_closed" )
105 else if(cn ==
"loop_paused" )
109 else if(cn ==
"loop_open" )
113 else if(cn ==
"observer" )
117 else if(cn ==
"ao_operator" )
121 else if(cn ==
"pico_channel" )
125 else if(cn ==
"outlet_state" )
129 else if(cn ==
"outlet_channel_state" )
133 else if(cn ==
"telem_saving_state" )
137 else if(cn ==
"telem_fxngen" )
141 else if(cn ==
"ttmmod_params" )
145 else if(cn ==
"ocam_temps" )
149 else if(cn ==
"saving_start" )
153 else if(cn ==
"saving_stop" )
157 else if(cn ==
"telem_saving" )
161 else if(cn ==
"telem_telpos" )
165 else if(cn ==
"telem_teldata" )
169 else if(cn ==
"telem_telvane" )
173 else if(cn ==
"telem_telenv" )
177 else if(cn ==
"telem_telcat" )
181 else if(cn ==
"telem_telsee" )
185 else if(cn ==
"telem_stage" )
189 else if(cn ==
"telem_zaber" )
193 else if(cn ==
"telem_pico" )
197 else if(cn ==
"telem_position" )
201 else if(cn ==
"telem_pokecenter" )
205 else if(cn ==
"telem_pokeloop" )
209 else if(cn ==
"telem_observer" )
213 else if(cn ==
"telem_rhusb" )
217 else if(cn ==
"telem_temps" )
221 else if(cn ==
"telem_stdcam" )
225 else if(cn ==
"telem_coretemps" )
229 else if(cn ==
"telem_coreloads" )
233 else if(cn ==
"telem_drivetemps" )
237 else if(cn ==
"telem_usage" )
241 else if(cn ==
"telem_cooler" )
245 else if(cn ==
"telem_chrony_status" )
249 else if(cn ==
"telem_chrony_stats" )
253 else if(cn ==
"telem_dmspeck" )
257 else if(cn ==
"telem_fgtimings" )
261 else if(cn ==
"telem_dmmodes" )
265 else if(cn ==
"telem_loopgain" )
269 else if(cn ==
"telem_blockgains" )
273 else if(cn ==
"telem_pi335" )
277 else if(cn ==
"telem_sparkleclock" )
304 return "state_change";
308 return "software_log";
316 return "indidriver_start";
320 return "indidriver_stop";
324 return "loop_closed";
328 return "loop_paused";
340 return "ao_operator";
344 return "pico_channel";
348 return "outlet_state";
352 return "outlet_channel_state";
356 return "telem_saving_state";
360 return "telem_fxngen";
364 return "ttmmod_params";
372 return "saving_start";
376 return "saving_stop";
380 return "telem_saving";
384 return "telem_telpos";
388 return "telem_teldata";
392 return "telem_telvane";
396 return "telem_telenv";
400 return "telem_telcat";
404 return "telem_telsee";
408 return "telem_stage";
412 return "telem_zaber";
420 return "telem_position";
424 return "telem_pokecenter";
428 return "telem_pokeloop";
432 return "telem_observer";
436 return "telem_rhusb";
440 return "telem_temps";
444 return "telem_stdcam";
448 return "telem_coretemps";
452 return "telem_coreloads";
456 return "telem_drivetemps";
460 return "telem_usage";
464 return "telem_cooler";
468 return "telem_chrony_status";
472 return "telem_chrony_stats";
476 return "telem_dmspeck";
480 return "telem_fgtimings";
484 return "telem_dmmodes";
488 return "telem_loopgain";
492 return "telem_blockgains";
496 return "telem_pi335";
500 return "telem_sparkleclock";
504 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_DRIVETEMPS
static constexpr flatlogs::eventCodeT TELEM_POKECENTER
static constexpr flatlogs::eventCodeT SOFTWARE_LOG
static constexpr flatlogs::eventCodeT INDIDRIVER_START
static constexpr flatlogs::eventCodeT TELEM_STAGE
static constexpr flatlogs::eventCodeT TELEM_RHUSB
static constexpr flatlogs::eventCodeT TELEM_TELENV
static constexpr flatlogs::eventCodeT TELEM_FGTIMINGS
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 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 OUTLET_STATE
static constexpr flatlogs::eventCodeT TELEM_ZABER
static constexpr flatlogs::eventCodeT TELEM_COOLER
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 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_STDCAM
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)