Apollo  6.0
Open source self driving car software
Public Member Functions | Static Public Member Functions | List of all members
apollo::cyber::PyTime Class Reference

#include <py_time.h>

Collaboration diagram for apollo::cyber::PyTime:
Collaboration graph

Public Member Functions

 PyTime ()=default
 
 PyTime (uint64_t nanoseconds)
 
double to_sec () const
 
uint64_t to_nsec () const
 

Static Public Member Functions

static PyTime now ()
 
static PyTime mono_time ()
 
static void sleep_until (uint64_t nanoseconds)
 

Constructor & Destructor Documentation

◆ PyTime() [1/2]

apollo::cyber::PyTime::PyTime ( )
default

◆ PyTime() [2/2]

apollo::cyber::PyTime::PyTime ( uint64_t  nanoseconds)
inlineexplicit

Member Function Documentation

◆ mono_time()

static PyTime apollo::cyber::PyTime::mono_time ( )
inlinestatic

◆ now()

static PyTime apollo::cyber::PyTime::now ( )
inlinestatic

◆ sleep_until()

static void apollo::cyber::PyTime::sleep_until ( uint64_t  nanoseconds)
inlinestatic

◆ to_nsec()

uint64_t apollo::cyber::PyTime::to_nsec ( ) const
inline

◆ to_sec()

double apollo::cyber::PyTime::to_sec ( ) const
inline

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