15#ifndef WSFOFFSETMOVER_HPP
16#define WSFOFFSETMOVER_HPP
18#include "wsf_export.h"
58 void Update(
double aSimTime)
override;
69 virtual void SetReference(
double aSimTime,
const std::string& aReferenceName);
106 double mReferenceDamageFactor;
109 bool mLocalUpdateActive;
112 bool mReferenceUpdateActive;
118 double mOldRefLocWCS[3];
119 double mOldRefVelWCS[3];
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
WsfSpatialDomain
A collection of enumerations and type definitions that are used across a number of components.
Definition WsfTypes.hpp:32
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
bool ProcessInput(UtInput &aInput) override
Definition WsfMover.cpp:138
bool Initialize(double aSimTime) override
Definition WsfMover.cpp:108
virtual WsfSpatialDomain GetSpatialDomain() const
Definition WsfMover.cpp:339
WsfMover * Clone() const override=0
void Update(double aSimTime) override
Definition WsfMover.cpp:310
WsfStringId mReferenceNameId
The name (ID) of the reference platform.
Definition WsfOffsetMover.hpp:86
void ExtrapolateState(double aSimTime)
Definition WsfOffsetMover.cpp:392
virtual void SetReference(double aSimTime, const std::string &aReferenceName)
Definition WsfOffsetMover.cpp:248
double mOffsetFromReferenceECS[3]
The ECS offset from the reference platform.
Definition WsfOffsetMover.hpp:96
WsfOffsetMover & operator=(const WsfOffsetMover &)=delete
void UpdateTetheredState(double aSimTime)
Definition WsfOffsetMover.cpp:399
WsfPlatform * mReferencePtr
Pointer to the reference platform.
Definition WsfOffsetMover.hpp:83
virtual void SetOffsetFromReference(double aSimTime, const double aOffsetFromReferenceECS[3])
Definition WsfOffsetMover.cpp:277
AttachmentType mAttachmentType
The means by which the platforms are attached to each other.
Definition WsfOffsetMover.hpp:89
OrphanAction
What to do if the reference platform is removed.
Definition WsfOffsetMover.hpp:41
@ cOA_REMOVE
Remove from simulation.
Definition WsfOffsetMover.hpp:44
@ cOA_EXTRAPOLATE
Extrapolate from last known position.
Definition WsfOffsetMover.hpp:43
@ cOA_STOP
Stop moving.
Definition WsfOffsetMover.hpp:42
AttachmentType
The type of attachment between the attached platforms.
Definition WsfOffsetMover.hpp:34
@ cAT_TETHER
The platforms appear to be tethered.
Definition WsfOffsetMover.hpp:35
@ cAT_RIGID
The platforms are rigidly attached to each other.
Definition WsfOffsetMover.hpp:36
void CopyStateFromReference(double aSimTime, WsfPlatform *aReferencePtr)
Copy the kinematic state from leader.
Definition WsfOffsetMover.cpp:364
double mReferenceAttachmentTime
Definition WsfOffsetMover.hpp:93
double mOffsetMagnitude
The magnitude of the offset vector from the reference platform.
Definition WsfOffsetMover.hpp:99
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111