1#ifndef logger_logCodes_hpp
2#define logger_logCodes_hpp
71 if(cn ==
"git_state" )
75 else if(cn ==
"text_log" )
79 else if(cn ==
"user_log" )
83 else if(cn ==
"state_change" )
87 else if(cn ==
"software_log" )
91 else if(cn ==
"config_log" )
95 else if(cn ==
"indidriver_start" )
99 else if(cn ==
"indidriver_stop" )
103 else if(cn ==
"loop_closed" )
107 else if(cn ==
"loop_paused" )
111 else if(cn ==
"loop_open" )
115 else if(cn ==
"observer" )
119 else if(cn ==
"ao_operator" )
123 else if(cn ==
"pico_channel" )
127 else if(cn ==
"outlet_state" )
131 else if(cn ==
"outlet_channel_state" )
135 else if(cn ==
"telem_saving_state" )
139 else if(cn ==
"telem_fxngen" )
143 else if(cn ==
"ttmmod_params" )
147 else if(cn ==
"ocam_temps" )
151 else if(cn ==
"saving_start" )
155 else if(cn ==
"saving_stop" )
159 else if(cn ==
"telem_saving" )
163 else if(cn ==
"telem_telpos" )
167 else if(cn ==
"telem_teldata" )
171 else if(cn ==
"telem_telvane" )
175 else if(cn ==
"telem_telenv" )
179 else if(cn ==
"telem_telcat" )
183 else if(cn ==
"telem_telsee" )
187 else if(cn ==
"telem_stage" )
191 else if(cn ==
"telem_zaber" )
195 else if(cn ==
"telem_pico" )
199 else if(cn ==
"telem_position" )
203 else if(cn ==
"telem_pokecenter" )
207 else if(cn ==
"telem_pokeloop" )
211 else if(cn ==
"telem_observer" )
215 else if(cn ==
"telem_rhusb" )
219 else if(cn ==
"telem_temps" )
223 else if(cn ==
"telem_stdcam" )
227 else if(cn ==
"telem_coretemps" )
231 else if(cn ==
"telem_coreloads" )
235 else if(cn ==
"telem_drivetemps" )
239 else if(cn ==
"telem_usage" )
243 else if(cn ==
"telem_cooler" )
247 else if(cn ==
"telem_chrony_status" )
251 else if(cn ==
"telem_chrony_stats" )
255 else if(cn ==
"telem_dmspeck" )
259 else if(cn ==
"telem_fgtimings" )
263 else if(cn ==
"telem_dmmodes" )
267 else if(cn ==
"telem_loopgain" )
271 else if(cn ==
"telem_blockgains" )
275 else if(cn ==
"telem_offloading" )
279 else if(cn ==
"telem_pi335" )
283 else if(cn ==
"telem_sparkleclock" )
287 else if(cn ==
"telem_poltrack" )
314 return "state_change";
318 return "software_log";
326 return "indidriver_start";
330 return "indidriver_stop";
334 return "loop_closed";
338 return "loop_paused";
350 return "ao_operator";
354 return "pico_channel";
358 return "outlet_state";
362 return "outlet_channel_state";
366 return "telem_saving_state";
370 return "telem_fxngen";
374 return "ttmmod_params";
382 return "saving_start";
386 return "saving_stop";
390 return "telem_saving";
394 return "telem_telpos";
398 return "telem_teldata";
402 return "telem_telvane";
406 return "telem_telenv";
410 return "telem_telcat";
414 return "telem_telsee";
418 return "telem_stage";
422 return "telem_zaber";
430 return "telem_position";
434 return "telem_pokecenter";
438 return "telem_pokeloop";
442 return "telem_observer";
446 return "telem_rhusb";
450 return "telem_temps";
454 return "telem_stdcam";
458 return "telem_coretemps";
462 return "telem_coreloads";
466 return "telem_drivetemps";
470 return "telem_usage";
474 return "telem_cooler";
478 return "telem_chrony_status";
482 return "telem_chrony_stats";
486 return "telem_dmspeck";
490 return "telem_fgtimings";
494 return "telem_dmmodes";
498 return "telem_loopgain";
502 return "telem_blockgains";
506 return "telem_offloading";
510 return "telem_pi335";
514 return "telem_sparkleclock";
518 return "telem_poltrack";
522 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 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_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)