WSF
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
22namespace wsf
23{
25
28{
29public:
30 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
36private:
37 std::map<WsfStringId, ut::CloneablePtr<wsf::TrackExtrapolationBase>> mExtrapolators;
38};
39} // namespace wsf
40
41#endif
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
A common base class of track extrapolation objects.
Definition WsfTrackExtrapolation.hpp:35
void Add(std::unique_ptr< wsf::TrackExtrapolationBase > aExtrapolatorPtr)
Definition WsfTrackExtrapolators.cpp:16
TrackExtrapolators * Clone() const
Definition WsfTrackExtrapolators.hpp:34
const wsf::TrackExtrapolationBase * Find(WsfStringId aExtrapolatorType) const
Definition WsfTrackExtrapolators.cpp:21
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32
Copyrights Multiple, All Rights Reserved