Cyclone ISO C++ API Reference Guide
Time.hpp File Reference
#include <dds/core/types.hpp>

Go to the source code of this file.

Classes

class  dds::core::Time
 

Namespaces

 dds
 
 dds::core
 

Functions

const dds::core::Time operator+ (const dds::core::Duration &lhs, const dds::core::Time &rhs)
 
const dds::core::Time operator+ (const dds::core::Time &lhs, const dds::core::Duration &rhs)
 
const dds::core::Time operator- (const dds::core::Time &lhs, const dds::core::Duration &rhs)
 

Function Documentation

◆ operator+() [1/2]

const dds::core::Time operator+ ( const dds::core::Duration lhs,
const dds::core::Time rhs 
)

Add a Duration to a Time value

Parameters
lhsDuration
rhsTime
Returns
Duration + Time

◆ operator+() [2/2]

const dds::core::Time operator+ ( const dds::core::Time lhs,
const dds::core::Duration rhs 
)

Add a Duration to a Time value

Parameters
lhsTime
rhsDuration
Returns
Time * Duration

◆ operator-()

const dds::core::Time operator- ( const dds::core::Time lhs,
const dds::core::Duration rhs 
)

Subtract a Duration from a Time value

Parameters
lhsTime
rhsDuration
Returns
Time - Duration