A Discrete-Event Network Simulator
API
Classes | Namespaces | Functions
data-rate.h File Reference
#include <string>
#include <iostream>
#include <stdint.h>
#include "ns3/nstime.h"
#include "ns3/attribute.h"
#include "ns3/attribute-helper.h"
#include "ns3/deprecated.h"

Go to the source code of this file.

Classes

class  ns3::DataRate
 Class for representing data rates. More...
 
class  ns3::DataRateChecker
 
AttributeChecker implementation for DataRateValue. More...
 
class  ns3::DataRateValue
 
AttributeValue implementation for DataRate. More...
 

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Functions

template<typename T1 >
Ptr< const AttributeAccessor > ns3::MakeDataRateAccessor (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::MakeDataRateAccessor (T1 a1, T2 a2)
 
Create an AttributeAccessor using a pair of get functor and set methods from a class. More...
 
Ptr< const AttributeChecker > ns3::MakeDataRateChecker (void)
 
More...
 
double ns3::operator* (const DataRate &lhs, const Time &rhs)
 Multiply datarate by a time value. More...
 
double ns3::operator* (const Time &lhs, const DataRate &rhs)
 Multiply time value by a data rate. More...
 
std::ostream & ns3::operator<< (std::ostream &os, const DataRate &rate)
 Stream insertion operator. More...
 
std::istream & ns3::operator>> (std::istream &is, DataRate &rate)
 Stream extraction operator. More...