bes
Updated for version 3.20.6
|
40 #include "BESInternalError.h"
42 BESApp *BESApp::_theApplication = 0;
74 _isInitialized =
true;
104 _isInitialized =
false;
117 strm << BESIndent::LMarg <<
"BESApp::dump - (" << (
void *)
this <<
")" << endl;
119 strm << BESIndent::LMarg <<
"appName: " <<
appName() << endl;
120 strm << BESIndent::LMarg <<
"is initialized: " << _isInitialized << endl;
121 BESIndent::UnIndent();
virtual int initialize(int argC, char **argV)
Initialize the application using the passed argc and argv values.
virtual int main(int argC, char **argV)
main routine, the main entry point for any BES applications.
virtual int terminate(int sig=0)
Clean up after the application.
std::string appName(void) const
Returns the name of the application.
virtual int run(void)
The body of the application, implementing the primary functionality of the BES application.
exception thrown if internal error encountered
virtual void dump(std::ostream &strm) const =0
dumps information about this object
Application class for BES applications.