WSF
ZoneFactory.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
13#ifndef ZONEFACTORY_HPP
14#define ZONEFACTORY_HPP
15
16#include <memory>
17
18#include "Message.hpp"
19#include "Zone.hpp"
20
21namespace usmtf
22{
24namespace ZoneType
25{
26const std::string cPOLYARC = "POLYARC";
27const std::string cPOLYGON = "POLYGON";
28const std::string cCORRIDOR = "CORRIDOR";
29const std::string cTRACK = "TRACK";
30const std::string cORBIT = "ORBIT";
31const std::string cPOINT = "POINT";
32const std::string cCIRCLE = "CIRCLE";
33const std::string cRADARC = "RADARC";
34const std::string cLINE = "LINE";
35} // namespace ZoneType
36
38std::unique_ptr<Zone> CreateZone(const std::string& zoneType, const Segment& aSegment) noexcept;
39} // namespace usmtf
40
41#endif
Definition Segment.hpp:30
currently supported zone types.
Definition ZoneFactory.hpp:25
const std::string cTRACK
Definition ZoneFactory.hpp:29
const std::string cRADARC
Definition ZoneFactory.hpp:33
const std::string cPOLYARC
Definition ZoneFactory.hpp:26
const std::string cORBIT
Definition ZoneFactory.hpp:30
const std::string cCORRIDOR
Definition ZoneFactory.hpp:28
const std::string cPOLYGON
Definition ZoneFactory.hpp:27
const std::string cCIRCLE
Definition ZoneFactory.hpp:32
const std::string cLINE
Definition ZoneFactory.hpp:34
const std::string cPOINT
Definition ZoneFactory.hpp:31
Definition Acmid.cpp:17
std::unique_ptr< Zone > CreateZone(const std::string &zoneType, const Segment &aSegment) noexcept
Self Explanatory, instantiate a zone using the correct supported USMTF_Transformer.
Definition ZoneFactory.cpp:24
Copyrights Multiple, All Rights Reserved