#include <OptionsMasterListServer.h>
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 () |
Definition at line 26 of file OptionsMasterListServer.h.
| 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.
| 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] |
| const char* OptionsMasterListServer::getMasterListServerURI | ( | ) | [inline] |
| const char* OptionsMasterListServer::getMasterListBackupServer | ( | ) | [inline] |
| const char* OptionsMasterListServer::getMasterListBackupServerURI | ( | ) | [inline] |
| 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().
OptionsMasterListServer * OptionsMasterListServer::instance_ = 0 [static, protected] |
std::list<OptionEntry *> OptionsMasterListServer::options_ [protected] |
Definition at line 40 of file OptionsMasterListServer.h.
Referenced by readOptionsFromFile(), and writeOptionsToFile().
Definition at line 45 of file OptionsMasterListServer.h.
Referenced by getMasterListBackupServerURI().
Definition at line 46 of file OptionsMasterListServer.h.
Referenced by getMasterListServerTimeout().
1.5.3