Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • derive the class from the base Attitude class, Kinematic, or another subclass (as appropriate), e.g.   

  • provide a default constructor, copy constructor, operator=, and destructor
  • provide the Initialize and Clone methods
  • add protected/private data and methods as needed
  • add protected static const data, if needed
  • if you add fields that are user-settable, then:
    • add them to the protected part of the class
    • add a protected enumerated type, including the total parameter count, for the new fields, e.g. 
    • add the protected static PARAMETER_TEXT and PARAMETER_TYPE arrays for the new fields
    • ensure that your copy constructor and operator= handle the new data correctly
    • add the appropriate public parameter access methods, e.g. SetRealParameter, GetRealParameter, or SetBoolean, etc.
    • add the required public methods GetParameterText, GetParameterID, GetParameterType, and GetParameterTypeString
    • if you added a data object, add the required public object access methods (GetRefObjectNameArray, SetRefObject, etc.)
  • provide the required protected method, ComputeCosineMatrixAndAngularVelocity

...