cheshirekow  v0.1.0
mpblocks::utility::Timespec Class Reference

just a c timespec with arithmetic operators More...

#include <mpblocks/util/timespec.h>

Inheritance diagram for mpblocks::utility::Timespec:

Public Member Functions

double Milliseconds () const
 
Timespecoperator+= (const Timespec &other)
 
Timespecoperator-= (const Timespec &other)
 
 Timespec (const timespec &other)
 
 Timespec (int sec=0, long int nsec=0)
 

Detailed Description

just a c timespec with arithmetic operators

Definition at line 37 of file timespec.h.

Constructor & Destructor Documentation

mpblocks::utility::Timespec::Timespec ( const timespec &  other)
inline

Definition at line 39 of file timespec.h.

mpblocks::utility::Timespec::Timespec ( int  sec = 0,
long int  nsec = 0 
)
inline

Definition at line 41 of file timespec.h.

Member Function Documentation

double mpblocks::utility::Timespec::Milliseconds ( ) const
inline

Definition at line 51 of file timespec.h.

Timespec& mpblocks::utility::Timespec::operator+= ( const Timespec other)
inline

Definition at line 43 of file timespec.h.

Timespec& mpblocks::utility::Timespec::operator-= ( const Timespec other)
inline

Definition at line 47 of file timespec.h.


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