WSF
wizard/usmtf/source/Platform.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 2019 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 PLATFORM_HPP
13#define PLATFORM_HPP
14
15#include "usmtf_export.h"
16
18#include "AircraftMission.hpp"
19#include "Exportable.hpp"
20#include "MacroEnabled.hpp"
21#include "Message.hpp"
23#include "TaskUnit.hpp"
24
25namespace usmtf
26{
34class USMTF_EXPORT Platform : public Exportable
35{
36public:
37 explicit Platform() noexcept;
38 InputBlock GetInputBlock() const override;
39 const PlatformTypeDefinition& GetTypeDefinition() const noexcept;
40 void SetTypeDefinition(const PlatformTypeDefinition& aDefinition);
41 void SetCategory(const std::string& aCategory);
42 void SetPosition(const std::string& aPosition);
43 void SetName(const std::string& aName);
44
45private:
46 PlatformTypeDefinition mDefinition;
47 std::string mCategory;
48 std::string mPosition;
49 std::string mName;
50};
51} // namespace usmtf
52#endif
Definition Exportable.hpp:27
Definition InputBlock.hpp:39
Exportable entity that exports an input block for a type definition.
Definition PlatformTypeDefinition.hpp:30
Platform() noexcept
Definition wizard/usmtf/source/Platform.cpp:19
const PlatformTypeDefinition & GetTypeDefinition() const noexcept
Definition wizard/usmtf/source/Platform.cpp:32
void SetPosition(const std::string &aPosition)
Definition wizard/usmtf/source/Platform.cpp:47
void SetName(const std::string &aName)
Definition wizard/usmtf/source/Platform.cpp:52
void SetTypeDefinition(const PlatformTypeDefinition &aDefinition)
Definition wizard/usmtf/source/Platform.cpp:37
void SetCategory(const std::string &aCategory)
Definition wizard/usmtf/source/Platform.cpp:42
InputBlock GetInputBlock() const override
Definition wizard/usmtf/source/Platform.cpp:21
Definition Acmid.cpp:17
Copyrights Multiple, All Rights Reserved