openlvc / portico

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!
http://www.porticoproject.org
151 stars 81 forks source link

1516e FOM Parser - <sharing /> Property Extraction #283

Closed adlaws closed 5 years ago

adlaws commented 5 years ago

This is a minor tweak to the 1516e FOM parser so that it extracts the <sharing /> property for interactions and object class attributes and makes it available via the constructed ObjectModel.

This is useful because the FOM parser can also be used to parse a SOM, from which we can determine the publications and subscriptions for a federate.

With this change in place, the parser (case insensitively) recognises the standard Publish, Subscribe, PublishSubscribe and Neither values, defaulting to Neither in the case that no <sharing /> property is present, or an unrecognised <sharing /> property is provided.

adlaws commented 5 years ago

Oops - merging into wrong branch.