A Discrete-Event Network Simulator
API
queue-size.h File Reference
#include <string>
#include <iostream>
#include "ns3/attribute.h"
#include "ns3/attribute-helper.h"
#include "ns3/abort.h"
+ Include dependency graph for queue-size.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns3::QueueSize
 Class for representing queue sizes. More...
 
class  ns3::QueueSizeChecker
 AttributeChecker implementation for QueueSizeValue. More...
 
class  ns3::QueueSizeValue
 AttributeValue implementation for QueueSize. More...
 

Namespaces

 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)
 Create an AttributeAccessor for a class data member, or a lone class get functor or set method. More...
 
template<typename T1 , typename T2 >
Ptr< const AttributeAccessor > ns3::MakeQueueSizeAccessor (T1 a1, T2 a2)
 Create an AttributeAccessor using a pair of get functor and set methods from a class. More...
 
Ptr< const AttributeChecker > ns3::MakeQueueSizeChecker (void)
 
template<typename Item >
QueueSize ns3::operator+ (const Ptr< Item > &lhs, const QueueSize &rhs)
 Increase the queue size by a packet size. More...
 
template<typename Item >
QueueSize ns3::operator+ (const QueueSize &lhs, const Ptr< Item > &rhs)
 Increase the queue size by a packet size. More...
 
std::ostream & ns3::operator<< (std::ostream &os, const QueueSize &size)
 Stream insertion operator. More...
 
std::istream & ns3::operator>> (std::istream &is, QueueSize &size)
 Stream extraction operator. More...