Orxonox: orxonox::ClientConnectionListener Class Reference

# orxonox::ClientConnectionListener Class Reference

`#include <src/network/ClientConnectionListener.h>`

Inheritance diagram for orxonox::ClientConnectionListener:

List of all members.

## Public Member Functions

| ClientConnectionListener ()
void | getConnectedClients ()
virtual | ~ClientConnectionListener ()

## Protected Member Functions

virtual void | clientConnected (unsigned int clientID)=0
virtual void | clientDisconnected (unsigned int clientID)=0

## Friends

class | Server

## Constructor & Destructor Documentation

orxonox::ClientConnectionListener::ClientConnectionListener | ( |  | ) |

References RegisterRootObject.

virtual orxonox::ClientConnectionListener::~ClientConnectionListener | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual void orxonox::ClientConnectionListener::clientConnected | ( | unsigned int | clientID | ) | `[protected, pure virtual]`

Implemented in orxonox::TrafficControl, orxonox::MovableEntity, and orxonox::PlayerManager.

Referenced by getConnectedClients().

virtual void orxonox::ClientConnectionListener::clientDisconnected | ( | unsigned int | clientID | ) | `[protected, pure virtual]`

Implemented in orxonox::TrafficControl, orxonox::MovableEntity, and orxonox::PlayerManager.

void orxonox::ClientConnectionListener::getConnectedClients | ( |  | ) |

References clientConnected(), orxonox::ClientInformation::getBegin(), orxonox::ClientInformation::getID(), orxonox::ClientInformation::next(), and orxonox::GameMode::showsGraphics().

Referenced by orxonox::PlayerManager::PlayerManager().

## Friends And Related Function Documentation

friend class Server`[friend]`

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

- src/network/ClientConnectionListener.h
- src/network/ClientConnectionListener.cc