Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::DocumentBasedApplication< DocInterfacePolicy > Class Template Reference

#include <vcf/ApplicationKit/DocumentBasedApplication.h>

Inheritance diagram for VCF::DocumentBasedApplication< DocInterfacePolicy >:

VCF::Application VCF::DocumentManagerImpl< DocumentBasedApplication< DocInterfacePolicy >, DocInterfacePolicy > VCF::AbstractApplication VCF::DocumentManager DocInterfacePolicy VCF::Component VCF::ObjectWithCallbacks VCF::Object List of all members.

Public Types

typedef DocumentManagerImpl<
DocumentBasedApplication<
DocInterfacePolicy >, DocInterfacePolicy
DocMgrImpl

Public Member Functions

 DocumentBasedApplication (int argc, char **argv)
virtual bool initRunningApplication ()
 This happens after the Application object is constructed, after the initialize() method, and just before the app's run() method is called successful.
void terminateRunningApplication ()
 terminates the running application
virtual void processCommandLine (const CommandLine &comdLine)

template<typename DocInterfacePolicy>
class VCF::DocumentBasedApplication< DocInterfacePolicy >


Member Typedef Documentation

template<typename DocInterfacePolicy>
typedef DocumentManagerImpl<DocumentBasedApplication<DocInterfacePolicy>,DocInterfacePolicy> VCF::DocumentBasedApplication< DocInterfacePolicy >::DocMgrImpl
 


Constructor & Destructor Documentation

template<typename DocInterfacePolicy>
VCF::DocumentBasedApplication< DocInterfacePolicy >::DocumentBasedApplication int  argc,
char **  argv
[inline]
 


Member Function Documentation

template<typename DocInterfacePolicy>
virtual bool VCF::DocumentBasedApplication< DocInterfacePolicy >::initRunningApplication  )  [inline, virtual]
 

This happens after the Application object is constructed, after the initialize() method, and just before the app's run() method is called successful.

if false, it calls terminate() and then kills the app process. this method also builds the accellerator table used for keyboard shortcuts

Returns:
bool this tells whether or not the initialization of the application was

Reimplemented from VCF::Application.

template<typename DocInterfacePolicy>
virtual void VCF::DocumentBasedApplication< DocInterfacePolicy >::processCommandLine const CommandLine comdLine  )  [inline, virtual]
 

Reimplemented from VCF::Application.

template<typename DocInterfacePolicy>
void VCF::DocumentBasedApplication< DocInterfacePolicy >::terminateRunningApplication  )  [inline, virtual]
 

terminates the running application

Reimplemented from VCF::Application.


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information