WSF
WsfTrackExtrapolationStrategyTypes.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 WSFTRACKEXTRAPOLATIONSTRATEGYTYPES_HPP
13#define WSFTRACKEXTRAPOLATIONSTRATEGYTYPES_HPP
14
15#include "wsf_export.h"
16
17#include "WsfObjectTypeList.hpp"
19
20namespace wsf
21{
23
27class TrackExtrapolationStrategyTypes : public WsfObjectTypeList<TrackExtrapolationStrategy>
28{
29public:
31
33
34 static WSF_EXPORT const TrackExtrapolationStrategyTypes& Get(const WsfScenario& aScenario);
36
38
40 DefaultTrackExtrapolationStrategy& GetDefaultStrategy() const { return *mDefaultStrategyPtr; }
41
42private:
43 DefaultTrackExtrapolationStrategy* mDefaultStrategyPtr{nullptr};
44};
45
46} // namespace wsf
47#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
WsfObjectTypeList(WsfScenario &aScenario, unsigned int aFlags, const std::string &aBlockName)
Definition WsfObjectTypeList.hpp:76
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
The default track extrapolation strategy.
Definition WsfDefaultTrackExtrapolationStrategy.hpp:26
static WSF_EXPORT TrackExtrapolationStrategyTypes & Get(WsfScenario &aScenario)
Return a modifiable reference to the type list associated with the specified scenario.
Definition WsfTrackExtrapolationStrategyTypes.cpp:30
DefaultTrackExtrapolationStrategy & GetDefaultStrategy() const
Get the default strategy.
Definition WsfTrackExtrapolationStrategyTypes.hpp:40
TrackExtrapolationStrategyTypes(WsfScenario &aScenario)
Definition WsfTrackExtrapolationStrategyTypes.cpp:36
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32
Copyrights Multiple, All Rights Reserved