OptionsMasterListServer Class Reference

#include <OptionsMasterListServer.h>

List of all members.

Public Member Functions

const char * getMasterListServer ()
const char * getMasterListServerURI ()
const char * getMasterListBackupServer ()
const char * getMasterListBackupServerURI ()
int getMasterListServerTimeout ()

Static Public Member Functions

static
OptionsMasterListServer
instance ()

Protected Member Functions

bool readOptionsFromFile ()
bool writeOptionsToFile ()

Protected Attributes

std::list
< OptionEntry * > 
options_
OptionEntryString masterListServer_
OptionEntryString masterListServerURI_
OptionEntryString masterListBackupServer_
OptionEntryString masterListBackupServerURI_
OptionEntryInt masterListServerTimeout_

Static Protected Attributes

static
OptionsMasterListServer
instance_ = 0

Private Member Functions

 OptionsMasterListServer ()
virtual ~OptionsMasterListServer ()


Detailed Description

Definition at line 26 of file OptionsMasterListServer.h.


Constructor & Destructor Documentation

OptionsMasterListServer::OptionsMasterListServer (  )  [private]

Definition at line 31 of file OptionsMasterListServer.cpp.

References readOptionsFromFile().

Referenced by instance().

OptionsMasterListServer::~OptionsMasterListServer (  )  [private, virtual]

Definition at line 46 of file OptionsMasterListServer.cpp.


Member Function Documentation

OptionsMasterListServer * OptionsMasterListServer::instance (  )  [static]

Definition at line 25 of file OptionsMasterListServer.cpp.

References instance_, and OptionsMasterListServer().

Referenced by ServerRegistrationEntry::actualThreadFunc(), ServerBrowserCollect::fetchLANList(), ServerBrowserCollect::fetchServerList(), and ServerBrowser::threadFunc().

const char* OptionsMasterListServer::getMasterListServer (  )  [inline]

Definition at line 31 of file OptionsMasterListServer.h.

References masterListServer_.

const char* OptionsMasterListServer::getMasterListServerURI (  )  [inline]

Definition at line 32 of file OptionsMasterListServer.h.

References masterListServerURI_.

const char* OptionsMasterListServer::getMasterListBackupServer (  )  [inline]

Definition at line 33 of file OptionsMasterListServer.h.

References masterListBackupServer_.

const char* OptionsMasterListServer::getMasterListBackupServerURI (  )  [inline]

Definition at line 34 of file OptionsMasterListServer.h.

References masterListBackupServerURI_.

int OptionsMasterListServer::getMasterListServerTimeout (  )  [inline]

Definition at line 35 of file OptionsMasterListServer.h.

References masterListServerTimeout_.

Referenced by ServerRegistrationEntry::actualThreadFunc(), ServerBrowserCollect::fetchLANList(), and ServerBrowserCollect::fetchServerList().

bool OptionsMasterListServer::readOptionsFromFile (  )  [protected]

Definition at line 57 of file OptionsMasterListServer.cpp.

References S3D::getSettingsFile(), options_, and OptionEntryHelper::readFromFile().

Referenced by OptionsMasterListServer().

bool OptionsMasterListServer::writeOptionsToFile (  )  [protected]

Definition at line 50 of file OptionsMasterListServer.cpp.

References S3D::getSettingsFile(), options_, and OptionEntryHelper::writeToFile().


Member Data Documentation

OptionsMasterListServer * OptionsMasterListServer::instance_ = 0 [static, protected]

Definition at line 38 of file OptionsMasterListServer.h.

Referenced by instance().

std::list<OptionEntry *> OptionsMasterListServer::options_ [protected]

Definition at line 40 of file OptionsMasterListServer.h.

Referenced by readOptionsFromFile(), and writeOptionsToFile().

OptionEntryString OptionsMasterListServer::masterListServer_ [protected]

Definition at line 42 of file OptionsMasterListServer.h.

Referenced by getMasterListServer().

OptionEntryString OptionsMasterListServer::masterListServerURI_ [protected]

Definition at line 43 of file OptionsMasterListServer.h.

Referenced by getMasterListServerURI().

OptionEntryString OptionsMasterListServer::masterListBackupServer_ [protected]

Definition at line 44 of file OptionsMasterListServer.h.

Referenced by getMasterListBackupServer().

OptionEntryString OptionsMasterListServer::masterListBackupServerURI_ [protected]

Definition at line 45 of file OptionsMasterListServer.h.

Referenced by getMasterListBackupServerURI().

OptionEntryInt OptionsMasterListServer::masterListServerTimeout_ [protected]

Definition at line 46 of file OptionsMasterListServer.h.

Referenced by getMasterListServerTimeout().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:05 2009 for Scorched3D by  doxygen 1.5.3