12#ifndef WSFCOMMPHYSICALLAYER_HPP
13#define WSFCOMMPHYSICALLAYER_HPP
15#include "wsf_export.h"
36 bool Initialize(
double aSimTime)
override {
return true; }
37 bool ProcessInput(UtInput& aInput)
override;
42 bool Receive(
double aSimTime,
Comm* aXmtrPtr,
Message& aMessage,
bool& aNotifyNextLayer)
override;
43 bool Send(
double aSimTime,
size_t aLayerIndex,
Message& aMessage,
bool& aNotifyNextLayer)
override;
48 bool ProcessLayerMessage(
double aSimTime,
layer::Message aLayerMessage,
Message* aCommMessagePtr)
override;
58 virtual bool CanReceiveFrom(
double aSimTime,
Comm& aXmtr,
Result& aResult);
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfRandomVariable.hpp:33
@ cPOSITIVE
Value must be greater than zero.
Definition WsfRandomVariable.hpp:49
Definition WsfComm.hpp:43
A base class defining the interface for the implementation classes. (Implementor).
Definition WsfCommLayer.hpp:127
Definition WsfCommMessage.hpp:51
LayerImp * Clone() const override
Definition WsfCommPhysicalLayer.cpp:37
PhysicalLayer(const PhysicalLayer &aSrc)=default
virtual double GetTransferRate() const
Definition WsfCommPhysicalLayer.hpp:51
PhysicalLayer & operator=(const PhysicalLayer &aRhs)=delete
Prevent use of operator= by declaring, but not defining.
WsfRandomVariable mTransferRate
Definition WsfCommPhysicalLayer.hpp:71
~PhysicalLayer() override=default
bool Initialize(double aSimTime) override
Definition WsfCommPhysicalLayer.hpp:36
Definition WsfCommResult.hpp:34
Definition WsfCommLayerMessage.hpp:36
Definition WsfComm.cpp:34
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32