61 static BESApp * _theApplication;
63 _debug(
false), _isInitialized(
false)
84 virtual int main(
int argC,
char **argV);
104 virtual int run(
void);
124 virtual void dump(std::ostream &strm)
const = 0;
145 return _theApplication;
virtual int terminate(int sig=0)
Clean up after the application.
virtual void dump(std::ostream &strm) const =0
dumps information about this object
Base object for bes objects.
virtual int main(int argC, char **argV)
main routine, the main entry point for any BES applications.
string appName(void) const
Returns the name of the application.
Application class for BES applications.
virtual int initialize(int argC, char **argV)
Initialize the application using the passed argc and argv values.
static BESApp * TheApplication(void)
Returns the BESApp application object for this application.
virtual int run(void)
The body of the application, implementing the primary functionality of the BES application.