Portico is an open source, cross-platform, fully supported HLA RTI implementation. Designed with modularity and flexibility in mind, Portico is a production-grade RTI for the Simulation and Training Community, so come say hi!
This PR represents work done to statisfy Portico feature request #237
Added framework for Service Invocation reporting
RTI now intercepts HLAfederate.HLAadjust.HLAsetServiceReporting interactions and sends a SetServiceReporting message to the corresponding Federate's LRC
Upon receiving the SetServiceReporting, the LRC sets an internal flag that causes it to emit a HLAreportServiceInvocation interaction whenever an RtiAmbassador or FederateAmbassador service is invoked.
Added hooks to emit the HLAreportServiceInvocation interaction in all supported Rti1516eAmbassador methods
Added hooks to emit the HLAreportServiceInvocation interaction in the corresponding callback handler classes of all FederateAmbassador methods
Currently the Service Reporting switch can only be enabled via the HLAsetServiceReporting interaction. The FDD switches settings are ignored
Support for Exception reporting
Can be enabled per-federate through the
HLAfederate.HLAadjust.HLAsetExceptionReporting interaction.
Uses the same framework as Service Invocation reporting
Method hook added to MomManager to report HLAreportFederateLost to the
federation.
Mechanism to trigger this method does not currently exist, so have been unable to test it properly
In addition to sending the HLAreportFederateLost interaction, the method also deletes the lost federate's MOM object.
Note The HLAreportMomException interaction was implemented in the previous PR #270
This PR represents work done to statisfy Portico feature request #237
HLAfederate.HLAadjust.HLAsetServiceReporting
interactions and sends aSetServiceReporting
message to the corresponding Federate's LRCHLAreportServiceInvocation
interaction whenever anRtiAmbassador
orFederateAmbassador
service is invoked.HLAreportServiceInvocation
interaction in all supportedRti1516eAmbassador
methodsHLAreportServiceInvocation
interaction in the corresponding callback handler classes of allFederateAmbassador
methodsHLAsetServiceReporting
interaction. The FDD switches settings are ignoredHLAfederate.HLAadjust.HLAsetExceptionReporting
interaction.MomManager
to reportHLAreportFederateLost
to the federation.HLAreportFederateLost
interaction, the method also deletes the lost federate's MOM object.Note The
HLAreportMomException
interaction was implemented in the previous PR #270