MGuiDriver Class Reference
[Modules]

Inheritance diagram for MGuiDriver:

QDriver QBaseModule List of all members.

Detailed Description

driver module for Interactive GUI, interfaced via TSocket with any class inerithing QGDMessageHandler

Author:
Marco Vignati
Driver module for Interactive GUI It handles menus, parameter configurations and such


Public Member Functions

 MGuiDriver (QSequence *s)
 constructor
 ~MGuiDriver ()
 destructor
Action Init ()
 Init method.
Action Do (QEvent *ev)
 Do method.
Action Done ()
 Done method.

Private Types

enum  MenuLevel { ML_Init = 0, ML_Do, ML_Done }

Private Member Functions

Action Menu (MenuLevel level)
 Menu method. Handle Menu logic.
Action HandleCommand (QGDCommand cmd)
 HandleCommand method. Execute a command.
QGDCommand GetCommand (MenuLevel level)
 Get command from standard input.
void SendCommands (MenuLevel level)
 Send Avalaible commands to the server.
void ListModules ()
 Send List of avalaible modules.
void ListModuleParameters (int modIndex)
 Send List of module parameter.
void ChangeModuleParameter (int modIndex, const QVdt &val)
 change module parameter
void SendData (const std::string &type)
 send data
void SendTObject (const TObject &obj)
 general purpose function used to send TObjects

Private Attributes

TSocket * fSocket
QEventfCurrentEvent
QRunDatafRunData


The documentation for this class was generated from the following files:
Generated on Fri Mar 6 13:40:41 2009 for CUORE Software by  doxygen 1.5.1