A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
nstime.h File Reference
#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>
+ Include dependency graph for nstime.h:
+ This graph shows which files directly or indirectly include this file:

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
 keep track of time values and allow control of global simulation resolution More...
 
class  ns3::TimeValue
 hold objects of type ns3::Time More...
 

Namespaces

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

Functions

 ns3::ATTRIBUTE_ACCESSOR_DEFINE (Time)
 
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::Min (const Time &ta, const Time &tb)
 
static bool ns3::NS_UNUSED_GLOBAL (g_TimeStaticInit)
 
bool ns3::operator!= (const Time &lhs, const Time &rhs)
 
Time ns3::operator+ (const Time &lhs, const Time &rhs)
 
Time & ns3::operator+= (Time &lhs, const Time &rhs)
 
Time ns3::operator- (const Time &lhs, const Time &rhs)
 
Time & ns3::operator-= (Time &lhs, const Time &rhs)
 
bool ns3::operator< (const Time &lhs, const Time &rhs)
 
bool ns3::operator<= (const Time &lhs, const Time &rhs)
 
bool ns3::operator== (const Time &lhs, const Time &rhs)
 
bool ns3::operator> (const Time &lhs, const Time &rhs)
 
bool ns3::operator>= (const Time &lhs, const Time &rhs)
 
Time ns3::TimeStep (uint64_t ts)