Loading...
Searching...
No Matches
ns3::SatLowerLayerServiceDaEntry Class Reference

The SatLowerLayerService class holds information of a satellite lower layer service DA entry. More...

#include "satellite-lower-layer-service.h"

Public Member Functions

 SatLowerLayerServiceDaEntry ()
 ~SatLowerLayerServiceDaEntry ()
 Destructor for SatLowerLayerServiceDaEntry.

Private Member Functions

bool GetConstantAssignmentProvided () const
 Get state, if constant assignment is provided.
uint16_t GetConstantServiceRateInKbps () const
 Get constant service rate.
Ptr< RandomVariableStream > GetConstantServiceRateStream () const
 Get constant service rate stream.
uint16_t GetMaximumBacklogInKbytes () const
 Get maximum backlog size.
uint16_t GetMaximumServiceRateInKbps () const
 Get maximum service rate.
uint16_t GetMinimumServiceRateInKbps () const
 Get minimum service rate.
bool GetRbdcAllowed () const
 Get state, if RBDC is allowed.
bool GetVolumeAllowed () const
 Get state, if volume is allowed.
void SetConstantAssignmentProvided (bool constAssignmentProvided)
 Set state, if constant assignment is provided.
void SetConstantServiceRateStream (Ptr< RandomVariableStream > constantServiceRateStream)
 Set constant service rate stream.
void SetMaximumBacklogInKbytes (uint16_t maximumBacklogInKbytes)
 Set maximum backlog size.
void SetMaximumServiceRateInKbps (uint16_t maximumServiceRateKbps)
 Set maximum service rate.
void SetMinimumServiceRateInKbps (uint16_t minimumServiceRateKbps)
 Set minimum service rate.
void SetRbdcAllowed (bool bdcAllowed)
 Set state, if RBDC is allowed.
void SetVolumeAllowed (bool volumeAllowed)
 Set state, if volume is allowed.

Private Attributes

bool m_constantAssignmentProvided
Ptr< RandomVariableStream > m_constantServiceRateStream
uint16_t m_maximumBacklogInKbytes
uint16_t m_maximumServiceRateKbps
uint16_t m_minimumServiceRateKbps
bool m_rbdcAllowed
bool m_volumeAllowed

Friends

class SatLowerLayerServiceConf

Detailed Description

The SatLowerLayerService class holds information of a satellite lower layer service DA entry.

This class is only used by SatLowerLayerServiceConf class.

Definition at line 46 of file satellite-lower-layer-service.h.

Constructor & Destructor Documentation

◆ SatLowerLayerServiceDaEntry()

ns3::SatLowerLayerServiceDaEntry::SatLowerLayerServiceDaEntry ( )

◆ ~SatLowerLayerServiceDaEntry()

ns3::SatLowerLayerServiceDaEntry::~SatLowerLayerServiceDaEntry ( )

Destructor for SatLowerLayerServiceDaEntry.

Definition at line 56 of file satellite-lower-layer-service.cc.

Member Function Documentation

◆ GetConstantAssignmentProvided()

bool ns3::SatLowerLayerServiceDaEntry::GetConstantAssignmentProvided ( ) const
inlineprivate

Get state, if constant assignment is provided.

Returns
Is constant assignment provided [true or false]

Definition at line 73 of file satellite-lower-layer-service.h.

References m_constantAssignmentProvided.

◆ GetConstantServiceRateInKbps()

uint16_t ns3::SatLowerLayerServiceDaEntry::GetConstantServiceRateInKbps ( ) const
inlineprivate

Get constant service rate.

Returns
Constant service rate [KBps]

Definition at line 133 of file satellite-lower-layer-service.h.

References m_constantServiceRateStream.

◆ GetConstantServiceRateStream()

Ptr< RandomVariableStream > ns3::SatLowerLayerServiceDaEntry::GetConstantServiceRateStream ( ) const
inlineprivate

Get constant service rate stream.

Returns
Constant service rate stream.

Definition at line 143 of file satellite-lower-layer-service.h.

References m_constantServiceRateStream.

◆ GetMaximumBacklogInKbytes()

uint16_t ns3::SatLowerLayerServiceDaEntry::GetMaximumBacklogInKbytes ( ) const
inlineprivate

Get maximum backlog size.

Returns
Maximum backlog size [KBytes]

Definition at line 203 of file satellite-lower-layer-service.h.

References m_maximumBacklogInKbytes.

◆ GetMaximumServiceRateInKbps()

uint16_t ns3::SatLowerLayerServiceDaEntry::GetMaximumServiceRateInKbps ( ) const
inlineprivate

Get maximum service rate.

Returns
Maximum service rate [KBps]

Definition at line 163 of file satellite-lower-layer-service.h.

References m_maximumServiceRateKbps.

◆ GetMinimumServiceRateInKbps()

uint16_t ns3::SatLowerLayerServiceDaEntry::GetMinimumServiceRateInKbps ( ) const
inlineprivate

Get minimum service rate.

Returns
Minimum service rate [KBps]

Definition at line 183 of file satellite-lower-layer-service.h.

References m_minimumServiceRateKbps.

◆ GetRbdcAllowed()

bool ns3::SatLowerLayerServiceDaEntry::GetRbdcAllowed ( ) const
inlineprivate

Get state, if RBDC is allowed.

Returns
Is RBDC allowed [true or false]

Definition at line 93 of file satellite-lower-layer-service.h.

References m_rbdcAllowed.

◆ GetVolumeAllowed()

bool ns3::SatLowerLayerServiceDaEntry::GetVolumeAllowed ( ) const
inlineprivate

Get state, if volume is allowed.

Returns
Is volume allowed [true or false]

Definition at line 113 of file satellite-lower-layer-service.h.

References m_volumeAllowed.

◆ SetConstantAssignmentProvided()

void ns3::SatLowerLayerServiceDaEntry::SetConstantAssignmentProvided ( bool constAssignmentProvided)
inlineprivate

Set state, if constant assignment is provided.

Parameters
constAssignmentProvidedConstant assignment provided state [true or false]

Definition at line 83 of file satellite-lower-layer-service.h.

References m_constantAssignmentProvided.

◆ SetConstantServiceRateStream()

void ns3::SatLowerLayerServiceDaEntry::SetConstantServiceRateStream ( Ptr< RandomVariableStream > constantServiceRateStream)
inlineprivate

Set constant service rate stream.

Parameters
constantServiceRateKbpsConstant service rate [KBps]

Definition at line 153 of file satellite-lower-layer-service.h.

References m_constantServiceRateStream.

◆ SetMaximumBacklogInKbytes()

void ns3::SatLowerLayerServiceDaEntry::SetMaximumBacklogInKbytes ( uint16_t maximumBacklogInKbytes)
inlineprivate

Set maximum backlog size.

Parameters
maximumBacklogInBytesMaximum backlog size [KBytes]

Definition at line 213 of file satellite-lower-layer-service.h.

References m_maximumBacklogInKbytes.

◆ SetMaximumServiceRateInKbps()

void ns3::SatLowerLayerServiceDaEntry::SetMaximumServiceRateInKbps ( uint16_t maximumServiceRateKbps)
inlineprivate

Set maximum service rate.

Parameters
maximumServiceRateKbpsMaximum service rate [KBps]

Definition at line 173 of file satellite-lower-layer-service.h.

References m_maximumServiceRateKbps.

◆ SetMinimumServiceRateInKbps()

void ns3::SatLowerLayerServiceDaEntry::SetMinimumServiceRateInKbps ( uint16_t minimumServiceRateKbps)
inlineprivate

Set minimum service rate.

Parameters
minimumServiceRateKbpsMinimum service rate [KBps]

Definition at line 193 of file satellite-lower-layer-service.h.

References m_minimumServiceRateKbps.

◆ SetRbdcAllowed()

void ns3::SatLowerLayerServiceDaEntry::SetRbdcAllowed ( bool bdcAllowed)
inlineprivate

Set state, if RBDC is allowed.

Parameters
bdcAllowedRBDC allowed state [true or false]

Definition at line 103 of file satellite-lower-layer-service.h.

References m_rbdcAllowed.

◆ SetVolumeAllowed()

void ns3::SatLowerLayerServiceDaEntry::SetVolumeAllowed ( bool volumeAllowed)
inlineprivate

Set state, if volume is allowed.

Parameters
volumeAllowedVolume allowed state [true or false]

Definition at line 123 of file satellite-lower-layer-service.h.

References m_volumeAllowed.

◆ SatLowerLayerServiceConf

friend class SatLowerLayerServiceConf
friend

Definition at line 49 of file satellite-lower-layer-service.h.

References SatLowerLayerServiceConf.

Referenced by SatLowerLayerServiceConf.

Member Data Documentation

◆ m_constantAssignmentProvided

bool ns3::SatLowerLayerServiceDaEntry::m_constantAssignmentProvided
private

◆ m_constantServiceRateStream

Ptr<RandomVariableStream> ns3::SatLowerLayerServiceDaEntry::m_constantServiceRateStream
private

◆ m_maximumBacklogInKbytes

uint16_t ns3::SatLowerLayerServiceDaEntry::m_maximumBacklogInKbytes
private

◆ m_maximumServiceRateKbps

uint16_t ns3::SatLowerLayerServiceDaEntry::m_maximumServiceRateKbps
private

◆ m_minimumServiceRateKbps

uint16_t ns3::SatLowerLayerServiceDaEntry::m_minimumServiceRateKbps
private

◆ m_rbdcAllowed

bool ns3::SatLowerLayerServiceDaEntry::m_rbdcAllowed
private

◆ m_volumeAllowed

bool ns3::SatLowerLayerServiceDaEntry::m_volumeAllowed
private

The documentation for this class was generated from the following files: