Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
serial::MillisecondTimer Class Reference

#include <unix.h>

Public Member Functions

 MillisecondTimer (const uint32_t millis)
 
int64_t remaining ()
 

Static Private Member Functions

static timespec timespec_now ()
 

Private Attributes

timespec expiry
 

Detailed Description

Definition at line 56 of file unix.h.

Constructor & Destructor Documentation

◆ MillisecondTimer()

MillisecondTimer::MillisecondTimer ( const uint32_t  millis)

Definition at line 59 of file unix.cc.

Member Function Documentation

◆ remaining()

int64_t MillisecondTimer::remaining ( )

Definition at line 73 of file unix.cc.

◆ timespec_now()

timespec MillisecondTimer::timespec_now ( )
staticprivate

Definition at line 82 of file unix.cc.

Member Data Documentation

◆ expiry

timespec serial::MillisecondTimer::expiry
private

Definition at line 63 of file unix.h.


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


ubiquity_motor
Author(s):
autogenerated on Thu Nov 16 2023 03:30:56