WSF
WsfCommTypes.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 WSFCOMMTYPES_HPP
13#define WSFCOMMTYPES_HPP
14
15#include "WsfComm.hpp"
16#include "WsfObjectTypeList.hpp"
17
18namespace wsf
19{
20namespace comm
21{
22
23class Types : public WsfObjectTypeList<Comm>
24{
25public:
27
28 static WSF_EXPORT Types& Get(WsfScenario& aScenario);
29 static WSF_EXPORT const Types& Get(const WsfScenario& aScenario);
31
32 Types(WsfScenario& aScenario);
33 ~Types() override = default;
34};
35
36} // namespace comm
37} // namespace wsf
38
39#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
Types(WsfScenario &aScenario)
Definition WsfCommTypes.cpp:63
~Types() override=default
static WSF_EXPORT Types & Get(WsfScenario &aScenario)
Return a modifiable reference to the type list associated with the specified scenario.
Definition WsfCommTypes.cpp:50
Definition WsfComm.cpp:34
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32
Copyrights Multiple, All Rights Reserved