ACE 7.0.7
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. More...
 
bool operator>= (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 True if tv1 >= tv2. More...
 
bool operator< (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 True if tv1 < tv2. More...
 
bool operator<= (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 True if tv1 >= tv2. More...
 
bool operator== (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 True if tv1 == tv2. More...
 
bool operator!= (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 True if tv1 != tv2. More...
 
ACE_Time_Value operator+ (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 Adds two ACE_Time_Value objects together, returns the sum. More...
 
ACE_Time_Value operator- (const ACE_Time_Value &tv1, const ACE_Time_Value &tv2)
 Subtracts two ACE_Time_Value objects, returns the difference. More...
 
Streaming ACE_Time_Value to chrono

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

nanoseconds & std::chrono::operator<< (nanoseconds &ns, ACE_Time_Value const &tv)
 
microseconds & std::chrono::operator<< (microseconds &us, ACE_Time_Value const &tv)
 
milliseconds & std::chrono::operator<< (milliseconds &ms, ACE_Time_Value const &tv)
 
seconds & std::chrono::operator<< (seconds &s, ACE_Time_Value const &tv)
 
minutes & std::chrono::operator<< (minutes &m, ACE_Time_Value const &tv)
 
hours & std::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).

nanoseconds & std::chrono::operator+= (nanoseconds &ns, ACE_Time_Value const &tv)
 
microseconds & std::chrono::operator+= (microseconds &us, ACE_Time_Value const &tv)
 
milliseconds & std::chrono::operator+= (milliseconds &ms, ACE_Time_Value const &tv)
 
seconds & std::chrono::operator+= (seconds &s, ACE_Time_Value const &tv)
 
minutes & std::chrono::operator+= (minutes &m, ACE_Time_Value const &tv)
 
hours & std::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).

nanoseconds & std::chrono::operator-= (nanoseconds &ns, ACE_Time_Value const &tv)
 
microseconds & std::chrono::operator-= (microseconds &us, ACE_Time_Value const &tv)
 
milliseconds & std::chrono::operator-= (milliseconds &ms, ACE_Time_Value const &tv)
 
seconds & std::chrono::operator-= (seconds &s, ACE_Time_Value const &tv)
 
minutes & std::chrono::operator-= (minutes &m, ACE_Time_Value const &tv)
 
hours & std::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.