nasa / TrickHLA

TrickHLA: An IEEE 1516 High Level Architecture (HLA) Simulation Interoperability Standard Implementation for Trick Base Simulations
Other
38 stars 15 forks source link

Refactor RefFrameBase #109

Closed ezcrues closed 1 year ago

ezcrues commented 1 year ago

Need to refactor the RefFrameBase class to be a true abstract base class. Will create a new RefFrameState class that will instantiate a packing class for the SpaceFOM Reference Frame object using the RefFrameData structure.

ezcrues commented 1 year ago

Refactored the original RefFrameBase class into a new truly abstract RefFrameBase class and a new instantiable RefFrameState class. The only changes required in the TrickHLA sims are to replace instances of RefFrameBase with instances of RefFrameState.

This makes creating new reference frame classes easier to create with less duplicate code. The new RefFrameBase class is being used to create a JEODRefFrameState class for the JEOD examples.

This closes the issue.