class StreamDescription
|
Stream Description. More... |
|
|
Public Methods
Public Members
Detailed Description
This class contains a description of a stream. It is used
for the bandwidth manager's remapping algorithm.
Constructor.
Destructor.
void init (ManagedStreamInterface* stream)
|
Initialize.
Parameters:
aqd | The stream's AbstractQoSDescription.
?????????
|
bool calculateLayerClassMapping (const ServiceLevelAgreement* sla, const ResourceUtilizationPoint* rup)
|
Calculate list of possible layer -> DiffServ class mappings.
Parameters:
sla | Service level agreement.
|
rup | Resource/utilization point to do calculation for.
|
Returns: true, if a mapping has been found; false otherwise.
bool tryAllocation (cardinal& totalAvailableBandwidth, cardinal* classAvailableBandwidthArray, ResourceUtilizationPoint* rup)
|
Try to allocate given layer bandwidths to a stream. If allocation
is successful, the availability references are decremented by the
bandwidth allocation.
Parameters:
totalAvailableBandwidth | Reference to total available bandwidth.
|
classAvailableBandwidthArray | Available bandwidths for each DiffServ class.
|
rup | Resource/utilization point to do allocation for.
|
ManagedStreamInterface* Interface
|
AbstractQoSDescription* QoSDescription
|
Stream's AbstractQoSDescription.
Number of layers.
cardinal [RTPConstants::RTPMaxQualityLayers] LayerClasses
|
Number of possible DiffServ classes for the layers.
cardinal [RTPConstants::RTPMaxQualityLayers][TrafficClassValues::MaxValues] LayerClassMapping
|
List of possible DiffServ classes for the layers.
cardinal [RTPConstants::RTPMaxQualityLayers] ClassNumber
|
The layer's allocated DiffServ class number.
cardinal [RTPConstants::RTPMaxQualityLayers] ClassBandwidth
|
The layer's allocated bandwidth.
Old utilization of the stream.
New utilization of the stream.
True, if all following higher bandwidth allocations will fail (no more
bandwidth available to achieve higher quality -> no more allocation trials
necessary); false otherwise.
ResourceUtilizationPoint Quality
|
ResourceUtilizationPoint [RUMaxEntries] RUList
|
- Version: 1.0
- Author: Thomas Dreibholz (Dreibholz@bigfoot.com)
- Generated: viper@odin on Mon Oct 16 11:49:26 2000, using kdoc 2.0a36.