8 #ifndef OPENDDS_DCPS_TIME_HELPER_H 9 #define OPENDDS_DCPS_TIME_HELPER_H 11 #include <dds/DdsDcpsCoreC.h> 12 #include <dds/DdsDcpsInfoUtilsC.h> 16 #if !defined (ACE_LACKS_PRAGMA_ONCE) 57 #ifndef OPENDDS_SAFETY_PROFILE 80 #ifndef OPENDDS_SAFETY_PROFILE 113 bool operator<(
const MonotonicTime_t& t1,
const MonotonicTime_t& t2);
115 #ifndef OPENDDS_SAFETY_PROFILE 117 bool operator==(
const MonotonicTime_t& t1,
const MonotonicTime_t& t2);
149 #if defined(__ACE_INLINE__) const LogLevel::Value value
ACE_INLINE OpenDDS_Dcps_Export ACE_UINT32 uint32_fractional_seconds_to_microseconds(ACE_UINT32 fraction)
ACE_INLINE OpenDDS_Dcps_Export DDS::Duration_t operator-(const DDS::Time_t &t1, const DDS::Time_t &t2)
ACE_INLINE OpenDDS_Dcps_Export bool operator!(const DDS::Time_t &t)
ACE_INLINE OpenDDS_Dcps_Export DDS::Time_t time_value_to_time(const ACE_Time_Value &tv)
ACE_INLINE OpenDDS_Dcps_Export bool non_negative_duration(const DDS::Duration_t &t)
#define OpenDDS_Dcps_Export
ACE_INLINE OpenDDS_Dcps_Export bool operator>(const DDS::Duration_t &t1, const DDS::Duration_t &t2)
bool operator==(const DisjointSequence::OrderedRanges< T > &a, const DisjointSequence::OrderedRanges< T > &b)
ACE_INLINE OpenDDS_Dcps_Export ACE_UINT32 uint32_fractional_seconds_to_nanoseconds(ACE_UINT32 fraction)
ACE_INLINE OpenDDS_Dcps_Export bool operator<=(const DDS::Duration_t &t1, const DDS::Duration_t &t2)
ACE_INLINE OpenDDS_Dcps_Export ACE_UINT32 nanoseconds_to_uint32_fractional_seconds(ACE_UINT32 fraction)
ACE_INLINE OpenDDS_Dcps_Export bool valid_duration(DDS::Duration_t const &t)
ACE_INLINE OpenDDS_Dcps_Export DDS::Duration_t make_duration_t(int sec, unsigned long nanosec)
ACE_INLINE OpenDDS_Dcps_Export ACE_Time_Value time_to_time_value(const DDS::Time_t &t)
ACE_INLINE OpenDDS_Dcps_Export const MonotonicTime_t & monotonic_time_zero()
ACE_INLINE OpenDDS_Dcps_Export ACE_UINT32 microseconds_to_uint32_fractional_seconds(ACE_UINT32 fraction)
ACE_INLINE OpenDDS_Dcps_Export DDS::Duration_t time_value_to_duration(const ACE_Time_Value &tv)
bool operator>=(const LogLevel &ll, LogLevel::Value value)
SequenceNumber operator+(const SequenceNumber &lhs, int rhs)
ACE_INLINE OpenDDS_Dcps_Export ACE_Time_Value duration_to_time_value(const DDS::Duration_t &t)
bool operator!=(const GUID_t &lhs, const GUID_t &rhs)
ACE_INLINE OpenDDS_Dcps_Export DDS::Time_t make_time_t(int sec, unsigned long nanosec)
ACE_INLINE OpenDDS_Dcps_Export bool is_infinite(const DDS::Duration_t &value)
ACE_INLINE OpenDDS_Dcps_Export MonotonicTime_t time_value_to_monotonic_time(const ACE_Time_Value &tv)
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
ACE_INLINE OpenDDS_Dcps_Export DDS::Duration_t time_to_duration(const DDS::Time_t &t)
ACE_INLINE OpenDDS_Dcps_Export ACE_Time_Value duration_to_absolute_time_value(const DDS::Duration_t &t, const ACE_Time_Value &now)
The Internal API and Implementation of OpenDDS.
bool operator<(const GUID_t &lhs, const GUID_t &rhs)