9 #ifndef KTAPPLICATION_HH_ 10 #define KTAPPLICATION_HH_ 61 KTApplication(
int argC,
char** argV,
bool requireArgs=
true,
const scarab::param_node& defaultConfig=scarab::param_node());
68 virtual bool Configure(
const scarab::param_node& node);
Interface for the command-line handler and the configurator.
Abstract base class for event loops.
void RemoveEventLoop(KTEventLoop *loop)
Adds loop to the set of event loops overseen by KTApplication. Does NOT assume ownership of an event ...
Parses and stores command-line options.
virtual bool Configure(const scarab::param_node &node)
Should perform parameter store and command-line configurations.
Contains KTCommandLineHandler.
std::string fConfigFilename
KTCommandLineHandler * fCLHandler
Removes loop from the set of event loops overseen by KTApplication. Does not stop the loop...
std::set< KTEventLoop *> fEventLoops
KTConfigurator * fConfigurator
const std::string & GetConfigFilename() const
const KTConfigurator * GetConfigurator() const
void AddConfigOptionsToCLHandler(const scarab::param ¶m, const std::string &rootName)
void AddEventLoop(KTEventLoop *loop)
KTCommandLineHandler * GetCommandLineHandler() const