Syntalos::TimeSyncFileReader

Syntalos::TimeSyncFileReader

Syntalos::TimeSyncFileReader

Read a time-sync (.tsync) file. More…

#include <tsyncfile.h>

Public Functions

Name
TimeSyncFileReader()
boolopen(const QString & fname)
QStringlastError() const
QStringmoduleName() const
QUuidcollectionId() const
time_tcreationTime() const
TSyncFileModesyncMode() const
QVariantHashuserData() const
microseconds_ttolerance() const
QPair< QString, QString >timeNames() const
QPair< TSyncFileTimeUnit, TSyncFileTimeUnit >timeUnits() const
QPair< TSyncFileDataType, TSyncFileDataType >timeDTypes() const
std::vector< std::pair< long long, long long > >times() const

Detailed Description

class Syntalos::TimeSyncFileReader;

Read a time-sync (.tsync) file.

Simple helper class to read the contents of a .tsync file, for adjustments of the source timestamps or simply conversion into a non-binary format.

Public Functions Documentation

function TimeSyncFileReader

explicit TimeSyncFileReader()

function open

bool open(
    const QString & fname
)

function lastError

QString lastError() const

function moduleName

QString moduleName() const

function collectionId

QUuid collectionId() const

function creationTime

time_t creationTime() const

function syncMode

TSyncFileMode syncMode() const

function userData

QVariantHash userData() const

function tolerance

microseconds_t tolerance() const

function timeNames

QPair< QString, QString > timeNames() const

function timeUnits

QPair< TSyncFileTimeUnit, TSyncFileTimeUnit > timeUnits() const

function timeDTypes

QPair< TSyncFileDataType, TSyncFileDataType > timeDTypes() const

function times

std::vector< std::pair< long long, long long > > times() const

Updated on 2024-11-06 at 17:10:29 +0000