CLayoutFCCreate Class Reference

CLayoutFCCreate. More...

#include <LayoutFCCreate.h>

Inheritance diagram for CLayoutFCCreate:

CLayout CSingleton

List of all members.

Public Member Functions

void InsertPackNameData (const char *name, const char *dir)
 used by scripts to insert display datas
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 CLayoutFCCreateGetInstance ()
 sub classes should implement this for easy access to self (which is a singleton)

Private Member Functions

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 handle_CloseLayout (const CEGUI::EventArgs &e)
 called when "Start The Session" button is clicked (Actually, should be totally hidden from interface)
bool handle_StartSession (const CEGUI::EventArgs &e)
 called when "Start The Session" button is clicked (Actually, should be totally hidden from interface)
bool handle_CreateSession (const CEGUI::EventArgs &e)
 called when "OK" Button when starting a session is clicked - Do not explicitly call this unless debug purposes
bool handle_TraineeAllow (const CEGUI::EventArgs &e)
 called when Allow button is clicked in Create Session screen
bool handle_TraineeDisallow (const CEGUI::EventArgs &e)
 called when Disallow button is clicked in Create Session screen
bool handle_TraineeStats (const CEGUI::EventArgs &e)
 opens up the statistic window, ddisplaying the chosen trainee's data
bool handle_ScenPackSelect (const CEGUI::EventArgs &e)
 called when a scen package is selected in create session combobox
bool handle_SelectAllowed (const CEGUI::EventArgs &e)
 handle_SelectAllowed
bool handle_SelectDisallowed (const CEGUI::EventArgs &e)
 handle_SelectDisallowed
bool handle_UpdateSesSetting (const CEGUI::EventArgs &e)
 handle_UpdateSesSetting
void GeneratePackageList ()
void UpdateTraineePermList ()
 using traineeAllowedList and traineeDisallowedList, generates trainee lists

Private Attributes

map< string, string > packageList
 holds package - directory mappings
vector< string > traineeAllowedList
 traineeAllowedList, as seen on the layout
vector< string > traineeDisallowedList
 traineeDisallowedList, as seen on the layout


Detailed Description

CLayoutFCCreate.

Member Function Documentation

void CLayoutFCCreate::GeneratePackageList (  )  [private]

clears packageList and executes the script to read data. then, updates the view to display the first package content


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