WSF
WsfSubsurfaceMover.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 2003-2015 The Boeing 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 WSFSUBSURFACEMOVER_HPP
13#define WSFSUBSURFACEMOVER_HPP
14
15#include "wsf_mil_export.h"
16
17#include "WsfWaypointMover.hpp"
18
22class WSF_MIL_EXPORT WsfSubsurfaceMover : public WsfWaypointMover
23{
24public:
26 ~WsfSubsurfaceMover() override = default;
27
29
30 WsfMover* Clone() const override;
31 bool Initialize(double aSimTime) override;
33
35
36 void PostMoveUpdate(double aSimTime) override;
37
38protected:
40 double GetHeightOfSurface() const { return 0.0; }
41
42 virtual void Dive();
43 virtual void Surface();
44};
45
46#endif
WsfSpatialDomain
A collection of enumerations and type definitions that are used across a number of components.
Definition WsfTypes.hpp:32
@ WSF_SPATIAL_DOMAIN_SUBSURFACE
Ships, boats, etc.
Definition WsfTypes.hpp:37
WsfMover()=delete
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
~WsfSubsurfaceMover() override=default
WsfSpatialDomain GetSpatialDomain() const override
Definition WsfSubsurfaceMover.hpp:34
WsfSubsurfaceMover(WsfScenario &aScenario)
Definition WsfSubsurfaceMover.cpp:20
double GetHeightOfSurface() const
Return the Height of Surface of the point directly above the mover.
Definition WsfSubsurfaceMover.hpp:40
bool Initialize(double aSimTime) override
Definition WsfWaypointMover.cpp:122
WsfWaypointMover()=delete
WsfMover * Clone() const override
Definition WsfWaypointMover.cpp:326
virtual void PostMoveUpdate(double aSimTime)
Definition WsfWaypointMover.hpp:156
Copyrights Multiple, All Rights Reserved