WSF
P6DofScenario.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 2016 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 P6DOFSCENARIO_HPP
13#define P6DOFSCENARIO_HPP
14
15#include "p6dof_export.h"
16
17class P6DofAtmosphere;
19class P6DofGravity;
20class P6DofTerrain;
22class P6DofWind;
23
24class P6DOF_EXPORT P6DofScenario
25{
26public:
27 explicit P6DofScenario(P6DofTypeManager* aTypeManager);
28 virtual ~P6DofScenario();
29
30 P6DofScenario& operator=(const P6DofScenario& other) = delete;
31
32 P6DofScenario* Clone() const;
33
34 P6DofTypeManager* GetTypeManager() const { return mTypeManager; }
35
36 P6DofFreezeFlags* GetFreezeFlags() const { return mFreezeFlags; }
37
38 P6DofAtmosphere* GetAtmosphere() const { return mAtmosphere; }
39 P6DofGravity* GetGravity() const { return mGravity; }
40 P6DofTerrain* GetTerrain() const { return mTerrain; }
41 P6DofWind* GetWind() const { return mWind; }
42
43 void SetAtmosphere(P6DofAtmosphere* aAtmosphere) { mAtmosphere = aAtmosphere; }
44 void SetGravity(P6DofGravity* aGravity) { mGravity = aGravity; }
45 void SetTerrain(P6DofTerrain* aTerrain) { mTerrain = aTerrain; }
46 void SetWind(P6DofWind* aWind) { mWind = aWind; }
47
48protected:
49 P6DofScenario(const P6DofScenario& aSrc); // disable copy construction
50
51private:
52 P6DofTypeManager* mTypeManager;
53 P6DofFreezeFlags* mFreezeFlags;
54 P6DofAtmosphere* mAtmosphere;
55 P6DofGravity* mGravity;
56 P6DofTerrain* mTerrain;
57 P6DofWind* mWind;
58};
59#endif // P6DOFSCENARIO_HPP
P6DofAtmosphere provides atmospheric data for Pseudo 6DOF objects.
Definition P6DofAtmosphere.hpp:28
Definition P6DofFreezeFlags.hpp:18
P6DofAtmosphere provides atmospheric data for Pseudo 6DOF objects.
Definition P6DofGravity.hpp:22
Definition P6DofScenario.hpp:25
P6DofWind * GetWind() const
Definition P6DofScenario.hpp:41
P6DofFreezeFlags * GetFreezeFlags() const
Definition P6DofScenario.hpp:36
P6DofScenario & operator=(const P6DofScenario &other)=delete
P6DofTypeManager * GetTypeManager() const
Definition P6DofScenario.hpp:34
void SetGravity(P6DofGravity *aGravity)
Definition P6DofScenario.hpp:44
P6DofGravity * GetGravity() const
Definition P6DofScenario.hpp:39
void SetTerrain(P6DofTerrain *aTerrain)
Definition P6DofScenario.hpp:45
P6DofScenario * Clone() const
Definition P6DofScenario.cpp:65
void SetWind(P6DofWind *aWind)
Definition P6DofScenario.hpp:46
P6DofTerrain * GetTerrain() const
Definition P6DofScenario.hpp:40
void SetAtmosphere(P6DofAtmosphere *aAtmosphere)
Definition P6DofScenario.hpp:43
P6DofAtmosphere * GetAtmosphere() const
Definition P6DofScenario.hpp:38
P6DofScenario(P6DofTypeManager *aTypeManager)
Definition P6DofScenario.cpp:23
P6DofTerrain provides height of terrain for Pseudo 6DOF objects. This base.
Definition P6DofTerrain.hpp:29
Definition P6DofTypeManager.hpp:30
P6DofWind provides wind data for Pseudo 6DOF objects. This base class.
Definition P6DofWind.hpp:23
Copyrights Multiple, All Rights Reserved