Public Member Functions | List of all members
uavcan::UtcTime Class Reference

Implicitly convertible to/from uavcan.Timestamp. More...

#include <time.hpp>

Inheritance diagram for uavcan::UtcTime:
Inheritance graph
[legend]

Public Member Functions

 operator Timestamp () const
 
UtcTimeoperator= (const Timestamp &ts)
 
 UtcTime ()
 
 UtcTime (const Timestamp &ts)
 
- Public Member Functions inherited from uavcan::TimeBase< UtcTime, UtcDuration >
bool isZero () const
 
bool operator!= (const UtcTime &r) const
 
UtcTime operator+ (const UtcDuration &r) const
 
UtcTimeoperator+= (const UtcDuration &r)
 
UtcTime operator- (const UtcDuration &r) const
 
UtcDuration operator- (const UtcTime &r) const
 
UtcTimeoperator-= (const UtcDuration &r)
 
bool operator< (const UtcTime &r) const
 
bool operator<= (const UtcTime &r) const
 
bool operator== (const UtcTime &r) const
 
bool operator> (const UtcTime &r) const
 
bool operator>= (const UtcTime &r) const
 
uint64_t toMSec () const
 
void toString (char buf[StringBufSize]) const
 Prints time in seconds with microsecond resolution. More...
 
uint64_t toUSec () const
 

Additional Inherited Members

- Static Public Member Functions inherited from uavcan::TimeBase< UtcTime, UtcDuration >
static UtcTime fromMSec (uint64_t ms)
 
static UtcTime fromUSec (uint64_t us)
 
static UtcTime getMax ()
 
- Static Public Attributes inherited from uavcan::TimeBase< UtcTime, UtcDuration >
static const unsigned StringBufSize
 
- Protected Member Functions inherited from uavcan::TimeBase< UtcTime, UtcDuration >
 TimeBase ()
 
 ~TimeBase ()
 

Detailed Description

Implicitly convertible to/from uavcan.Timestamp.

Definition at line 191 of file time.hpp.

Constructor & Destructor Documentation

◆ UtcTime() [1/2]

uavcan::UtcTime::UtcTime ( )
inline

Definition at line 194 of file time.hpp.

◆ UtcTime() [2/2]

uavcan::UtcTime::UtcTime ( const Timestamp &  ts)
inline

Definition at line 196 of file time.hpp.

Member Function Documentation

◆ operator Timestamp()

uavcan::UtcTime::operator Timestamp ( ) const
inline

Definition at line 207 of file time.hpp.

◆ operator=()

UtcTime& uavcan::UtcTime::operator= ( const Timestamp &  ts)
inline

Definition at line 201 of file time.hpp.


The documentation for this class was generated from the following file:


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:05