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

JNI code error for Portico C++ #279

Open caglarcetintas opened 5 years ago

caglarcetintas commented 5 years ago

JNI callback funciton for reflectAttirbuteValue with double timestamp overload in ieee1515e package is different in header and cpp files. In FederationAmbassadorLink.cpp, Java_org_portico_impl_cpp1516e_FederateAmbassadorLink_reflectAttributeValues__II_3I_3_3B_3BIIDJII_3I function name is incorrect. Signature does not include a "long" type character but name includes a J after D. Because of this, timestamped attribute updates are not received by C++ federates. Function name should be Java_org_portico_impl_cpp1516e_FederateAmbassadorLink_reflectAttributeValues__II_3I_3_3B_3BIIDII_3I.