RenderTools::AbstractApplication Class Reference

The application class is the owner of all data, it holds shared references to viewcontrollers, which in turn can hold references to rendergroups, etc. thus, removing a viewcontroller from the list in AbstractApplication causes a delete on that viewcontroller. More...

#include <AbstractApplication.h>

Inheritance diagram for RenderTools::AbstractApplication:

RenderTools::AbstractPropertyContainer RenderTools::ContainerProperty RenderTools::AbstractProperty RenderTools::InitializeInterface

List of all members.

Public Member Functions

 AbstractApplication (void)
virtual ~AbstractApplication (void)
virtual void createProperties (void)
virtual const string getTypeName (bool ofComponent=false) const
virtual void onInitialize (void)
virtual int mainloop (void)=0
virtual void quit (void)
const ViewControllerContainerPtrgetViewControllers (void) const
void addViewController (const ViewControllerPtr &)
void removeViewController (const ViewControllerPtr &)

Static Public Member Functions

static PropertyPtr create (const XMLNodePtr &xml=XMLNodePtr())

Protected Attributes

ViewControllerContainerPtr m_viewControllers


Detailed Description

The application class is the owner of all data, it holds shared references to viewcontrollers, which in turn can hold references to rendergroups, etc. thus, removing a viewcontroller from the list in AbstractApplication causes a delete on that viewcontroller.

Definition at line 18 of file AbstractApplication.h.


Constructor & Destructor Documentation

RenderTools::AbstractApplication::AbstractApplication ( void   ) 

Definition at line 7 of file AbstractApplication.cpp.

RenderTools::AbstractApplication::~AbstractApplication ( void   )  [virtual]

Definition at line 11 of file AbstractApplication.cpp.


Member Function Documentation

void RenderTools::AbstractApplication::addViewController ( const ViewControllerPtr p  ) 

Definition at line 27 of file AbstractApplication.cpp.

static PropertyPtr RenderTools::AbstractApplication::create ( const XMLNodePtr xml = XMLNodePtr()  )  [static]

void RenderTools::AbstractApplication::createProperties ( void   )  [virtual]

Reimplemented from RenderTools::AbstractPropertyContainer.

Definition at line 15 of file AbstractApplication.cpp.

const string RenderTools::AbstractApplication::getTypeName ( bool  ofComponent = false  )  const [virtual]

Reimplemented from RenderTools::ContainerProperty.

Definition at line 19 of file AbstractApplication.cpp.

const ViewControllerContainerPtr & RenderTools::AbstractApplication::getViewControllers ( void   )  const

Definition at line 23 of file AbstractApplication.cpp.

virtual int RenderTools::AbstractApplication::mainloop ( void   )  [pure virtual]

void RenderTools::AbstractApplication::onInitialize ( void   )  [virtual]

Reimplemented from RenderTools::AbstractPropertyContainer.

Definition at line 35 of file AbstractApplication.cpp.

void RenderTools::AbstractApplication::quit ( void   )  [virtual]

Definition at line 38 of file AbstractApplication.cpp.

void RenderTools::AbstractApplication::removeViewController ( const ViewControllerPtr p  ) 

Definition at line 31 of file AbstractApplication.cpp.


Member Data Documentation

Definition at line 37 of file AbstractApplication.h.


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

Generated on Wed Jan 26 00:15:36 2011 for RenderTools by  doxygen 1.5.8