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 ( const uint32_t  millis)

Definition at line 59 of file unix.cc.

Member Function Documentation

int64_t MillisecondTimer::remaining ( )

Definition at line 73 of file unix.cc.

timespec MillisecondTimer::timespec_now ( )
staticprivate

Definition at line 82 of file unix.cc.

Member Data Documentation

timespec serial::MillisecondTimer::expiry
private

Definition at line 63 of file unix.h.


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


xarm_api
Author(s):
autogenerated on Sat May 8 2021 02:51:23