WSF
WsfSixDOF_Object.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 WSFSIXDOFOBJECT_HPP
13#define WSFSIXDOFOBJECT_HPP
14
15#include "wsf_six_dof_export.h"
16
17#include <list>
18#include <string>
19
20namespace wsf
21{
22namespace six_dof
23{
24class Mover;
25
26class WSF_SIX_DOF_EXPORT Object
27{
28public:
29 Object() = default;
30 virtual ~Object() = default;
31
32 virtual std::string GetName() const { return mObjName; };
33 virtual void SetName(const std::string& aName) { mObjName = aName; };
34
35 // ParentVehicle is the Vehicle this object is attached to (This may be different from Parent)
36 virtual Mover* GetParentVehicle() const { return mParentVehicle; }
37 virtual void SetParentVehicle(Mover* aParentVehicle) { mParentVehicle = aParentVehicle; }
38
39protected:
40 Object(const Object&) = default;
41
42 std::string mObjName = "";
44};
45} // namespace six_dof
46} // namespace wsf
47
48#endif
This is a base class for detailed air movers. This umbrella can cover RB6 or PM6 models.
Definition WsfSixDOF_Mover.hpp:58
virtual void SetName(const std::string &aName)
Definition WsfSixDOF_Object.hpp:33
std::string mObjName
Definition WsfSixDOF_Object.hpp:42
Mover * mParentVehicle
Definition WsfSixDOF_Object.hpp:43
Object(const Object &)=default
virtual void SetParentVehicle(Mover *aParentVehicle)
Definition WsfSixDOF_Object.hpp:37
virtual Mover * GetParentVehicle() const
Definition WsfSixDOF_Object.hpp:36
virtual std::string GetName() const
Definition WsfSixDOF_Object.hpp:32
virtual ~Object()=default
Definition WsfSA_Processor.hpp:35
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32
Copyrights Multiple, All Rights Reserved