#include <LayoutTRPresim.h>
Public Member Functions | |
void | Update () |
override this if the layout is custom interactive | |
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 CLayoutTRPresim * | GetInstance () |
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_RequestToTalk (const CEGUI::EventArgs &e) |
called when trainee wants to send talk request to the facilitator | |
bool | handle_ReadyState (const CEGUI::EventArgs &e) |
called when trainee clicks state change checkbox | |
void | UpdateDisplay_StaticData () |
queries session module and displays what it receives | |
void | UpdateDisplay_Roles () |
queries session module and displays assigned trainee names in each role window | |
void | UpdateDisplay_Comm () |
updates comm frame | |
void | GenerateRoleChart () |
adds window elements to role chart | |
CEGUI::Window * | GenerateRolebox (string roleName, char roleId, CEGUI::UVector2 position) |
generates a window (role element) |
void CLayoutTRPresim::Update | ( | ) | [virtual] |
override this if the layout is custom interactive
itshould call necessery update subfunctions related to updating the layout
Reimplemented from CLayout.