186 QoSCube(cXMLElementList& attrs);
189 int tavgBand,
int tavgSDUBand,
int tpeakBandDuration,
int tpeakSDUBandDuration,
int tburstPeriod,
int tburstDuration,
190 double tundetectedBitErr,
double tpduDropProbab,
191 int tmaxSDUsize,
bool tpartDeliv,
bool tincompleteDeliv,
bool tforceOrder,
192 unsigned int tmaxAllowGap,
int tdelay,
int tjitter,
int tcosttime,
int tcostbits,
193 double tatime,
bool trxon,
bool twinfcon,
bool tratefcon
459 std::string
info()
const;
static const QoSCube MANAGEMENT
void setMaxAllowGap(int maxAllowGap)
Sets Maximum Allowable Gap in SDUs parameter.
bool isDTCPNeeded() const
Returns true if DTCP module is needed in order to support this QoScube.
virtual ~QoSCube()
Destructor assigning default uninitialized values.
int avgBand
Attribute holding average bandwidth.
std::ostream & operator<<(std::ostream &os, const QoSCube &cube)
int getBurstPeriod() const
Gets Burst Period parameter.
void setPartialDelivery(bool partDeliv)
Sets partial delivery flag.
int getBurstDuration() const
Gets Burst Duration parameter.
const char * ELEM_EFCPPOL
void setPeakBandDuration(int peakBandDuration)
Sets Peak Band Duration parameter.
const EFCPPolicySet * getEfcpPolicies() const
int getAvgBand() const
Gets Average Bandwidth parameter.
void setAvgSduBand(int avgSduBand)
Sets Average SDU Bandwidth parameter.
void setMaxSduSize(int maxSdUsize)
Sets Maximum SDU Size parameter.
EFCPPolicySet * efcpPolicies
Vector of bound default policies.
double getPduDropProbability() const
Gets PDU Dropping Probability parameter.
QoSCube()
Constructor of QoSCube with undefined values.
int burstDuration
Attribute holding burst durating as usec fraction of burst period.
bool windowFCOn
Attribute holding whether Window-based Flow Control is active.
int jitter
Attribute holding accepted jitter.
int getPeakBandDuration() const
Gets Peak Band Duration parameter.
void setEfcpPolicies(EFCPPolicySet *efcpPolicies)
int maxAllowGap
Attribute holding maximum allowd gap in SDUs.
const std::string VAL_UNDEF_QOSID
int getJitter() const
Gets Jitter parameter.
int maxSDUsize
Attribute holding maximum SDU size.
const char * STR_DONOTCARE
double getCostBits() const
Gets Cost-bits parameter.
int peakBandDuration
Attribute holding peak bandwidth duration.
void setBurstDuration(int burstDuration)
Sets Burst Duration parameter.
int getMaxSduSize() const
Gets Maximum SDU Size parameter.
double getUndetectedBitErr() const
Gets Undetected Bit Error Rate parameter.
double getATime() const
Gets A-Timer parameter.
void setUndetectedBitErr(double undetectedBitErr)
Sets Undetected Bit Error Rate parameter.
int peakSDUBandDuration
Attribute holding peak SDU bandwidth duration.
void setDelay(int delay)
Sets Delay parameter.
int getResiliencyFactor() const
Gets Resiliency Factor parameter.
void setATime(double aTime)
Sets A-Timer parameter.
void setJitter(int jitter)
Sets Jitter parameter.
bool isIncompleteDelivery() const
Gets incomplete delivery flag.
void setRateFcOn(bool rateFcOn)
int resiliencyFactor
Attribute holding resiliency information, see PRISTINE D4.3 for more.
const std::string VAL_MGMTQOSID
int delay
Attribute holding accepted delay.
void setCostTime(double costTime)
Sets Cost-time parameter.
void setResiliencyFactor(int resiliencyFactor)
Sets Resiliency Factor parameter.
void setPduDropProbability(double pduDropProbability)
Sets PDU Dropping Probability parameter.
std::string info() const
Prints QoSCube information as string.
int burstPeriod
Attribute holding burst period in usecs.
void setIncompleteDelivery(bool incompleteDeliv)
Sets incomplete delivery flag.
int costTime
Attribute holding connection's time price.
int avgSDUBand
Attribute holding average SDU bandwidth.
Class representing QoSCube with all its properties that is primarily used by FA, RMT and RA Specifica...
void setQosId(std::string qoSId)
Sets QoSCube identifier.
double getCostTime() const
Gets Cost-time parameter.
bool isPartialDelivery() const
Gets partial delivery flag.
bool isForceOrder() const
Gets in-order delivery flag.
void setForceOrder(bool forceOrder)
Sets in-order delivery flag.
std::string qoSId
Attribute holding QoSCube identifier. Beaware, value 0 is reserved for Flow QoS demands! ...
std::string getQosId() const
Gets QoSCube identifier.
double undetectedBitErr
Attribute holding probability of undetected bit error rate.
bool rxOn
Attribute holding whether Retransmission Control is active.
void setWindowFcOn(bool windowFcOn)
void setPeakSduBandDuration(int peakSduBandDuration)
Sets Peak SDU Duration parameter.
void setAvgBand(int avgBand)
Sets Average Bandwidth parameter.
bool isWindowFcOn() const
void setCostBits(double costBits)
Sets Cost-bits parameter.
double pduDropProbability
Attribute holding probability of dropping PDUs.
void setBurstPeriod(int burstPeriod)
Sets Burst Period parameter.
int getDelay() const
Gets Delay parameter.
int costBits
Attribute holding connection's transmission size price.
bool partDeliv
Attribute holding partial delivery flag.
double aTime
Attribute holding A-Timer size in ms.
int getPeakSduBandDuration() const
Gets Peak SDU Duration parameter.
bool forceOrder
Attribute holding in-order delivery flag.
int getAvgSduBand() const
Gets Average SDU Bandwidth parameter.
bool rateFCOn
Attribute holding whether Rate-based Flow Control is active.
const int VAL_DEFAULT_QOS
bool incompleteDeliv
Attribute holding incomplete delivery flag.
int getMaxAllowGap() const
Gets Maximum Allowable Gap in SDUs parameter.