In file src/CarWorldServer.h:

class CarWorldServer: public HApplication


Inheritance:


Public Methods

[more] CarWorldServer(short port)
[more]virtual ~CarWorldServer()
[more]const char* name()
[more]void on_idle(unsigned int elapsed_time)
[more]void GetClientList(int ClientNumbers[MAX_VEHICLES])
[more]void GetState(CWVehicleState vehicle[MAX_VEHICLES])
[more]bool AddClient(int id, ClientRequest *request)
[more]bool UpdateClient(int id, ClientGamestate *state)
[more]bool RemoveClient(int id, ClientDisconnect *discon)
[more]void SendConfirmation(int id)
[more]void SendGamestate(int id)
[more]void SendDisconnect(int id)

Private Fields

[more]CarWorld* m_CarWorld
[more]map<int,CWVehicle*> m_Clients
[more]HSocServer m_Socket


Inherited from HApplication:

Public Fields

oHAppData* m_data

Public Methods

ostatic int TimeRefreshRate()


Documentation

o CarWorldServer(short port)

ovirtual ~CarWorldServer()

oconst char* name()

ovoid on_idle(unsigned int elapsed_time)

ovoid GetClientList(int ClientNumbers[MAX_VEHICLES])

ovoid GetState(CWVehicleState vehicle[MAX_VEHICLES])

obool AddClient(int id, ClientRequest *request)

obool UpdateClient(int id, ClientGamestate *state)

obool RemoveClient(int id, ClientDisconnect *discon)

ovoid SendConfirmation(int id)

ovoid SendGamestate(int id)

ovoid SendDisconnect(int id)

oCarWorld* m_CarWorld

omap<int,CWVehicle*> m_Clients

oHSocServer m_Socket


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.