WSF
WsfRadioXmtrRcvr.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 2017 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 WSFRADIOXMTRRCVR_HPP
13#define WSFRADIOXMTRRCVR_HPP
14
15#include "WsfComm.hpp"
16
17namespace wsf
18{
19namespace comm
20{
21
23{
24public:
25 RadioXmtrRcvr(WsfScenario& aScenario, CommType aCommType = cCT_XMT_RCV);
26 ~RadioXmtrRcvr() override = default;
27
29
30 Comm* Clone() const override;
32
34
35 bool ReceiveSetup(double aSimTime, Comm* aXmtrPtr, Message& aMessage) override;
37
38 bool CanSendTo(double aSimTime, Comm* aRcvrPtr, Message* aMessagePtr = nullptr) override;
39
40protected:
42 RadioXmtrRcvr(const RadioXmtrRcvr& aSrc) = default;
43
44private:
46 RadioXmtrRcvr& operator=(const RadioXmtrRcvr& aRhs) = delete;
47};
48
49} // namespace comm
50} // namespace wsf
51
52#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
Comm(const WsfScenario &aScenario, CommType aCommType=cCT_XMT_RCV)
Definition WsfComm.cpp:37
CommType
Definition WsfComm.hpp:53
@ cCT_XMT_RCV
Transmit and receive.
Definition WsfComm.hpp:56
Definition WsfCommMessage.hpp:51
bool CanSendTo(double aSimTime, Comm *aRcvrPtr, Message *aMessagePtr=nullptr) override
Definition WsfRadioXmtrRcvr.cpp:85
~RadioXmtrRcvr() override=default
RadioXmtrRcvr(const RadioXmtrRcvr &aSrc)=default
Copy Constructor.
bool ReceiveSetup(double aSimTime, Comm *aXmtrPtr, Message &aMessage) override
Definition WsfRadioXmtrRcvr.cpp:70
Comm * Clone() const override
Standard Clone() method.
Definition WsfRadioXmtrRcvr.cpp:64
RadioXmtrRcvr(WsfScenario &aScenario, CommType aCommType=cCT_XMT_RCV)
Definition WsfRadioXmtrRcvr.cpp:34
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