#include <PlatformConfig.hpp>
Inherits pion::platform::ConfigManager.
Definition at line 47 of file PlatformConfig.hpp.
Public Member Functions | |
| PlatformConfig (void) | |
| constructs a new PlatformConfig instance | |
| virtual | ~PlatformConfig () |
| virtual destructor | |
| virtual void | openConfigFile (void) |
| opens an existing platform config file | |
| virtual void | writeConfigXML (std::ostream &out) const |
| pion::platform::VocabularyManager & | getVocabularyManager (void) |
| returns a reference to the global VocabularyManager | |
| pion::platform::CodecFactory & | getCodecFactory (void) |
| returns a reference to the global CodecFactory | |
| pion::platform::ProtocolFactory & | getProtocolFactory (void) |
| returns a reference to the global ProtocolFactory | |
| pion::platform::DatabaseManager & | getDatabaseManager (void) |
| returns a reference to the global DatabaseManager | |
| pion::platform::ReactionEngine & | getReactionEngine (void) |
| returns a reference to the global ReactionEngine | |
| const pion::platform::ReactionEngine & | getReactionEngine (void) const |
| returns a const reference to the global ReactionEngine | |
| ServiceManager & | getServiceManager (void) |
| returns a reference to the global ServiceManager | |
| const UserManagerPtr | getUserManagerPtr (void) const |
| returns a pointer to the global UserManager | |
| const std::string & | getLogConfigFile (void) const |
| returns the name of the logging configuration file | |
| const std::string & | getDataDirectory (void) const |
| returns the directory in which data files are stored | |
| bool | getDebugMode (void) const |
| returns true if pion is running in "debug mode" | |
Classes | |
| class | DirectoryNotFoundException |
| exception thrown if the directory configured is not found More... | |
| class | EmptyPluginPathException |
| exception thrown if the config file contains an empty PluginPath definition More... | |
| class | MissingCodecConfigException |
| exception thrown if the config file does not contain a CodecConfig element More... | |
| class | MissingDatabaseConfigException |
| exception thrown if the config file does not contain a DatabaseConfig element More... | |
| class | MissingDataDirectoryException |
| exception thrown if the config file does not contain a DataDirectory element More... | |
| class | MissingProtocolConfigException |
| exception thrown if the config file does not contain a ProtocolConfig element More... | |
| class | MissingReactorConfigException |
| exception thrown if the config file does not contain a ReactorConfig element More... | |
| class | MissingServiceConfigException |
| exception thrown if the config file does not contain a ServiceConfig element More... | |
| class | MissingUserConfigException |
| exception thrown if the config file does not contain a UserConfig element More... | |
| class | MissingVocabularyConfigException |
| exception thrown if the config file does not contain a VocabularyConfig element More... | |
| class | NotADirectoryException |
| exception thrown if the directory configuration option is not a directory More... | |
| void pion::server::PlatformConfig::writeConfigXML | ( | std::ostream & | out | ) | const [virtual] |
writes the platform configuration to an output stream (as XML)
| out | the ostream to write the configuration into |
Reimplemented from pion::platform::ConfigManager.
Definition at line 389 of file PlatformConfig.cpp.
References pion::platform::ConfigManager::getConfigFile(), getLogConfigFile(), and pion::platform::VocabularyManager::getVocabularyPath().
Referenced by pion::plugins::ConfigService::operator()().
1.4.7