WSF
wsf::comm::PhysicalLayerJTIDS Class Reference

#include <WsfCommPhysicalLayerJTIDS.hpp>

Inheritance diagram for wsf::comm::PhysicalLayerJTIDS:
Collaboration diagram for wsf::comm::PhysicalLayerJTIDS:

Public Member Functions

 PhysicalLayerJTIDS ()=default
 ~PhysicalLayerJTIDS () override=default
Public Member Functions inherited from wsf::comm::PhysicalLayer
 PhysicalLayer ()=default
 ~PhysicalLayer () override=default
virtual double GetTransferRate () const
Public Member Functions inherited from wsf::comm::LayerImp
virtual ~LayerImp ()=default
void SetUpperLayer (Layer *aLayerPtr)
LayerGetUpperLayer () const
void SetLowerLayer (Layer *aLayerPtr)
LayerGetLowerLayer () const
bool DebugEnabled () const
 Determine if debugging is enabled.
void SetDebugEnabled (bool aDebugEnabled)
virtual bool Initialize2 (double aSimTime)
CommParent () const
void SetParent (Comm *aParentCommPtr)
void SetIndex (size_t aIndex)
size_t GetIndex () const

Common infrastructure methods.

wsf::comm::LayerImpClone () const override
bool Initialize (double aSimTime) override
bool ProcessInput (UtInput &aInput) override

Send/Receive methods

bool Receive (double aSimTime, Comm *aXmtrPtr, Message &aMessage, bool &aNotifyNextLayer) override
bool Send (double aSimTime, size_t aLayerIndex, Message &aMessage, bool &aNotifyNextLayer) override

Comm event methods.

bool ProcessLayerMessage (double aSimTime, layer::Message aMessage, Message *aCommMessagePtr) override
 Process a layer event.
 PhysicalLayerJTIDS (const PhysicalLayerJTIDS &aSrc)=default

Additional Inherited Members

virtual bool CanReceiveFrom (double aSimTime, Comm &aXmtr, Result &aResult)
 PhysicalLayer (const PhysicalLayer &aSrc)=default
PhysicalLayeroperator= (const PhysicalLayer &aRhs)=delete
 Prevent use of operator= by declaring, but not defining.
WsfRandomVariable mTransferRate {0.0, WsfRandomVariable::cPOSITIVE}

Constructor & Destructor Documentation

◆ PhysicalLayerJTIDS() [1/2]

wsf::comm::PhysicalLayerJTIDS::PhysicalLayerJTIDS ( )
default

Referenced by Clone(), and PhysicalLayerJTIDS().

◆ ~PhysicalLayerJTIDS()

wsf::comm::PhysicalLayerJTIDS::~PhysicalLayerJTIDS ( )
overridedefault

◆ PhysicalLayerJTIDS() [2/2]

wsf::comm::PhysicalLayerJTIDS::PhysicalLayerJTIDS ( const PhysicalLayerJTIDS & aSrc)
protecteddefault

References PhysicalLayerJTIDS().

Member Function Documentation

◆ Clone()

LayerImp * wsf::comm::PhysicalLayerJTIDS::Clone ( ) const
overridevirtual

Reimplemented from wsf::comm::PhysicalLayer.

References PhysicalLayerJTIDS().

◆ Initialize()

bool wsf::comm::PhysicalLayerJTIDS::Initialize ( double aSimTime)
inlineoverridevirtual

Reimplemented from wsf::comm::PhysicalLayer.

◆ ProcessInput()

bool wsf::comm::PhysicalLayerJTIDS::ProcessInput ( UtInput & aInput)
inlineoverridevirtual

Reimplemented from wsf::comm::PhysicalLayer.

◆ ProcessLayerMessage()

bool wsf::comm::PhysicalLayerJTIDS::ProcessLayerMessage ( double aSimTime,
layer::Message aMessage,
Message * aCommMessagePtr )
overridevirtual

Process a layer event.

Reimplemented from wsf::comm::PhysicalLayer.

◆ Receive()

bool wsf::comm::PhysicalLayerJTIDS::Receive ( double aSimTime,
Comm * aXmtrPtr,
Message & aMessage,
bool & aNotifyNextLayer )
overridevirtual

Receive the message in this layer.

Parameters
aSimTime[input] The current simulation time.
aXmtrPtr[input] The comm device that sent the message.
aMessage[input] The communication message being received.
aNotifyNextLayer[output] True if the next layer above this one should immediately process this message.
Returns
'true' if layer successfully processed the message.

Reimplemented from wsf::comm::PhysicalLayer.

References wsf::comm::PhysicalLayer::CanReceiveFrom(), wsf::comm::Message::GetResult(), and ok.

◆ Send()

bool wsf::comm::PhysicalLayerJTIDS::Send ( double aSimTime,
size_t aLayerIndex,
Message & aMessage,
bool & aNotifyNextLayer )
overridevirtual

Send the message to this layer.

Parameters
aSimTime[input] The current simulation time.
aLayerIndex[input] The index in the protocol stack for this layer.
aMessage[input] The communication message being received.
aNotifyNextLayer[output] True if the next layer below this one should immediately process this message.
Returns
'true' if layer successfully processed the message.

Reimplemented from wsf::comm::PhysicalLayer.


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved