ILauncher Class Referenceabstract

#include <Pt/Cosmo/ILauncher.h>

Launcher strategy interface. More...

Inherits IUnknown.

Public Member Functions

void launch ()
 Starts the launcher.
 
void exit ()
 Requests the launcher to exit.
 

Protected Member Functions

virtual void onLaunch ()=0
 Called to start the launcher.
 
virtual void onExit ()=0
 Called to exit the launcher.
 

Detailed Description

Required by Main::run(). The launcher role must be provided by a user-defined component. The launcher can either execute a single task or enter a loop to run an application depending on its purpose.