WSF
usmtf::OneTrackZone Class Referencefinal

#include <OneTrackZone.hpp>

Inheritance diagram for usmtf::OneTrackZone:
Collaboration diagram for usmtf::OneTrackZone:

Public Member Functions

 OneTrackZone (const std::string &aCircularZoneType, const Segment &aSegment) noexcept
InputBlock GetInputBlock () const override
Public Member Functions inherited from usmtf::Zone
 Zone (const Segment &aSegment) noexcept
InputBlock GetInputBlock () const override
void AddAmplificationBlockIfPresent (InputBlock &aInputBlock) const
Public Member Functions inherited from usmtf::USMTF_Transformer
 USMTF_Transformer ()=default
 USMTF_Transformer (const Segment &aSegment)
virtual ~USMTF_Transformer ()=default
template<typename SetType>
const SetType * ExtractSet (const std::string &aStf, const std::string &aLogicalConceptName, bool aSkipValidation=false, bool aIsOptional=false)
Public Member Functions inherited from usmtf::Validatable
bool IsValid () const noexcept
Public Member Functions inherited from usmtf::ErrorManager
virtual ~ErrorManager ()=default
bool HasErrors () const noexcept
void LogErrors (std::ostream &aOut) const noexcept
const std::vector< ValidationError > & GetErrors () const
Public Member Functions inherited from usmtf::Exportable
virtual ~Exportable ()=default
Public Member Functions inherited from usmtf::MacroEnabled
bool HasMacros () const noexcept
void AddMacro (const Macro &aMacro)
void AddMacros (const std::vector< Macro > &aMacros)
const MacroGetMacro (const std::string &aKey) const noexcept
const std::vector< MacroGetMacros () const noexcept

Additional Inherited Members

Static Public Member Functions inherited from usmtf::USMTF_Transformer
static const std::string ReplaceSpaces (const std::string &aTarget, char aDesiredChar) noexcept
 This is in transformer because thats where this is needed in the lib. Script Blocks cant have spaces in names.
Protected Member Functions inherited from usmtf::ErrorManager
void AddError (const ValidationError &aError) noexcept
void AddError (const std::string &aFailureReason, const std::string &aValueValidatied, const std::string &aOptionalSuggestion="") noexcept
void AddError (const std::string &aErrorMessage) noexcept
void AddErrors (const std::vector< ValidationError > &aErrors) noexcept
void ClearErrors () noexcept
Protected Attributes inherited from usmtf::USMTF_Transformer
const Segment mSegment

Detailed Description

Transforms a Segment identifying an OneTrack Zone into an AFSIM zone_set script block Please see Onetrack.hpp for a description of the shape this creates.

Example Segment: ACMID / ACM:ATC / DESIG : ONETRACK TEST / TRACK / USE : CLSB// 1TRACK / LEG / LEG - BEGIN / LEG - END / LEG - WIDTH / MINALT - MAXALT / 01 / 152345N0505657E / 192646N0531226E / 30.5NML - 60.9NMR / 050AMSL - 100AMSL / 02 / 192646N0531226E / 231031N0545323E / 60.5NML - 60.5NMR / 080AMSL - 120AMSL / 03 / 231031N0545325E / 280628N0562901E / 60NML - 80NMR / 100AMSL - 150AMSL / 04 / 280628N0562901E / 330938N0574603E / 25NML - 25NMR / 120AMSL - 180AMSL // APERIOD / DISCRETE / 272300ZNOV / 280100ZNOV// AMPN / TEST FOR ONETRACK//

Constructor & Destructor Documentation

◆ OneTrackZone()

usmtf::OneTrackZone::OneTrackZone ( const std::string & aCircularZoneType,
const Segment & aSegment )
noexcept

Member Function Documentation

◆ GetInputBlock()


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved