WSF
WsfCommRouterTypes.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 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 WSFCOMMROUTERTYPES_HPP
13#define WSFCOMMROUTERTYPES_HPP
14
15#include "wsf_export.h"
16
17#include "WsfCommRouter.hpp"
18#include "WsfObjectTypeList.hpp"
19
20namespace wsf
21{
22namespace comm
23{
24namespace router
25{
26
27class Types : public WsfObjectTypeList<Router>
28{
29public:
31
32 static WSF_EXPORT Types& Get(WsfScenario& aScenario);
33 static WSF_EXPORT const Types& Get(const WsfScenario& aScenario);
35
36 Types(WsfScenario& aScenario);
37 ~Types() override = default;
38};
39
40} // namespace router
41} // namespace comm
42} // namespace wsf
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
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
~Types() override=default
Types(WsfScenario &aScenario)
Definition WsfCommRouterTypes.cpp:79
static WSF_EXPORT Types & Get(WsfScenario &aScenario)
Return a modifiable reference to the type list associated with the specified scenario.
Definition WsfCommRouterTypes.cpp:66
Definition WsfComm.hpp:36
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