61 static BESApp * _theApplication;
62 BESApp(
void) : _debug(
false), _isInitialized(
false) { }
78 virtual int main(
int argC,
char **argV);
98 virtual int run(
void);
118 virtual void dump(std::ostream &strm)
const = 0;
139 return _theApplication;
Application class for BES applications.
static BESApp * TheApplication(void)
Returns the BESApp application object for this application.
virtual int initialize(int argC, char **argV)
Initialize the application using the passed argc and argv values.
virtual int terminate(int sig=0)
Clean up after the application.
virtual void dump(std::ostream &strm) const =0
dumps information about this object
virtual int run(void)
The body of the application, implementing the primary functionality of the BES application.
std::string appName(void) const
Returns the name of the application.
virtual int main(int argC, char **argV)
main routine, the main entry point for any BES applications.
top level BES object to house generic methods