application::base_application Class Reference

Provides a base object for the root application portion of a program. More...

#include <base_application.h>

Inheritance diagram for application::base_application:
Inheritance graph
[legend]
Collaboration diagram for application::base_application:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const char * class_name () const =0
 Returns the bare name of this class as a constant character pointer.
virtual int execute ()=0
 performs the main activity of this particular application object.

Detailed Description

Provides a base object for the root application portion of a program.

This mainly defines an entry point into the application's real functionality. Derived versions of the base_application can layer in more functionality as appropriate for different types of applications.

Definition at line 31 of file base_application.h.


Member Function Documentation

virtual const char* application::base_application::class_name (  )  const [pure virtual]

Returns the bare name of this class as a constant character pointer.

The name returned here is supposed to be just a class name and not provide any more information than that. It is especially important not to add any syntactic elements like '::' to the name, since a bare alphanumeric name is expected.

Implements basis::nameable.

virtual int application::base_application::execute (  )  [pure virtual]

performs the main activity of this particular application object.

the method must be overridden by the derived object. a return value for the program as a whole should be returned.

Implemented in application::application_shell, and write_build_config.


The documentation for this class was generated from the following file:
Generated on Sat Jan 28 04:25:13 2012 for hoople2 project by  doxygen 1.6.3