27 #include "ns3/nstime.h"
28 #include "ns3/attribute.h"
29 #include "ns3/attribute-helper.h"
30 #include "ns3/deprecated.h"
212 static bool DoParse (
const std::string s, uint64_t *v);
std::istream & operator>>(std::istream &is, Angles &a)
initialize a struct Angles from input
Simulation virtual time values and global simulation resolution.
Time CalculateBytesTxTime(uint32_t bytes) const
Calculate transmission time.
double CalculateTxTime(uint32_t bytes) const NS_DEPRECATED
Calculate transmission time.
bool operator<(const DataRate &rhs) const
bool operator>(const DataRate &rhs) const
uint64_t m_bps
data rate [bps]
static bool DoParse(const std::string s, uint64_t *v)
Parse a string representing a DataRate into an uint64_t.
Class for representing data rates.
int64x64_t operator*(const int64x64_t &lhs, const int64x64_t &rhs)
Multiplication operator.
friend std::istream & operator>>(std::istream &is, DataRate &rate)
Stream extraction operator.
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint64_t GetBitRate() const
Get the underlying bitrate.
Time CalculateBitsTxTime(uint32_t bits) const
Calculate transmission time.
#define NS_DEPRECATED
Mark a function as deprecated.
bool operator<=(const DataRate &rhs) const
bool operator>=(const DataRate &rhs) const
bool operator!=(const DataRate &rhs) const
bool operator==(const DataRate &rhs) const
#define ATTRIBUTE_HELPER_HEADER(type)
Declare the attribute value, accessor and checkers for class type.