Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

mpcl::TAbstractApplication Class Reference

Abstract application class. More...

#include <abstract_application.hh>

Inheritance diagram for mpcl::TAbstractApplication:

mpcl::net::cgi::TAbstractApplication mpcl::net::corba::TClientApplication< TOrb > mpcl::net::corba::TServerApplication< TOrb > TColocatedApplication TProducerApplication List of all members.

Public Methods

 TAbstractApplication (const char *pkcNAME, const char *pkcRELEASE)
virtual ~TAbstractApplication (void)
 Destroys the instance.

virtual void initialize (void)=0
virtual int start (void)=0
TString name (void) const
 Get application name.

TString release (void) const
 Get application release.

virtual TString programFileName (void) const=0
 Get application binary file name.


Detailed Description

Abstract application class.

Definition at line 39 of file abstract_application.hh.


Constructor & Destructor Documentation

mpcl::TAbstractApplication::TAbstractApplication const char *    pkcNAME,
const char *    pkcRELEASE
[inline]
 

Builds a new instance.

Parameters:
pkcNAME  Application name.
pkcRELEASE  Application release.

Definition at line 62 of file abstract_application.hh.


Member Function Documentation

virtual void mpcl::TAbstractApplication::initialize void    [pure virtual]
 

Initializes application. In a console application, this means that no output can be done (other than exceptions or errors).

Implemented in mpcl::net::cgi::TAbstractApplication, mpcl::net::corba::TClientApplication< TOrb >, mpcl::net::corba::TServerApplication< TOrb >, TColocatedApplication, and TProducerApplication.

virtual int mpcl::TAbstractApplication::start void    [pure virtual]
 

Start the application execution. In a console application, this means that any output must begin in this function.

Returns:
Exit status.

Implemented in mpcl::net::cgi::TAbstractApplication, mpcl::net::corba::TClientApplication< TOrb >, mpcl::net::corba::TServerApplication< TOrb >, and TColocatedApplication.


The documentation for this class was generated from the following file:
Generated on Mon Oct 13 02:35:24 2003 for MPCL by doxygen1.2.18