WSF
WsfRadarSignatureTypes.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 2003-2015 The Boeing 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 WSFRADARSIGNATURETYPES_HPP
13#define WSFRADARSIGNATURETYPES_HPP
14
15#include "WsfObjectTypeList.hpp"
16#include "WsfRadarSignature.hpp"
17
18class WsfRadarSignatureTypes : public WsfObjectTypeList<WsfRadarSignature>
19{
20public:
22
24 static WSF_EXPORT const WsfRadarSignatureTypes& Get(const WsfScenario& aScenario);
26
28
29 bool InitializeType(WsfRadarSignature* aTypePtr) override;
30
32
33 typedef WsfRadarSignature* (*FactoryPtr)(const std::string&);
34 WSF_EXPORT void AddObjectFactory(FactoryPtr aFactoryPtr);
35
36 WsfRadarSignature* ObjectFactory(const std::string& aTypeName);
38
39private:
40 typedef std::vector<FactoryPtr> ObjectFactoryList;
41 ObjectFactoryList mObjectFactoryList;
42};
43
44#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
WsfObjectTypeList(WsfScenario &aScenario, unsigned int aFlags, const std::string &aBlockName)
Definition WsfObjectTypeList.hpp:76
static WSF_EXPORT WsfRadarSignatureTypes & Get(WsfScenario &aScenario)
Return a modifiable reference to the type list associated with the specified scenario.
Definition WsfRadarSignatureTypes.cpp:19
WSF_EXPORT void AddObjectFactory(FactoryPtr aFactoryPtr)
Definition WsfRadarSignatureTypes.cpp:54
WsfRadarSignature * ObjectFactory(const std::string &aTypeName)
bool InitializeType(WsfRadarSignature *aTypePtr) override
Definition WsfRadarSignatureTypes.cpp:45
WsfRadarSignatureTypes(WsfScenario &aScenario)
Definition WsfRadarSignatureTypes.cpp:32
WsfRadarSignature *(* FactoryPtr)(const std::string &)
Definition WsfRadarSignatureTypes.hpp:33
An object that represent the radar signature of a platform.
Definition WsfRadarSignature.hpp:27
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
Copyrights Multiple, All Rights Reserved