WSF
src
core
wsf
source
WsfTrackExtrapolators.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 2021 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 WSFTRACKEXTRAPOLATORS_HPP
13
#define WSFTRACKEXTRAPOLATORS_HPP
14
15
#include "wsf_export.h"
16
17
#include <map>
18
19
#include "UtCloneablePtr.hpp"
20
#include "
WsfStringId.hpp
"
21
22
namespace
wsf
23
{
24
class
TrackExtrapolationBase
;
25
27
class
WSF_EXPORT
TrackExtrapolators
28
{
29
public
:
30
TrackExtrapolators
() =
default
;
31
~TrackExtrapolators
() =
default
;
32
void
Add
(std::unique_ptr<wsf::TrackExtrapolationBase> aExtrapolatorPtr);
33
const
wsf::TrackExtrapolationBase
*
Find
(
WsfStringId
aExtrapolatorType)
const
;
34
TrackExtrapolators
*
Clone
()
const
{
return
new
TrackExtrapolators
(*
this
); }
35
36
private
:
37
std::map<WsfStringId, ut::CloneablePtr<wsf::TrackExtrapolationBase>> mExtrapolators;
38
};
39
}
// namespace wsf
40
41
#endif
WsfStringId.hpp
WsfStringId
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition
WsfStringId.hpp:23
WSF_EXPORT
#define WSF_EXPORT
Definition
WsfXIO_Export.hpp:35
wsf::TrackExtrapolationBase
A common base class of track extrapolation objects.
Definition
WsfTrackExtrapolation.hpp:35
wsf::TrackExtrapolators::~TrackExtrapolators
~TrackExtrapolators()=default
wsf::TrackExtrapolators::TrackExtrapolators
TrackExtrapolators()=default
wsf::TrackExtrapolators::Add
void Add(std::unique_ptr< wsf::TrackExtrapolationBase > aExtrapolatorPtr)
Definition
WsfTrackExtrapolators.cpp:16
wsf::TrackExtrapolators::Clone
TrackExtrapolators * Clone() const
Definition
WsfTrackExtrapolators.hpp:34
wsf::TrackExtrapolators::Find
const wsf::TrackExtrapolationBase * Find(WsfStringId aExtrapolatorType) const
Definition
WsfTrackExtrapolators.cpp:21
wsf
Function definitions for those who need run-time access to the version.
Definition
WsfComm.cpp:32
Copyrights Multiple, All Rights Reserved