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

Only deliver ProvideAttributeValueUpdate callbacks to the owning federate #324

Closed martinffi closed 2 years ago

martinffi commented 3 years ago

Currently, ProvideAttributeValueUpdate callbacks seem to be delivered to all connected federates, even though they don't own any attributes of the object in question. Added a check that only delivers the callback for attributes that are actually owned by the federate, and doesn't deliver the callback if no attributes are owned.