WSF
WsfCommPhysicalLayerJTIDS.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 2016 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 WSFCOMMPHYSICALLAYERJTIDS_HPP
13#define WSFCOMMPHYSICALLAYERJTIDS_HPP
14
15// Base class
17
18namespace wsf
19{
20namespace comm
21{
22
24{
25public:
26 // Constructor and destructor
27 PhysicalLayerJTIDS() = default;
28 ~PhysicalLayerJTIDS() override = default;
29 ;
30
32
33 wsf::comm::LayerImp* Clone() const override;
34 bool Initialize(double aSimTime) override { return true; }
35 bool ProcessInput(UtInput& aInput) override { return false; }
37
39
40 bool Receive(double aSimTime, Comm* aXmtrPtr, Message& aMessage, bool& aNotifyNextLayer) override;
41 bool Send(double aSimTime, size_t aLayerIndex, Message& aMessage, bool& aNotifyNextLayer) override;
43
45
46 bool ProcessLayerMessage(double aSimTime, layer::Message aMessage, Message* aCommMessagePtr) override;
48
49protected:
50 // Copy constructor
51 PhysicalLayerJTIDS(const PhysicalLayerJTIDS& aSrc) = default;
52
53private:
55 PhysicalLayerJTIDS& operator=(const PhysicalLayerJTIDS& aRhs) = delete;
56};
57
58} // namespace comm
59} // namespace wsf
60
61#endif
Definition WsfComm.hpp:43
A base class defining the interface for the implementation classes. (Implementor).
Definition WsfCommLayer.hpp:127
Definition WsfCommMessage.hpp:51
bool ProcessInput(UtInput &aInput) override
Definition WsfCommPhysicalLayerJTIDS.hpp:35
bool Send(double aSimTime, size_t aLayerIndex, Message &aMessage, bool &aNotifyNextLayer) override
Definition WsfCommPhysicalLayerJTIDS.cpp:66
bool ProcessLayerMessage(double aSimTime, layer::Message aMessage, Message *aCommMessagePtr) override
Process a layer event.
Definition WsfCommPhysicalLayerJTIDS.cpp:78
wsf::comm::LayerImp * Clone() const override
Definition WsfCommPhysicalLayerJTIDS.cpp:31
PhysicalLayerJTIDS(const PhysicalLayerJTIDS &aSrc)=default
bool Receive(double aSimTime, Comm *aXmtrPtr, Message &aMessage, bool &aNotifyNextLayer) override
Definition WsfCommPhysicalLayerJTIDS.cpp:44
bool Initialize(double aSimTime) override
Definition WsfCommPhysicalLayerJTIDS.hpp:34
~PhysicalLayerJTIDS() override=default
Definition WsfCommLayerMessage.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