#include <nstime.h>
Public Member Functions | |
double | GetDouble (void) const |
TimeUnit (double scalar) | |
TimeUnit () | |
TimeUnit (TimeUnit const &o) | |
TimeUnit | operator= (TimeUnit const &o) |
TimeUnit (HighPrecision data) | |
bool | IsZero (void) const |
bool | IsNegative (void) const |
bool | IsPositive (void) const |
bool | IsStrictlyNegative (void) const |
bool | IsStrictlyPositive (void) const |
HighPrecision const & | GetHighPrecision (void) const |
HighPrecision * | PeekHighPrecision (void) |
Private Attributes | |
HighPrecision | m_data |
Definition at line 598 of file nstime.h.
ns3::TimeUnit< 0 >::TimeUnit | ( | double | scalar | ) |
ns3::TimeUnit< 0 >::TimeUnit | ( | ) | [inline] |
ns3::TimeUnit< 0 >::TimeUnit | ( | TimeUnit< 0 > const & | o | ) | [inline] |
ns3::TimeUnit< 0 >::TimeUnit | ( | HighPrecision | data | ) | [inline] |
double ns3::TimeUnit< 0 >::GetDouble | ( | void | ) | const |
Definition at line 357 of file time.cc.
References ns3::HighPrecision::GetDouble(), and ns3::TimeUnit< N >::GetHighPrecision().
Referenced by ns3::OnOffApplication::CancelEvents(), ns3::TimeTests::CheckOperations(), and ns3::DcfManager::UpdateBackoff().
HighPrecision const& ns3::TimeUnit< 0 >::GetHighPrecision | ( | void | ) | const [inline] |
Definition at line 633 of file nstime.h.
References ns3::TimeUnit< N >::m_data.
bool ns3::TimeUnit< 0 >::IsNegative | ( | void | ) | const [inline] |
Definition at line 621 of file nstime.h.
References ns3::HighPrecision::Compare(), ns3::TimeUnit< N >::m_data, and ns3::HighPrecision::Zero().
bool ns3::TimeUnit< 0 >::IsPositive | ( | void | ) | const [inline] |
Definition at line 624 of file nstime.h.
References ns3::HighPrecision::Compare(), ns3::TimeUnit< N >::m_data, and ns3::HighPrecision::Zero().
bool ns3::TimeUnit< 0 >::IsStrictlyNegative | ( | void | ) | const [inline] |
Definition at line 627 of file nstime.h.
References ns3::HighPrecision::Compare(), ns3::TimeUnit< N >::m_data, and ns3::HighPrecision::Zero().
bool ns3::TimeUnit< 0 >::IsStrictlyPositive | ( | void | ) | const [inline] |
Definition at line 630 of file nstime.h.
References ns3::HighPrecision::Compare(), ns3::TimeUnit< N >::m_data, and ns3::HighPrecision::Zero().
bool ns3::TimeUnit< 0 >::IsZero | ( | void | ) | const [inline] |
Definition at line 618 of file nstime.h.
References ns3::HighPrecision::Compare(), ns3::TimeUnit< N >::m_data, and ns3::HighPrecision::Zero().
TimeUnit ns3::TimeUnit< 0 >::operator= | ( | TimeUnit< 0 > const & | o | ) | [inline] |
Definition at line 612 of file nstime.h.
References ns3::TimeUnit< N >::m_data.
HighPrecision* ns3::TimeUnit< 0 >::PeekHighPrecision | ( | void | ) | [inline] |
Definition at line 636 of file nstime.h.
References ns3::TimeUnit< N >::m_data.
HighPrecision ns3::TimeUnit< 0 >::m_data [private] |