1 #ifndef EMPLOY_SERVER_INFO_H 2 #define EMPLOY_SERVER_INFO_H 12 static std::string
name() {
return "EmployServerInfo"; }
14 virtual bool deinit()
override;
43 #endif // EMPLOY_SERVER_INFO_H std::string TAG
Definition: employ_server_info.h:36
void serverStarted()
Definition: employ_server_info.cpp:115
static std::string name()
Definition: employ_server_info.h:12
int countQuestsAttempt()
Definition: employ_server_info.cpp:136
long m_dtServerStarted
Definition: employ_server_info.h:37
void incrementQuestsCompleted()
Definition: employ_server_info.cpp:166
void incrementQuestsAttempt()
Definition: employ_server_info.cpp:160
int m_nCountQuests
Definition: employ_server_info.h:38
int countQuests()
Definition: employ_server_info.cpp:130
long getServerStart()
Definition: employ_server_info.cpp:124
int m_nCountQuestsAttempt
Definition: employ_server_info.h:39
void incrementQuests()
Definition: employ_server_info.cpp:148
nlohmann::json toJson()
Definition: employ_server_info.cpp:104
nlohmann::json developers()
Definition: employ_server_info.cpp:172
int m_nCountQuestsCompleted
Definition: employ_server_info.h:40
Definition: employ_server_info.h:9
void incrementRequests(const std::string &cmd)
Definition: employ_server_info.cpp:93
Definition: wsjcpp_employees.h:13
virtual bool init()
Definition: employ_server_info.cpp:24
EmployServerInfo()
Definition: employ_server_info.cpp:15
virtual bool deinit() override
Definition: employ_server_info.cpp:86
int countQuestsCompleted()
Definition: employ_server_info.cpp:142
QMutex m_mtxIncrementRequests
Definition: employ_server_info.h:34
void decrementQuests()
Definition: employ_server_info.cpp:154
QMap< std::string, int > m_requestsCounter
Definition: employ_server_info.h:33