bpp-core  2.2.0
bpp::BppApplication Class Reference

#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_
 

Detailed Description

Definition at line 52 of file BppApplication.h.

Constructor & Destructor Documentation

◆ BppApplication()

Member Function Documentation

◆ done()

void BppApplication::done ( )

Definition at line 71 of file BppApplication.cpp.

References appName_, bpp::ApplicationTools::displayTime(), and timerStarted_.

◆ getParam() [1/2]

const std::string& bpp::BppApplication::getParam ( const std::string &  name) const
throw (Exception
)
inline

Definition at line 68 of file BppApplication.h.

References params_.

◆ getParam() [2/2]

std::string& bpp::BppApplication::getParam ( const std::string &  name)
inline

Definition at line 74 of file BppApplication.h.

References params_.

◆ getParams()

std::map<std::string, std::string>& bpp::BppApplication::getParams ( )
inline

Definition at line 66 of file BppApplication.h.

References params_.

◆ startTimer()

void BppApplication::startTimer ( )

Definition at line 65 of file BppApplication.cpp.

References bpp::ApplicationTools::startTimer(), and timerStarted_.

Member Data Documentation

◆ appName_

std::string bpp::BppApplication::appName_
private

Definition at line 55 of file BppApplication.h.

Referenced by done().

◆ params_

std::map<std::string, std::string> bpp::BppApplication::params_
mutableprivate

Definition at line 56 of file BppApplication.h.

Referenced by BppApplication(), getParam(), and getParams().

◆ timerStarted_

bool bpp::BppApplication::timerStarted_
private

Definition at line 57 of file BppApplication.h.

Referenced by done(), and startTimer().


The documentation for this class was generated from the following files: