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. More...
 

Private Member Functions

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

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 43 of file satellite-lower-layer-service.h.

Constructor & Destructor Documentation

◆ SatLowerLayerServiceDaEntry()

ns3::SatLowerLayerServiceDaEntry::SatLowerLayerServiceDaEntry ( )

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

◆ ~SatLowerLayerServiceDaEntry()

ns3::SatLowerLayerServiceDaEntry::~SatLowerLayerServiceDaEntry ( )

Destructor for SatLowerLayerServiceDaEntry.

Definition at line 53 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 70 of file satellite-lower-layer-service.h.

References m_constantAssignmentProvided.

Referenced by ns3::SatLowerLayerServiceConf::GetDaConstantAssignmentProvided().

+ Here is the caller graph for this function:

◆ GetConstantServiceRateInKbps()

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

Get constant service rate.

Returns
Constant service rate [KBps]

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

References m_constantServiceRateStream.

Referenced by ns3::SatLowerLayerServiceConf::GetDaConstantServiceRateInKbps().

+ Here is the caller graph for this function:

◆ GetConstantServiceRateStream()

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

Get constant service rate stream.

Returns
Constant service rate stream.

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

References m_constantServiceRateStream.

Referenced by ns3::SatLowerLayerServiceConf::GetDaConstantServiceRateStream().

+ Here is the caller graph for this function:

◆ GetMaximumBacklogInKbytes()

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

Get maximum backlog size.

Returns
Maximum backlog size [KBytes]

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

References m_maximumBacklogInKbytes.

Referenced by ns3::SatLowerLayerServiceConf::GetDaMaximumBacklogInKbytes().

+ Here is the caller graph for this function:

◆ GetMaximumServiceRateInKbps()

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

Get maximum service rate.

Returns
Maximum service rate [KBps]

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

References m_maximumServiceRateKbps.

Referenced by ns3::SatLowerLayerServiceConf::GetDaMaximumServiceRateInKbps().

+ Here is the caller graph for this function:

◆ GetMinimumServiceRateInKbps()

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

Get minimum service rate.

Returns
Minimum service rate [KBps]

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

References m_minimumServiceRateKbps.

Referenced by ns3::SatLowerLayerServiceConf::GetDaMinimumServiceRateInKbps().

+ Here is the caller graph for this function:

◆ GetRbdcAllowed()

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

Get state, if RBDC is allowed.

Returns
Is RBDC allowed [true or false]

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

References m_rbdcAllowed.

Referenced by ns3::SatLowerLayerServiceConf::GetDaRbdcAllowed().

+ Here is the caller graph for this function:

◆ GetVolumeAllowed()

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

Get state, if volume is allowed.

Returns
Is volume allowed [true or false]

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

References m_volumeAllowed.

Referenced by ns3::SatLowerLayerServiceConf::GetDaVolumeAllowed().

+ Here is the caller graph for this function:

◆ 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 80 of file satellite-lower-layer-service.h.

References m_constantAssignmentProvided.

Referenced by ns3::SatLowerLayerServiceConf::SetDaConstantAssignmentProvided().

+ Here is the caller graph for this function:

◆ SetConstantServiceRateStream()

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

Set constant service rate stream.

Parameters
constantServiceRateKbpsConstant service rate [KBps]

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

References m_constantServiceRateStream.

Referenced by ns3::SatLowerLayerServiceConf::SetDaConstantServiceRateStream().

+ Here is the caller graph for this function:

◆ SetMaximumBacklogInKbytes()

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

Set maximum backlog size.

Parameters
maximumBacklogInBytesMaximum backlog size [KBytes]

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

References m_maximumBacklogInKbytes.

Referenced by ns3::SatLowerLayerServiceConf::SetDaMaximumBacklogInKbytes().

+ Here is the caller graph for this function:

◆ SetMaximumServiceRateInKbps()

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

Set maximum service rate.

Parameters
maximumServiceRateKbpsMaximum service rate [KBps]

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

References m_maximumServiceRateKbps.

Referenced by ns3::SatLowerLayerServiceConf::SetDaMaximumServiceRateInKbps().

+ Here is the caller graph for this function:

◆ SetMinimumServiceRateInKbps()

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

Set minimum service rate.

Parameters
minimumServiceRateKbpsMinimum service rate [KBps]

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

References m_minimumServiceRateKbps.

Referenced by ns3::SatLowerLayerServiceConf::SetDaMinimumServiceRateInKbps().

+ Here is the caller graph for this function:

◆ SetRbdcAllowed()

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

Set state, if RBDC is allowed.

Parameters
bdcAllowedRBDC allowed state [true or false]

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

References m_rbdcAllowed.

Referenced by ns3::SatLowerLayerServiceConf::SetDaRbdcAllowed().

+ Here is the caller graph for this function:

◆ SetVolumeAllowed()

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

Set state, if volume is allowed.

Parameters
volumeAllowedVolume allowed state [true or false]

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

References m_volumeAllowed.

Referenced by ns3::SatLowerLayerServiceConf::SetDaVolumeAllowed().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ SatLowerLayerServiceConf

friend class SatLowerLayerServiceConf
friend

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

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

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

Referenced by GetRbdcAllowed(), and SetRbdcAllowed().

◆ m_volumeAllowed

bool ns3::SatLowerLayerServiceDaEntry::m_volumeAllowed
private

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

Referenced by GetVolumeAllowed(), and SetVolumeAllowed().


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