EPONImplementationforOMNet++
0.8Beta
|
Allocation per MAC-LLID. More...
#include <OLTQPerLLiDBase.h>
Public Member Functions | |
QueuePerMacLLid () | |
~QueuePerMacLLid () | |
Public Attributes | |
mac_llid | ml |
bool | isDefault |
Friends | |
std::ostream & | operator<< (std::ostream &out, QueuePerMacLLid &qml) |
Allocation per MAC-LLID.
Holds all the information around a queue per LLID. These include service name, priority, max. committed data rate and currently sent bytes (to be used later on DBA algorithm). Also this class holds all the scalar and vector parameters needed for logging.
NOTE: The cOutVector class is not copyable... which means that we cannot have objects of this type in this class and use it in a vector (copy constructor will be called). So what we did is to have pointers to the cOutVectors which can be copied. This is done with the CopyableQueueCVectors class.
NOTE: Call the clean() method on this class to free all the vectors...
QueuePerMacLLid::QueuePerMacLLid | ( | ) | [inline] |
: QForContainer(){}
QueuePerMacLLid::~QueuePerMacLLid | ( | ) | [inline] |
{}
std::ostream& operator<< | ( | std::ostream & | out, |
QueuePerMacLLid & | qml | ||
) | [friend] |
{ out<<qml.ml<<" SrvName: "<<qml.getServiceName()<<" QueueSize: "<<qml.length(); return out; }
mac_llid QueuePerMacLLid::ml |