A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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...
class  ns3::DataRateChecker
class  ns3::DataRateValue

Namespaces

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

Typedefs

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

Functions

template<typename T1>
Ptr< const AttributeAccessorns3::MakeDataRateAccessor (T1 a1)
template<typename T1, typename T2>
Ptr< const AttributeAccessorns3::MakeDataRateAccessor (T1 a1, T2 a2)
Ptr< const AttributeCheckerns3::MakeDataRateChecker ()
double ns3::operator* (const DataRate &lhs, const Time &rhs)
 Multiply datarate by a time value.
double ns3::operator* (const Time &lhs, const DataRate &rhs)
 Multiply time value by a data rate.
std::ostream & ns3::operator<< (std::ostream &os, const DataRate &rate)
 Stream insertion operator.
std::istream & ns3::operator>> (std::istream &is, DataRate &rate)
 Stream extraction operator.