WSF
WsfUCI_ComponentTypes.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI//REL TO USA ONLY
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2019 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 WSFUCI_COMPONENTTYPES_HPP
13#define WSFUCI_COMPONENTTYPES_HPP
14
15#include "wsf_oms_uci_export.h"
16#include "WsfObjectTypeList.hpp"
17
18#include "WsfScenario.hpp"
19#include "WsfUCI_Component.hpp"
20
21namespace wsf
22{
24 class UCI_ComponentTypes : public WsfObjectTypeList<UCI_Component>
25 {
26 public:
27 explicit UCI_ComponentTypes(WsfScenario& aScenario);
28 static void RegisterComponentFactory(WsfScenario& aScenario);
29 static WSF_OMS_UCI_EXPORT UCI_ComponentTypes& Get(WsfScenario& aScenario);
30 static WSF_OMS_UCI_EXPORT const UCI_ComponentTypes& Get(const WsfScenario& aScenario);
31 };
32
33} // namespace wsf
34
35#endif
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
static void RegisterComponentFactory(WsfScenario &aScenario)
Definition WsfUCI_ComponentTypes.cpp:78
static WSF_OMS_UCI_EXPORT UCI_ComponentTypes & Get(WsfScenario &aScenario)
Definition WsfUCI_ComponentTypes.cpp:66
UCI_ComponentTypes(WsfScenario &aScenario)
Use the type list constructor to register itself with the scenario.
Definition WsfUCI_ComponentTypes.cpp:54
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32
Copyrights Multiple, All Rights Reserved