xbmc
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
EVENTSERVER::CEventServer Class Reference
Inheritance diagram for EVENTSERVER::CEventServer:
Inheritance graph
[legend]
Collaboration diagram for EVENTSERVER::CEventServer:
Collaboration graph
[legend]

Public Member Functions

void Process () override
 
bool Running ()
 
void RefreshSettings ()
 
void StartServer ()
 
void StopServer (bool bWait)
 
unsigned int GetButtonCode (std::string &strMapName, bool &isAxis, float &amount, bool &isJoystick)
 
bool ExecuteNextAction ()
 
bool GetMousePos (float &x, float &y)
 
int GetNumberOfClients ()
 

Static Public Member Functions

static void RemoveInstance ()
 
static CEventServerGetInstance ()
 

Protected Member Functions

void Cleanup ()
 
void Run ()
 
void ProcessPacket (SOCKETS::CAddress &addr, int packetSize)
 
void ProcessEvents ()
 
void RefreshClients ()
 

Protected Attributes

std::map< unsigned long, std::unique_ptr< EVENTCLIENT::CEventClient > > m_clients
 
std::unique_ptr< SOCKETS::CUDPSocketm_pSocket
 
int m_iPort
 
int m_iListenTimeout
 
int m_iMaxClients
 
std::vector< uint8_t > m_pPacketBuffer
 
std::atomic< bool > m_bRunning = false
 
CCriticalSection m_critSection
 
bool m_bRefreshSettings
 

Static Protected Attributes

static std::unique_ptr< CEventServerm_pInstance
 

The documentation for this class was generated from the following files: