RenderTools::ViewController Class Reference

#include <ViewController.h>

Inheritance diagram for RenderTools::ViewController:

RenderTools::RenderInterface RenderTools::AbstractPropertyContainer RenderTools::ContainerProperty RenderTools::AbstractProperty RenderTools::InitializeInterface RenderTools::RendergroupAbstractView

List of all members.

Public Member Functions

 ViewController (void)
virtual ~ViewController (void)
virtual void createProperties (void)
virtual const string getTypeName (bool ofComponent=false) const
void sendViewControllerEvent (const ViewControllerEvent &e)
virtual void onViewControllerEvent (const ViewControllerEvent &e)
virtual void onInitialize (void)
virtual void onRender (void)
virtual void show (bool state=true)
virtual void setSize (unsigned int width, unsigned int height)
virtual const Vec2 getSize (void) const
virtual bool getTimer (void) const
virtual unsigned int getTimerMillisec (void) const
virtual bool getShow (void) const
virtual void startTimer (unsigned int Millisec=30)
virtual void stopTimer (void)

Static Public Member Functions

static PropertyPtr create (const XMLNodePtr &xml=XMLNodePtr())
static const
ViewControllerWeakList
getViewControllers (void)
static unsigned int getMajorVersion (void)
static unsigned int getMinorVersion (void)
static DeviceName getDeviceName (void)
static void setMajorVersion (unsigned int v)
static void setMinorVersion (unsigned int v)
static void setDeviceName (DeviceName v)

Protected Attributes

unsigned int m_width
unsigned int m_height
bool m_timer
unsigned int m_timerMillisec
bool m_show

Static Protected Attributes

static unsigned int s_majorVersion = 1
static unsigned int s_minorVersion = 0
static DeviceName s_deviceName = DEVICENAME_UNKNOWN


Detailed Description

Definition at line 19 of file ViewController.h.


Constructor & Destructor Documentation

RenderTools::ViewController::ViewController ( void   ) 

Definition at line 11 of file ViewController.cpp.

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

Definition at line 42 of file ViewController.cpp.


Member Function Documentation

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

Definition at line 21 of file ViewController.cpp.

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

Reimplemented from RenderTools::AbstractPropertyContainer.

Definition at line 29 of file ViewController.cpp.

DeviceName RenderTools::ViewController::getDeviceName ( void   )  [static]

Definition at line 132 of file ViewController.cpp.

unsigned int RenderTools::ViewController::getMajorVersion ( void   )  [static]

Definition at line 124 of file ViewController.cpp.

unsigned int RenderTools::ViewController::getMinorVersion ( void   )  [static]

Definition at line 128 of file ViewController.cpp.

bool RenderTools::ViewController::getShow ( void   )  const [virtual]

Definition at line 102 of file ViewController.cpp.

const Vec2 RenderTools::ViewController::getSize ( void   )  const [virtual]

Definition at line 120 of file ViewController.cpp.

bool RenderTools::ViewController::getTimer ( void   )  const [virtual]

Definition at line 94 of file ViewController.cpp.

unsigned int RenderTools::ViewController::getTimerMillisec ( void   )  const [virtual]

Definition at line 98 of file ViewController.cpp.

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

Reimplemented from RenderTools::ContainerProperty.

Definition at line 38 of file ViewController.cpp.

const ViewControllerWeakList & RenderTools::ViewController::getViewControllers ( void   )  [static]

Definition at line 106 of file ViewController.cpp.

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

Reimplemented from RenderTools::AbstractPropertyContainer.

Definition at line 65 of file ViewController.cpp.

void RenderTools::ViewController::onRender ( void   )  [virtual]

Implements RenderTools::RenderInterface.

Definition at line 69 of file ViewController.cpp.

void RenderTools::ViewController::onViewControllerEvent ( const ViewControllerEvent e  )  [virtual]

Definition at line 52 of file ViewController.cpp.

void RenderTools::ViewController::sendViewControllerEvent ( const ViewControllerEvent e  ) 

Definition at line 74 of file ViewController.cpp.

void RenderTools::ViewController::setDeviceName ( DeviceName  v  )  [static]

Definition at line 144 of file ViewController.cpp.

void RenderTools::ViewController::setMajorVersion ( unsigned int  v  )  [static]

Definition at line 136 of file ViewController.cpp.

void RenderTools::ViewController::setMinorVersion ( unsigned int  v  )  [static]

Definition at line 140 of file ViewController.cpp.

void RenderTools::ViewController::setSize ( unsigned int  width,
unsigned int  height 
) [virtual]

Definition at line 110 of file ViewController.cpp.

void RenderTools::ViewController::show ( bool  state = true  )  [virtual]

Definition at line 78 of file ViewController.cpp.

void RenderTools::ViewController::startTimer ( unsigned int  Millisec = 30  )  [virtual]

Definition at line 83 of file ViewController.cpp.

void RenderTools::ViewController::stopTimer ( void   )  [virtual]

Definition at line 89 of file ViewController.cpp.


Member Data Documentation

unsigned int RenderTools::ViewController::m_height [protected]

Definition at line 51 of file ViewController.h.

Definition at line 54 of file ViewController.h.

Definition at line 52 of file ViewController.h.

Definition at line 53 of file ViewController.h.

unsigned int RenderTools::ViewController::m_width [protected]

Definition at line 50 of file ViewController.h.

DeviceName RenderTools::ViewController::s_deviceName = DEVICENAME_UNKNOWN [static, protected]

Definition at line 58 of file ViewController.h.

unsigned int RenderTools::ViewController::s_majorVersion = 1 [static, protected]

Definition at line 56 of file ViewController.h.

unsigned int RenderTools::ViewController::s_minorVersion = 0 [static, protected]

Definition at line 57 of file ViewController.h.


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

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