#include "ns3/abort.h"
#include "ns3/attribute-helper.h"
#include "ns3/attribute.h"
#include <iostream>
#include <string>
Go to the source code of this file.
Classes | |
class | ns3::QueueSize |
Class for representing queue sizes. More... | |
class | ns3::QueueSizeChecker |
class | ns3::QueueSizeValue |
Namespaces | |
namespace | ns3 |
Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
Enumerations | |
enum | ns3::QueueSizeUnit { ns3::PACKETS , ns3::BYTES } |
Enumeration of the operating modes of queues. More... | |
Functions | |
template<typename T1 > | |
Ptr< const AttributeAccessor > | ns3::MakeQueueSizeAccessor (T1 a1) |
template<typename T1 , typename T2 > | |
Ptr< const AttributeAccessor > | ns3::MakeQueueSizeAccessor (T1 a1, T2 a2) |
Ptr< const AttributeChecker > | ns3::MakeQueueSizeChecker () |
template<typename Item > | |
QueueSize | ns3::operator+ (const Ptr< Item > &lhs, const QueueSize &rhs) |
Increase the queue size by a packet size, if the queue size is in bytes, or by one, otherwise. | |
template<typename Item > | |
QueueSize | ns3::operator+ (const QueueSize &lhs, const Ptr< Item > &rhs) |
Increase the queue size by a packet size, if the queue size is in bytes, or by one, otherwise. | |
template<typename Item > | |
QueueSize | ns3::operator- (const Ptr< Item > &lhs, const QueueSize &rhs) |
Decrease the queue size by a packet size, if the queue size is in bytes, or by one, otherwise. | |
template<typename Item > | |
QueueSize | ns3::operator- (const QueueSize &lhs, const Ptr< Item > &rhs) |
Decrease the queue size by a packet size, if the queue size is in bytes, or by one, otherwise. | |
std::ostream & | ns3::operator<< (std::ostream &os, const QueueSize &size) |
Stream insertion operator. | |
std::istream & | ns3::operator>> (std::istream &is, QueueSize &size) |
Stream extraction operator. | |