|
bpp-core
2.1.0
|
#include <Bpp/App/BppApplication.h>
Collaboration diagram for bpp::BppApplication:Public Member Functions | |
| BppApplication (int argc, char *argv[], const std::string &name) | |
| void | startTimer () |
| void | done () |
| std::map< std::string, std::string > & | getParams () |
| const std::string & | getParam (const std::string &name) const throw (Exception) |
| std::string & | getParam (const std::string &name) |
Private Attributes | |
| std::string | appName_ |
| std::map< std::string, std::string > | params_ |
| bool | timerStarted_ |
Definition at line 52 of file BppApplication.h.
| BppApplication::BppApplication | ( | int | argc, |
| char * | argv[], | ||
| const std::string & | name | ||
| ) |
Definition at line 50 of file BppApplication.cpp.
References bpp::ApplicationTools::getBooleanParameter(), bpp::ApplicationTools::interactive, params_, and bpp::AttributesTools::parseOptions().
| void BppApplication::done | ( | ) |
Definition at line 64 of file BppApplication.cpp.
References appName_, bpp::ApplicationTools::displayTime(), and timerStarted_.
| const std::string& bpp::BppApplication::getParam | ( | const std::string & | name | ) | const throw (Exception) [inline] |
Definition at line 68 of file BppApplication.h.
References params_.
| std::string& bpp::BppApplication::getParam | ( | const std::string & | name | ) | [inline] |
Definition at line 74 of file BppApplication.h.
References params_.
| std::map<std::string, std::string>& bpp::BppApplication::getParams | ( | ) | [inline] |
Definition at line 66 of file BppApplication.h.
References params_.
| void BppApplication::startTimer | ( | ) |
Definition at line 58 of file BppApplication.cpp.
References timerStarted_.
std::string bpp::BppApplication::appName_ [private] |
Definition at line 55 of file BppApplication.h.
Referenced by done().
std::map<std::string, std::string> bpp::BppApplication::params_ [mutable, private] |
Definition at line 56 of file BppApplication.h.
Referenced by BppApplication(), getParam(), and getParams().
bool bpp::BppApplication::timerStarted_ [private] |
Definition at line 57 of file BppApplication.h.
Referenced by done(), and startTimer().