Public Member Functions

pl7::ApplicationStateBroker Class Reference

#include <ApplicationStateBroker.h>

List of all members.

Public Member Functions

 ApplicationStateBroker (ApplicationState *app_state)
 ~ApplicationStateBroker (void)
ApplicationStateGetApplicationState () const
const cl7::string_typeGetName () const
bool Init ()
bool Shutdown ()
bool Wake ()
bool Suspend ()
bool Prepare (const FrameStats &frame_stats)
bool Render (const FrameStats &frame_stats)
bool Move (const FrameStats &frame_stats)

Constructor & Destructor Documentation

pl7::ApplicationStateBroker::ApplicationStateBroker ( ApplicationState app_state  ) 

Explicit constructor.

pl7::ApplicationStateBroker::~ApplicationStateBroker ( void   ) 

Destructor.


Member Function Documentation

ApplicationState* pl7::ApplicationStateBroker::GetApplicationState (  )  const [inline]

Returns the attended application state.

const cl7::string_type & pl7::ApplicationStateBroker::GetName (  )  const

Returns the name of the attended application state.

bool pl7::ApplicationStateBroker::Init (  ) 
bool pl7::ApplicationStateBroker::Move ( const FrameStats frame_stats  ) 

Performs the application logic stuff. Will be called on each iteration in the main message loop of the application, if the attended application state is currently active.

bool pl7::ApplicationStateBroker::Prepare ( const FrameStats frame_stats  ) 

Prepares the rendering stuff. Will be called on each iteration in the main message loop of the application, if the attended application state is currently active.

bool pl7::ApplicationStateBroker::Render ( const FrameStats frame_stats  ) 

Performs the rendering stuff. Will be called on each iteration in the main message loop of the application, if the attended application state is currently active.

bool pl7::ApplicationStateBroker::Shutdown (  ) 
bool pl7::ApplicationStateBroker::Suspend (  ) 
bool pl7::ApplicationStateBroker::Wake (  ) 

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines