|
WSF
|
#include <WsfScriptedOrbitalDynamicsTerm.hpp>


Public Member Functions | |
| WsfScriptedOrbitalDynamicsTerm ()=default | |
| WsfScriptedOrbitalDynamicsTerm (const WsfScriptedOrbitalDynamicsTerm &aOther) | |
| ~WsfScriptedOrbitalDynamicsTerm () override=default | |
| WsfScriptedOrbitalDynamicsTerm & | operator= (const WsfScriptedOrbitalDynamicsTerm &aOther)=delete |
| bool | ProcessInput (UtInput &aInput) override |
| WsfScriptedOrbitalDynamicsTerm * | Clone () const override |
| const char * | GetScriptClassName () const override |
| UtVec3d | ComputeAcceleration (double aMass, const UtCalendar &aTime, const UtVec3d &aPosition, const UtVec3d &aVelocity) const override |
| std::string | GetTermType () const override |
| Return a string indicating the type of term. | |
| bool | Initialize (const WsfOrbitalDynamics &aDynamics) override |
| const std::string & | GetScriptName () const |
| void | SetScriptName (const std::string &aName) |
| Public Member Functions inherited from WsfOrbitalDynamicsTerm | |
| WsfOrbitalDynamicsTerm () | |
| WsfOrbitalDynamicsTerm (const WsfOrbitalDynamicsTerm &aOther) | |
| WsfOrbitalDynamicsTerm & | operator= (const WsfOrbitalDynamicsTerm &aOther)=delete |
| const char * | GetScriptClassName () const override |
| Public Member Functions inherited from WsfObject | |
| WsfObject () | |
| This is the constructor for the WsfObject class. | |
| ~WsfObject () override | |
| This is the destructor for the WsfObject class. | |
| const char * | GetScriptClassName () const override |
| const std::string & | GetType () const |
| WsfStringId | GetTypeId () const |
| Get the string ID of the 'type' of the object. | |
| void | SetType (WsfStringId aType) |
| const std::string & | GetBaseType () const |
| WsfStringId | GetBaseTypeId () const |
| const TypeList & | GetTypeList () const |
| bool | IsA_TypeOf (WsfStringId aType) const |
| WsfObject & | operator= (const WsfObject &aRhs) |
| Assignment operator. | |
| template<typename T> | |
| void | Serialize (T &aBuff) |
| For XIO (de)serialization. | |
| const std::string & | GetName () const |
| WsfStringId | GetNameId () const |
| void | SetName (WsfStringId aName) |
Static Public Attributes | |
| static constexpr const char * | cTYPE {"scripted"} |
Additional Inherited Members | |
| Public Types inherited from WsfObject | |
| typedef std::vector< WsfStringId > | TypeList |
| The list of types returned by GetTypeList. | |
| Protected Member Functions inherited from WsfOrbitalDynamicsTerm | |
| const WsfOrbitalDynamics * | GetDynamics () const |
| WsfObject (const WsfObject &aSrc) | |
| Copy constructor (for Clone()). | |
|
default |
Referenced by Clone(), operator=(), and WsfScriptedOrbitalDynamicsTerm().
|
inline |
|
overridedefault |
|
inlineoverridevirtual |
Return a copy of this object. Must be implemented by all derived types. If cloning is impossible, a WsfUncloneableException should be thrown.
Implements WsfOrbitalDynamicsTerm.
References WsfScriptedOrbitalDynamicsTerm().
|
overridevirtual |
Return the acceleration in the ECI frame.
This routine computes the acceleration represented by this term that would be experienced by a body of the given aMass at the given aTime, aPosition and aVelocity. The given aPosition and aVelocity are in the ECI frame, and the returned acceleration is also in the ECI frame.
| aMass | - The mass of the object that would experience this dynamical term. |
| aTime | - The time at which the acceleration is being computed. |
| aPosition | - The position of the body that would experience this acceleration. |
| aVelocity | - The velocity of the body that would experience this acceleration. |
Implements WsfOrbitalDynamicsTerm.
References WsfOrbitalDynamicsTerm::GetDynamics(), WsfOrbitalDynamics::GetPropagator(), WsfSimulation::GetScriptContext(), wsf::space::OrbitalPropagator::GetSpaceMover(), and moverPtr.
|
inlineoverride |
|
inline |
|
inlineoverridevirtual |
|
overridevirtual |
Initialize the term.
This is called when the owning WsfOrbitalDynamics is initialized. This enables terms that might need to inspect their owning dynamics.
| aDynamics | - the dynamics to which this term belongs. |
Reimplemented from WsfOrbitalDynamicsTerm.
References WsfOrbitalDynamicsTerm::Initialize(), and ok.
|
delete |
References WsfScriptedOrbitalDynamicsTerm().
|
overridevirtual |
Process input from a generic source.
Examine the current input command. If it is NOT one of the commands recognized by this class then it simply returns 'false'. If it is one of the commands recognized by this class then it processes the command and returns 'true'.
| aInput | a reference to a UtInput object. |
| UtInput::ExceptionBase | (or an object derived from it) if the command was recognized but contains some sort of error. |
Reimplemented from WsfObject.
|
inline |
|
staticconstexpr |
Referenced by GetTermType(), and WsfOrbitalDynamicsTermTypes::WsfOrbitalDynamicsTermTypes().