ACE 8.0.0
Loading...
Searching...
No Matches
Namespaces | Functions
Time_Value.inl File Reference
#include "ace/Truncate.h"

Namespaces

namespace  std
 STL namespace.
 
namespace  std::chrono
 

Functions

ACE_Time_Value operator* (double d, const ACE_Time_Value &tv)
 
ACE_Time_Value operator* (const ACE_Time_Value &tv, double d)
 
bool operator> (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 True if tv1 > tv2.
 
bool operator>= (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 True if tv1 >= tv2.
 
bool operator< (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 True if tv1 < tv2.
 
bool operator<= (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 True if tv1 >= tv2.
 
bool operator== (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 True if tv1 == tv2.
 
bool operator!= (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 True if tv1 != tv2.
 
ACE_Time_Value operator+ (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 Adds two ACE_Time_Value objects together, returns the sum.
 
ACE_Time_Value operator- (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 Subtracts two ACE_Time_Value objects, returns the difference.
 
Streaming ACE_Time_Value to chrono

Streaming an ACE_Time_Value into one of the chrono types (nanoseconds, microseconds, milliseconds, seconds, minutes, or hours).

nanosecondsstd::chrono::operator<< (nanoseconds &ns, ACE_Time_Value const &tv)
 
microsecondsstd::chrono::operator<< (microseconds &us, ACE_Time_Value const &tv)
 
millisecondsstd::chrono::operator<< (milliseconds &ms, ACE_Time_Value const &tv)
 
secondsstd::chrono::operator<< (seconds &s, ACE_Time_Value const &tv)
 
minutesstd::chrono::operator<< (minutes &m, ACE_Time_Value const &tv)
 
hoursstd::chrono::operator<< (hours &h, ACE_Time_Value const &tv)
 
Adding ACE_Time_Value to chrono

Adding an ACE_Time_Value to one of the chrono types (nanoseconds, microseconds, milliseconds, seconds, minutes, or hours).

nanosecondsstd::chrono::operator+= (nanoseconds &ns, ACE_Time_Value const &tv)
 
microsecondsstd::chrono::operator+= (microseconds &us, ACE_Time_Value const &tv)
 
millisecondsstd::chrono::operator+= (milliseconds &ms, ACE_Time_Value const &tv)
 
secondsstd::chrono::operator+= (seconds &s, ACE_Time_Value const &tv)
 
minutesstd::chrono::operator+= (minutes &m, ACE_Time_Value const &tv)
 
hoursstd::chrono::operator+= (hours &h, ACE_Time_Value const &tv)
 
Substracting ACE_Time_Value from chrono

Substracting an ACE_Time_Value from one of the chrono types (nanoseconds, microseconds, milliseconds, seconds, minutes, or hours).

nanosecondsstd::chrono::operator-= (nanoseconds &ns, ACE_Time_Value const &tv)
 
microsecondsstd::chrono::operator-= (microseconds &us, ACE_Time_Value const &tv)
 
millisecondsstd::chrono::operator-= (milliseconds &ms, ACE_Time_Value const &tv)
 
secondsstd::chrono::operator-= (seconds &s, ACE_Time_Value const &tv)
 
minutesstd::chrono::operator-= (minutes &m, ACE_Time_Value const &tv)
 
hoursstd::chrono::operator-= (hours &h, ACE_Time_Value const &tv)
 

Function Documentation

◆ operator!=()

bool operator!= ( const ACE_Time_Value & tv1,
const ACE_Time_Value & tv2 )
inline

True if tv1 != tv2.

True if tv1 != tv2.

◆ operator*() [1/2]

ACE_Time_Value operator* ( const ACE_Time_Value & tv,
double d )
inline

◆ operator*() [2/2]

ACE_Time_Value operator* ( double d,
const ACE_Time_Value & tv )
inline

◆ operator+()

ACE_Time_Value operator+ ( const ACE_Time_Value & tv1,
const ACE_Time_Value & tv2 )
inline

Adds two ACE_Time_Value objects together, returns the sum.

◆ operator-()

ACE_Time_Value operator- ( const ACE_Time_Value & tv1,
const ACE_Time_Value & tv2 )
inline

Subtracts two ACE_Time_Value objects, returns the difference.

◆ operator<()

bool operator< ( const ACE_Time_Value & tv1,
const ACE_Time_Value & tv2 )
inline

True if tv1 < tv2.

True if tv1 < tv2.

◆ operator<=()

bool operator<= ( const ACE_Time_Value & tv1,
const ACE_Time_Value & tv2 )
inline

True if tv1 >= tv2.

True if tv1 <= tv2.

◆ operator==()

bool operator== ( const ACE_Time_Value & tv1,
const ACE_Time_Value & tv2 )
inline

True if tv1 == tv2.

True if tv1 == tv2.

◆ operator>()

bool operator> ( const ACE_Time_Value & tv1,
const ACE_Time_Value & tv2 )
inline

True if tv1 > tv2.

True if tv1 > tv2.

◆ operator>=()

bool operator>= ( const ACE_Time_Value & tv1,
const ACE_Time_Value & tv2 )
inline

True if tv1 >= tv2.

True if tv1 >= tv2.