17#ifndef LogServerTypes_H_
18#define LogServerTypes_H_
27 namespace LogServerTypes
29 const uint32_t MAGICNUM = 20201222;
48 cmdViewDefaultLogLevel,
56 std::ostream& operator<<(std::ostream& os, Command c );
61 explicit lsMessage( Command c, uint32_t d,
const std::string& logname );
68 static const size_t MAXLOGNAME = 120;
69 char logname[MAXLOGNAME + 1];
71 void setLogName(
const std::string& name );
72 void convertFromNet()
noexcept;
77 } __attribute__((packed));
79 std::ostream& operator<<(std::ostream& os,
const lsMessage& m );
89 std::vector<lsMessage> getCommands(
const std::string& cmd );
Definition Calibration.h:27
Definition LogServerTypes.h:59