WSF
WsfPM_CommLink.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 2021 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 WSFPM_COMMLINK_HPP
13#define WSFPM_COMMLINK_HPP
14
15#include "WsfPM_ObjectList.hpp"
17#include "WsfPProxyNode.hpp"
18
19class WSF_PARSER_EXPORT WsfPM_CommLink : public WsfPProxyNode
20{
21public:
22 WsfPM_CommLink() = default;
24 : WsfPProxyNode(aNode){};
25
26 std::string LinkDestinationPlatformName() const { return GetValue().GetAttr("linkPlatform").ValueToString(); }
27 std::string LinkDestinationCommName() const { return GetValue().GetAttr("linkComm").ValueToString(); }
28};
29
31#endif
Definition WsfPM_ObjectList.hpp:53
WsfPProxyValue GetValue() const
Definition WsfPProxyNode.cpp:79
WsfPProxyNode()
Definition WsfPProxyNode.cpp:24
std::string ValueToString() const
Definition WsfPProxyValue.cpp:243
WsfPProxyValue GetAttr(const WsfPProxyKey &aEntry) const
Definition WsfPProxyValue.hpp:62
Copyrights Multiple, All Rights Reserved