QDaq  0.2.6
Qt-based Data Aqcuisition
 All Classes Functions Variables Typedefs Enumerations Enumerator Properties Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
QDaqTimeValue Class Reference

Time representation in QDaq. More...

#include <QDaqTypes.h>

Public Member Functions

 QDaqTimeValue ()
 default constructor
 
 QDaqTimeValue (double d)
 construct from double
 
 QDaqTimeValue (const QDaqTimeValue &rhs)
 copy constructor
 
QDaqTimeValueoperator= (const QDaqTimeValue &rhs)
 copy operator
 
 operator double ()
 type conversion operator to double
 
 operator QDateTime ()
 convert to QDateTime
 
QString toString ()
 convert to string
 

Static Public Member Functions

static QDaqTimeValue now ()
 return current time in QDaqTimeValue format
 

Detailed Description

Time representation in QDaq.

Time is represented internaly as a double number corresponding to seconds since 1 Jan 1970 as returned by the POSIX ftime function. It is recorded with millisecond resolution.

Definition at line 51 of file QDaqTypes.h.


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