Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
orxonox::LANDiscovery Class Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/network/LANDiscovery.h>

Inheritance diagram for orxonox::LANDiscovery:
orxonox::Singleton< LANDiscovery >

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 LANDiscoverygetInstance ()
 
- Static Public Member Functions inherited from orxonox::Singleton< LANDiscovery >
static bool exists ()
 Tells whether the singleton has been created. More...
 
static LANDiscoverygetInstance ()
 Returns a reference to the singleton instance. More...
 

Private Attributes

ENetHosthost_
 
std::vector< packet::ServerInformationservers_
 

Static Private Attributes

static LANDiscoverysingletonPtr_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...
 

Constructor & Destructor Documentation

orxonox::LANDiscovery::LANDiscovery ( )
orxonox::LANDiscovery::~LANDiscovery ( )

Member Function Documentation

void orxonox::LANDiscovery::discover ( )
static LANDiscovery& orxonox::LANDiscovery::getInstance ( )
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)

Friends And Related Function Documentation

friend class Singleton< LANDiscovery >
friend

Member Data Documentation

ENetHost* orxonox::LANDiscovery::host_
private
std::vector<packet::ServerInformation> orxonox::LANDiscovery::servers_
private
LANDiscovery* orxonox::LANDiscovery::singletonPtr_s
staticprivate

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