Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

HLA Browser (H-Lab)

Author:
Eric Buchanan
Date:
3/01/03

Overview

H-Lab is a HLA debugging/command logging tool. Most of the code is generated by running a VBscript on a Rational Rose(TM) Model. The program also relies on FLTK 2.0 to provide is GUI.

Model Description

H-Lab subscribes and publishes all objects and interactions.

Usage

H-Lab_COMv2

Optional flags -d dataLoggingFileName -c commandLoggingFileName

GUI

There are three different types of panels in H-Lab: Object Browser, Class Window, Message Window.

The object browser creates a list of types of HLA Objects in the Sim and list of instances of that object stored in the level under it. Double Click on an instance to bring up a Class Window. The Class Window allows you to view the current value of the instances attributes, take ownership and change those attributes, and access to the Message Window for that instance. The Message Window allows the user to remotely invoke any method of an instance with the proper arguments.

HLAB_Gui.jpg

HLAB GUI panel

Test Program

The HLAB can be tested using MSDE.

To run a test, start the RTI and the following components:

~MSF/components/MSDE/*Platform*/test_WheeldeLocomotorComponent
~MSF/components/manager/*Platform*/SimManager  4
~MSF/components/locomotor/*Platform*/WheeledLocomotorComponent atrvSteered.xml ATRV
~MSF/components/HLAB/COMv2-HLAB/*Platform*/H-Lab_COMv2

Select WheeledLocomotor in the HLAB display and then commands form 
the new pop-up display. Enter values as shown in the image below.

HLAB_Gui.jpg

HLAB GUI panel

Files

Code and data of the MSDE model reside in the MSF/component/HLAB/COMv2-HLAB directory and include the following files:

ActuatorClassMessagePanel.cpp // An example of a rational rose generated ClassMessagePanel
ActuatorClassMessagePanel.h // The header for An example of a rational rose generated ClassMessagePanel
ActuatorClassPanel.cpp
ActuatorClassPanel.h
baseClassPanel.cpp // The baseclass of all ClassPanels, handles some generic gui stuff as well
baseClassPanel.h
baseLogger.cpp	// The base class of our logging utilities (subclasses include a CommandLogger and a DataLogger)
baseLogger.h
classPanelFactory.cpp
classPanelFactory.h
COMv2_ClassPanelFactory.cpp
COMv2_ClassPanelFactory.h
COMv2_CommandLogger.cpp
COMv2_CommandLogger.h
COMv2_DataLogger.cpp
COMv2_DataLogger.h
genericRTIBrowser.cpp
genericRTIBrowser.h
H-Lab_COMv2.cpp
makefile
ReturnValueClassMessagePanel.cpp
ReturnValueClassMessagePanel.h
ReturnValueClassPanel.cpp
ReturnValueClassPanel.h
treeRTIBrowser.cpp
treeRTIBrowser.fl
treeRTIBrowser.h

Generated on Thu Apr 7 18:21:16 2005 for MST API by  doxygen 1.4.1