WSF
WsfRIC_OffsetTargetPoint.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2020 Infoscitex, a DCS Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef WSFRICOFFSETTARGETPOINT_HPP
13#define WSFRICOFFSETTARGETPOINT_HPP
14
15#include "wsf_space_export.h"
16
17#include <memory>
18
19#include "UtCloneablePtr.hpp"
20#include "UtRIC_Frame.hpp"
22
23namespace wsf
24{
25namespace space
26{
27
30{
31public:
32 explicit RIC_OffsetTargetPoint(std::unique_ptr<OrbitalTargetPoint> aPointPtr)
33 : KinematicOffsetTargetPoint(std::move(aPointPtr))
34 , mFrame{UtVec3d{1.0, 0.0, 0.0}, UtVec3d{0.0, 1.0, 0.0}}
35 {
36 }
37
39 ~RIC_OffsetTargetPoint() override = default;
40
41 void Update(const UtCalendar& aEpoch) override;
42
43 RIC_OffsetTargetPoint* Clone() const override { return new RIC_OffsetTargetPoint{*this}; }
44 UtVec3d GetPositionECI() const override;
45 UtVec3d GetVelocityECI() const override;
46
47private:
48 ut::RIC_Frame mFrame;
49};
50
51} // namespace space
52} // namespace wsf
53
54#endif // WSFRICOFFSETTARGETPOINT_HPP
aObjectPtr Update(simTime)
KinematicOffsetTargetPoint(std::unique_ptr< OrbitalTargetPoint > aPointPtr)
Definition WsfKinematicOffsetTargetPoint.cpp:20
RIC_OffsetTargetPoint(const RIC_OffsetTargetPoint &aOther)=default
RIC_OffsetTargetPoint(std::unique_ptr< OrbitalTargetPoint > aPointPtr)
Definition WsfRIC_OffsetTargetPoint.hpp:32
~RIC_OffsetTargetPoint() override=default
RIC_OffsetTargetPoint * Clone() const override
Create a copy of this target point.
Definition WsfRIC_OffsetTargetPoint.hpp:43
Template specialization for wsf::comm::Address. Allows usage of Address in std::unordered_map/set.
Definition WsfCommAddress.hpp:185
Definition WsfAtmosphere.cpp:23
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32
Copyrights Multiple, All Rights Reserved