CLayoutFCPresim Class Reference

CLayoutFCPresim. More...

#include <LayoutFCPresim.h>

Inheritance diagram for CLayoutFCPresim:

CLayout CSingleton

List of all members.

Public Member Functions

void Update ()
 override this if the layout is custom interactive
bool Load ()
 protected Load, should be called automatically when an unloaded layout is shown
bool Unload ()
 unloads all the gui-related (cegui) data associated with the layout.
bool Show ()
 show the layout, actually adds the current layout as a child of the root window
bool Hide ()
 removes the layout from the active layouts (so more seen and no more receiving input)

Static Public Member Functions

static CLayoutFCPresimGetInstance ()
 sub classes should implement this for easy access to self (which is a singleton)

Private Member Functions

bool handle_RoleAssign (const CEGUI::EventArgs &e)
 called when a role is selected in pre-session session combobox
bool handle_TraineeSelect (const CEGUI::EventArgs &e)
 called when a trainee is selected in the listbox (Pre-sim) updates 'selected trainee' framewindow contents
bool handle_ModeSelect (const CEGUI::EventArgs &e)
 called when a mode button is clicked
bool handle_TraineeTalk (const CEGUI::EventArgs &e)
 called when start sim is clicked
bool handle_TraineeStats (const CEGUI::EventArgs &e)
 called when start sim is clicked
bool handle_StartSim (const CEGUI::EventArgs &e)
 called when start sim is clicked
bool handle_CancelSession (const CEGUI::EventArgs &e)
 called when cancel session is clicked
void Display_StaticData ()
void GenerateRoleChart ()
 adds window elements to role chart
CEGUI::Window * GenerateRolebox (string roleName, char roleId, CEGUI::UVector2 position)
 generates a window (role element)
void UpdateDisplay_Roles ()
 queries session module and displays assigned trainee names in each role window
void UpdateDisplay_TraineeList ()
 update trainee list

Private Attributes

vector< string > unassignedTr


Detailed Description

CLayoutFCPresim.

Member Function Documentation

void CLayoutFCPresim::Display_StaticData (  )  [private]

queries session module and displays what it receives. (right-menu based) updates unassigned trainees list NOTE: initializes trainee list

void CLayoutFCPresim::Update (  )  [virtual]

override this if the layout is custom interactive

itshould call necessery update subfunctions related to updating the layout

Reimplemented from CLayout.


Member Data Documentation

vector<string> CLayoutFCPresim::unassignedTr [private]

note: all data that this page displays should be inside session module. this is not connected, so cannot send/receive messages, SessionModule does!


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

Generated on Fri Jun 13 19:46:38 2008 for OPSIMUS by  doxygen 1.5.5