Orxonox
0.0.5 Codename: Arcturus
|
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/network/LANDiscovery.h>
Public Member Functions | |
LANDiscovery () | |
~LANDiscovery () | |
void | discover () |
std::string | getServerListItemIP (unsigned int index) |
std::string | getServerListItemName (unsigned int index) |
std::string | getServerListItemPlayerNumber (unsigned int index) |
std::string | getServerListItemRTT (unsigned int index) |
Static Public Member Functions | |
static LANDiscovery & | getInstance () |
Static Public Member Functions inherited from orxonox::Singleton< LANDiscovery > | |
static bool | exists () |
Tells whether the singleton has been created. More... | |
static LANDiscovery & | getInstance () |
Returns a reference to the singleton instance. More... | |
Private Attributes | |
ENetHost * | host_ |
std::vector< packet::ServerInformation > | servers_ |
Static Private Attributes | |
static LANDiscovery * | singletonPtr_s |
Friends | |
class | Singleton< LANDiscovery > |
Additional Inherited Members | |
Protected Member Functions inherited from orxonox::Singleton< LANDiscovery > | |
Singleton () | |
Constructor sets the singleton instance pointer. More... | |
virtual | ~Singleton () |
Destructor resets the singleton instance pointer. More... | |
orxonox::LANDiscovery::LANDiscovery | ( | ) |
orxonox::LANDiscovery::~LANDiscovery | ( | ) |
void orxonox::LANDiscovery::discover | ( | ) |
|
inlinestatic |
std::string orxonox::LANDiscovery::getServerListItemIP | ( | unsigned int | index | ) |
std::string orxonox::LANDiscovery::getServerListItemName | ( | unsigned int | index | ) |
std::string orxonox::LANDiscovery::getServerListItemPlayerNumber | ( | unsigned int | index | ) |
std::string orxonox::LANDiscovery::getServerListItemRTT | ( | unsigned int | index | ) |
|
friend |
|
private |
|
private |
|
staticprivate |