The Brn.Gui is a user interface for the Brn.Sim simulator. It is able to control the simulation execution like a debugger. It visualizes simulation results which are specified in simulation code via the Brn.Measure framework. Furthermore, it is also a result browser for already completed simulations which were executed by the Brn.DistSim distributed simulation framework and stored in the Brn.Db storage.
Real-Time Visualization of Simulation Results
For plain Java objects a tree is populated in the Properties View showing its JavaBean accessible members.
Brn.Gui visualizes diagram data using the SGT Graphics Package.
The Time Bar graphs show packet transmission/reception or internal states and changes in relation to time. It can be seen as Message Sequence Chart or a UML sequence diagram (but with missing edges...). For visualization Brn.Gui uses the jaret timebars. Many thanks to Peter Kliem for providing these fantastic tools.
Link Quality, Signal Strength and Forward Graph
Brn.Gui uses graph editors generated by GMF for displaying several graphs like the displayed link quality graph.
Visualization of Database Simulation Results
Brn.Gui can be used to visualize simulation results stored in database in almost the same way as for real-time data. Specify "Database" as Data Source in the Config View and put in the connection information and the id of the simulation to use. The Data View will be populated in the same way as for real-time simulation data.
The Brn.Gui is a stand-alone Eclipse RCP application. A Brn.Sim instance can be connected to the Brn.Gui via Java RMI. The out-of-process architecture (and the resulting RMI overhead) is mainly technical: the usage of custom classloader during simulation causes several problems which RMI solves through serialization.