WSF
Simulation Observers

WSF by itself does not produce any output. It does this because it is impossible to anticipate all the potential forms of output that may be desired. What WSF does provide, however, it an concept called a 'simulation observers'. Simulation observers are registered and then called from within WSF as various key locations during simulation operation. The observer gather statistics, produce event logs, etc. WSF provides two observers:

  • WsfDisInterface - provides the ability to interact with DIS exercise and create replay files that can be displayed by external programs.
  • WsfEventOutput - A simple text event output mechanism.

Observers can 'connect' to various 'callback objects' that represent events that can occur during the course of the simulation. The events to which you can subscribe and their argument lists are defined in WsfObserver.

What do you want to do next?

Copyrights Multiple, All Rights Reserved