29 #ifndef _PlayerManager_H__ 30 #define _PlayerManager_H__ 48 PlayerInfo* getClient(
unsigned int clientID)
const;
49 inline const std::map<unsigned int, PlayerInfo*>&
getClients()
const 50 {
return this->clients_; }
52 virtual void clientConnected(
unsigned int clientID)
override;
53 virtual void clientDisconnected(
unsigned int clientID)
override;
54 void disconnectAllClients();
An abstract base class.
Definition: ClientConnectionListener.h:40
static PlayerManager * singletonPtr_s
Definition: PlayerManager.h:59
Base for singleton classes.
Definition: Singleton.h:114
std::map< unsigned int, PlayerInfo * > clients_
Definition: PlayerManager.h:57
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
const std::map< unsigned int, PlayerInfo * > & getClients() const
Definition: PlayerManager.h:49
Shared library macros, enums, constants and forward declarations for the orxonox library ...
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
Definition of the Singleton template that is used as base class for classes that allow only one insta...
Definition: PlayerInfo.h:39
Definition: PlayerManager.h:41