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

Go to the source code of this file.

Classes

class  ns3::DataRate
 Class for representing data rates. More...
 

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
 ns3::TracedValueCallback
 TracedValue Callback function types.
 

Typedefs

typedef void(* ns3::TracedValueCallback::DataRate) (DataRate oldValue, DataRate newValue)
 TracedValue callback signature for DataRate. More...
 

Functions

 ns3::ATTRIBUTE_HELPER_HEADER (DataRate)
 
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...