HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AP_Bootstrap Class Referenceabstract

#include <AP_Interface.h>

+ Inheritance diagram for AP_Bootstrap:

Public Member Functions

 AP_Bootstrap ()
 
virtual ~AP_Bootstrap ()
 
virtual AP_InterfaceUPtr createApplication ()=0
 

Static Protected Member Functions

static void setAppForeground ()
 

Detailed Description

Base class for bootstrapping code for executable applications, with the main UI implemented by an AP_Interface.

Instances are created as static objects so that the constructor runs during static initialization before the main() function in AP_Main.C.

The createApplication() method will be called on any existing bootstrap objects during the execution of main() to allocate an AP_Interface that main() will initialize and wire, and finally destroy before terminating.

Definition at line 362 of file AP_Interface.h.

Constructor & Destructor Documentation

AP_Bootstrap::AP_Bootstrap ( )
virtual AP_Bootstrap::~AP_Bootstrap ( )
virtual

Member Function Documentation

virtual AP_InterfaceUPtr AP_Bootstrap::createApplication ( )
pure virtual
static void AP_Bootstrap::setAppForeground ( )
staticprotected

The documentation for this class was generated from the following file: