Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

RS::ViewManager Class Reference

This is the view manager in the RoboSoc system. More...

List of all members.

Public Member Functions

bool addView (View *view, const bool persitent=true)
ViewgetView (const ViewId v_id)
void releaseView (const ViewId v_id)
void setViewPersistence (ViewId v_id, const bool persistence)
UInt32 getCurrentUpdateNumber () const
void newCycle ()
void updateAfterCoachMessage ()
void updateAfterInit ()
void updateAfterSee ()
void updateAfterHear ()
void updateAfterSense ()
void updateAfterCommand ()
void forEach (void(*fn)(View *))

Static Public Member Functions

ViewManager * instance ()
 Retreive the only instance of the ViewManager class.


Protected Member Functions

void forEach (ViewUpdateResult(View::*fn)(const UInt32), const UInt32)

Protected Attributes

std::map< ViewId, ViewDatatheViews
UInt32 currentUpdateNumber


Detailed Description

This is the view manager in the RoboSoc system.

It is a model of the design pattern Singleton, which means that there is only one instance of this class in the system. This instance can only be accessed from the ViewManager::instance() method, which returns a pointer to the only instance of the class.

Unit:
Framework
Revision
1.2
Author
frehe
Date
2001/08/23 00:32:05

Definition at line 80 of file ViewManager.h.


The documentation for this class was generated from the following files:
Generated on Mon Aug 29 08:27:13 2011 for RoboSoc by doxygen1.3-rc3