11 #include "EventClient.h"    13 #include "threads/CriticalSection.h"    14 #include "threads/Thread.h"    31     static void RemoveInstance();
    38     void  Process() 
override;
    45     void RefreshSettings()
    47       std::unique_lock<CCriticalSection> lock(m_critSection);
    48       m_bRefreshSettings = 
true;
    53     void StopServer(
bool bWait);
    56     unsigned int GetButtonCode(std::string& strMapName, 
bool& isAxis, 
float& amount, 
bool &isJoystick);
    57     bool ExecuteNextAction();
    58     bool GetMousePos(
float &x, 
float &y);
    59     int GetNumberOfClients();
    66     void RefreshClients();
    68     std::map<unsigned long, std::unique_ptr<EVENTCLIENT::CEventClient>> m_clients;
    69     static std::unique_ptr<CEventServer> m_pInstance;
    70     std::unique_ptr<SOCKETS::CUDPSocket> m_pSocket;
    74     std::vector<uint8_t> m_pPacketBuffer;
    75     std::atomic<bool> m_bRunning = 
false;
    76     CCriticalSection m_critSection;
    77     bool             m_bRefreshSettings;
 Definition: EventServer.h:22
Definition: EventServer.h:28