Declaration of classes ns3::Time and ns3::TimeWithUnit, and the TimeValue implementation classes. More...
#include "assert.h"
#include "attribute.h"
#include "attribute-helper.h"
#include "int64x64.h"
#include "unused.h"
#include <stdint.h>
#include <limits>
#include <cmath>
#include <ostream>
#include <set>
Go to the source code of this file.
Classes | |
struct | ns3::Time::Information |
How to convert between other units and the current unit. More... | |
struct | ns3::Time::Resolution |
Current time unit, and conversion info. More... | |
class | ns3::Time |
Simulation virtual time values and global simulation resolution. More... | |
class | ns3::TimeValue |
AttributeValue implementation for Time. More... | |
class | ns3::TimeWithUnit |
A Time with attached unit, to facilitate output in that unit. 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::Time) (Time oldValue, Time newValue) |
TracedValue callback signature for Time. More... | |
Functions | |
Time | ns3::Abs (const Time &time) |
template<typename T1 > | |
Ptr< const AttributeAccessor > | ns3::MakeTimeAccessor (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::MakeTimeAccessor (T1 a1, T2 a2) |
Create an AttributeAccessor using a pair of get functor and set methods from a class. More... | |
Ptr< const AttributeChecker > | ns3::MakeTimeChecker (const Time min, const Time max) |
Helper to make a Time checker with bounded range. More... | |
Ptr< const AttributeChecker > | ns3::MakeTimeChecker (void) |
Helper to make an unbounded Time checker. More... | |
Ptr< const AttributeChecker > | ns3::MakeTimeChecker (const Time min) |
Helper to make a Time checker with a lower bound. More... | |
Time | ns3::Max (const Time &ta, const Time &tb) |
Time | ns3::Min (const Time &ta, const Time &tb) |
static bool | ns3::NS_UNUSED_GLOBAL (g_TimeStaticInit) |
Force static initialization of Time. More... | |
bool | ns3::operator!= (const Time &lhs, const Time &rhs) |
Inequality operator for Time. More... | |
Time | ns3::operator* (const Time &lhs, const int64_t &rhs) |
Multiplication operator for Time. More... | |
Time | ns3::operator* (const int64_t &lhs, const Time &rhs) |
Multiplication operator for Time. More... | |
Time | ns3::operator+ (const Time &lhs, const Time &rhs) |
Addition operator for Time. More... | |
Time & | ns3::operator+= (Time &lhs, const Time &rhs) |
Addition operator for Time. More... | |
Time | ns3::operator- (const Time &lhs, const Time &rhs) |
Difference operator for Time. More... | |
Time & | ns3::operator-= (Time &lhs, const Time &rhs) |
Subtraction operator for Time. More... | |
int64_t | ns3::operator/ (const Time &lhs, const Time &rhs) |
Division operator for Time. More... | |
Time | ns3::operator/ (const Time &lhs, const int64_t &rhs) |
Division operator for Time. More... | |
bool | ns3::operator< (const Time &lhs, const Time &rhs) |
Less than operator for Time. More... | |
std::ostream & | ns3::operator<< (std::ostream &os, const Time &time) |
Time output streamer. More... | |
bool | ns3::operator<= (const Time &lhs, const Time &rhs) |
Less than or equal operator for Time. More... | |
bool | ns3::operator== (const Time &lhs, const Time &rhs) |
Equality operator for Time. More... | |
bool | ns3::operator> (const Time &lhs, const Time &rhs) |
Greater than operator for Time. More... | |
bool | ns3::operator>= (const Time &lhs, const Time &rhs) |
Greater than or equal operator for Time. More... | |
std::istream & | ns3::operator>> (std::istream &is, Time &time) |
Time input streamer. More... | |
Time | ns3::TimeStep (uint64_t ts) |
Time | ns3::Years (double value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::Years (int64x64_t value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::Days (double value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::Days (int64x64_t value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::Hours (double value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::Hours (int64x64_t value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::Minutes (double value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::Minutes (int64x64_t value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::Seconds (double value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::Seconds (int64x64_t value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::MilliSeconds (uint64_t value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::MilliSeconds (int64x64_t value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::MicroSeconds (uint64_t value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::MicroSeconds (int64x64_t value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::NanoSeconds (uint64_t value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::NanoSeconds (int64x64_t value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::PicoSeconds (uint64_t value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::PicoSeconds (int64x64_t value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::FemtoSeconds (uint64_t value) |
Construct a Time in the indicated unit. More... | |
Time | ns3::FemtoSeconds (int64x64_t value) |
Construct a Time in the indicated unit. More... | |
Declaration of classes ns3::Time and ns3::TimeWithUnit, and the TimeValue implementation classes.
Definition in file nstime.h.