I have an OpenEaagles simulation that was developed by a third party. I am attempting to monitor the simulation and send messages to a separate application that we have a developed. I am somewhat confused about the best way to do this.
The first thing that I attempted to do was extend SimLogger and add that as a logger. That seemed to mostly work, although since component only has one logger, it interfered with the existing logger that wrote events to a database. It also did not really feel like what I was writing was a logger.
It seemed more natural to try to add it to the Simulation as a Component. However, either events are not transmitted to components in general, or I did not find the way to enable this. So while I was able to define the component and the updateTC method is called, I do not appear to get any sort of notification when something happens in the simulation.
I could also add the existing logger as a logger in my component and forward log events to it when I am done processing them. That seems somewhat hackish but can certainly be made to work.
Is there a preferred way to do what I am trying to do?