145 QoSReq(
int tavgBand,
int tavgSDUBand,
int tpeakBandDuration,
int tpeakSDUBandDuration,
int tburstPeriod,
int tburstDuration,
146 double tundetectedBitErr,
double tpduDropProbab,
147 int tmaxSDUsize,
bool tpartDeliv,
bool tincompleteDeliv,
bool tforceOrder,
148 unsigned int tmaxAllowGap,
int tdelay,
int tjitter,
int tcosttime,
int tcostbits);
150 QoSReq(cXMLElementList& attrs);
391 std::string
info()
const;
double getUndetectedBitErr() const
Gets Undetected Bit Error Rate parameter.
int delay
Attribute holding accepted delay.
void setMaxAllowGap(int maxAllowGap)
Sets Maximum Allowable Gap in SDUs parameter.
void setJitter(int jitter)
Sets Jitter parameter.
int maxAllowGap
Attribute holding maximum allowd gap in SDUs.
void setUndetectedBitErr(double undetectedBitErr)
Sets Undetected Bit Error Rate parameter.
void setMaxSduSize(int maxSdUsize)
Sets Maximum SDU Size parameter.
int maxSDUsize
Attribute holding maximum SDU size.
int costBits
Attribute holding connection's transmission size price.
int jitter
Attribute holding accepted jitter.
void setDelay(int delay)
Sets Delay parameter.
bool isForceOrder() const
Gets in-order delivery flag.
void setIncompleteDelivery(bool incompleteDeliv)
Sets incomplete delivery flag.
QoSReq()
Constructor of QoSReq with undefined values.
void setPeakBandDuration(int peakBandDuration)
Sets Peak Band Duration parameter.
double getPduDropProbability() const
Gets PDU Dropping Probability parameter.
void setAvgBand(int avgBand)
Sets Average Bandwidth parameter.
void setPartialDelivery(bool partDeliv)
Sets partial delivery flag.
double undetectedBitErr
Attribute holding probability of undetected bit error rate.
int costTime
Attribute holding connection's time price.
int avgSDUBand
Attribute holding average SDU bandwidth.
void setBurstDuration(int burstDuration)
Sets Burst Duration parameter.
void setBurstPeriod(int burstPeriod)
Sets Burst Period parameter.
int getMaxSduSize() const
Gets Maximum SDU Size parameter.
int resiliencyFactor
Attribute holding resiliency information, see PRISTINE D4.3 for more.
int burstDuration
Attribute holding burst durating as usec fraction of burst period.
virtual ~QoSReq()
Destructor assigning default uninitialized values.
bool partDeliv
Attribute holding partial delivery flag.
int peakSDUBandDuration
Attribute holding peak SDU bandwidth duration.
double pduDropProbability
Attribute holding probability of dropping PDUs.
void setCostTime(double costTime)
Sets Cost-time parameter.
void setAvgSduBand(int avgSduBand)
Sets Average SDU Bandwidth parameter.
std::string info() const
Prints QoSReq information as string.
const int VAL_DEFAULT_QOS
int burstPeriod
Attribute holding burst period in usecs.
int getPeakSduBandDuration() const
Gets Peak SDU Duration parameter.
void setPduDropProbability(double pduDropProbability)
Sets PDU Dropping Probability parameter.
std::ostream & operator<<(std::ostream &os, const QoSReq &cube)
int getMaxAllowGap() const
Gets Maximum Allowable Gap in SDUs parameter.
int getDelay() const
Gets Delay parameter.
bool isPartialDelivery() const
Gets partial delivery flag.
int getJitter() const
Gets Jitter parameter.
bool forceOrder
Attribute holding in-order delivery flag.
double getCostTime() const
Gets Cost-time parameter.
Class representing QoSReq with all its properties that is primarily used by FA, RMT and RA Specificat...
bool compare(const QoSReq &other) const
int getPeakBandDuration() const
Gets Peak Band Duration parameter.
double getCostBits() const
Gets Cost-bits parameter.
bool incompleteDeliv
Attribute holding incomplete delivery flag.
void setForceOrder(bool forceOrder)
Sets in-order delivery flag.
int getAvgBand() const
Gets Average Bandwidth parameter.
const char * STR_DONOTCARE
int avgBand
Attribute holding average bandwidth.
void setPeakSduBandDuration(int peakSduBandDuration)
Sets Peak SDU Duration parameter.
int getBurstDuration() const
Gets Burst Duration parameter.
void setResiliencyFactor(int resiliencyFactor)
Sets Resiliency Factor parameter.
int getAvgSduBand() const
Gets Average SDU Bandwidth parameter.
int getResiliencyFactor() const
Gets Resiliency Factor parameter.
int peakBandDuration
Attribute holding peak bandwidth duration.
int getBurstPeriod() const
Gets Burst Period parameter.
bool isIncompleteDelivery() const
Gets incomplete delivery flag.
static const QoSReq MANAGEMENT
void setCostBits(double costBits)
Sets Cost-bits parameter.