MMDevice  70
Public Member Functions | Static Public Member Functions | List of all members
MM::MMTime Class Reference

#include <MMDevice.h>

Public Member Functions

 MMTime (double uSecTotal)
 
 MMTime (long sec, long uSec)
 
MMTime operator+ (const MMTime &other) const
 
MMTime operator- (const MMTime &other) const
 
bool operator> (const MMTime &other) const
 
bool operator>= (const MMTime &other) const
 
bool operator< (const MMTime &other) const
 
bool operator<= (const MMTime &other) const
 
bool operator== (const MMTime &other) const
 
bool operator!= (const MMTime &other) const
 
double getMsec () const
 
double getUsec () const
 
std::string toString () const
 

Static Public Member Functions

static MMTime fromUs (long long us)
 
static MMTime fromMs (double ms)
 
static MMTime fromSeconds (long secs)
 

Detailed Description

Utility class used both MMCore and devices to maintain time intervals in the uniform, platform independent way.


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