WSF
WsfCommProtocolTypes.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 2018 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 WSFCOMMPROTOCOLTYPES_HPP
13#define WSFCOMMPROTOCOLTYPES_HPP
14
16#include "WsfObjectTypeList.hpp"
17
18class WsfScenario;
19
20namespace wsf
21{
22namespace comm
23{
24
25class ProtocolTypes : public WsfObjectTypeList<ProtocolInterface>
26{
27public:
28 static WSF_EXPORT ProtocolTypes& Get(WsfScenario& aScenario);
29 static WSF_EXPORT const ProtocolTypes& Get(const WsfScenario& aScenario);
30
31 explicit ProtocolTypes(WsfScenario& aScenario);
32
35 bool LoadProtocolComponent(UtInput& aInput, Comm& aComm, bool aIsAdding, int aRole, bool aIsEditable) const;
36};
37
38} // namespace comm
39} // namespace wsf
40
41#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
Definition WsfComm.hpp:43
bool LoadProtocolComponent(UtInput &aInput, Comm &aComm, bool aIsAdding, int aRole, bool aIsEditable) const
Definition WsfCommProtocolTypes.cpp:85
ProtocolTypes(WsfScenario &aScenario)
Definition WsfCommProtocolTypes.cpp:75
static WSF_EXPORT ProtocolTypes & Get(WsfScenario &aScenario)
Definition WsfCommProtocolTypes.cpp:63
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