#include "ns3/abort.h"#include "ns3/attribute-helper.h"#include "ns3/attribute.h"#include <iostream>#include <string>
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 | |
| 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) |
| Create an AttributeAccessor for a class data member, or a lone class get functor or set method. | |
| 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. | |
| 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. | |