Timebase.cpp File Reference

#include "local.h"
#include "stringtok.h"
#include <vector>
#include <string>
#include "acq200_root.h"
#include "Timebase.h"

Go to the source code of this file.

Data Structures

class  StartSampleStride
class  TimebaseImpl

Defines

#define DROOT   "/dev/dtacq"
 closure: configures timebase (global) and restores on exit.
#define SR_START   "sample_read_start"
#define SR_STRIDE   "sample_read_stride"
#define MEASRATE   "measured_sample_rate"
#define NSEC_PER_SEC   1000000000
 EXTERNAL CLOCK:.
#define STIME_EXT   NSEC_PER_SEC
#define MAXDT_BUF   128

Functions

static void _getRoot (char *root, char *file, char *buf, int maxbuf)


Define Documentation

#define DROOT   "/dev/dtacq"

closure: configures timebase (global) and restores on exit.

Definition at line 15 of file Timebase.cpp.

Referenced by StartSampleStride::flush(), StartSampleStride::getClockRate(), and StartSampleStride::update().

#define MAXDT_BUF   128

Definition at line 205 of file Timebase.cpp.

Referenced by TimebaseImpl::getDt().

#define MEASRATE   "measured_sample_rate"

Definition at line 18 of file Timebase.cpp.

Referenced by StartSampleStride::getClockRate().

#define NSEC_PER_SEC   1000000000

EXTERNAL CLOCK:.

Definition at line 22 of file Timebase.cpp.

Referenced by StartSampleStride::getClockRate(), and TimebaseImpl::getDt().

#define SR_START   "sample_read_start"

Definition at line 16 of file Timebase.cpp.

Referenced by StartSampleStride::flush(), and StartSampleStride::update().

#define SR_STRIDE   "sample_read_stride"

Definition at line 17 of file Timebase.cpp.

Referenced by StartSampleStride::flush(), and StartSampleStride::update().

#define STIME_EXT   NSEC_PER_SEC

Definition at line 23 of file Timebase.cpp.

Referenced by StartSampleStride::getClockRate().


Function Documentation

static void _getRoot ( char *  root,
char *  file,
char *  buf,
int  maxbuf 
) [static]

Definition at line 26 of file Timebase.cpp.

References fname().

Referenced by StartSampleStride::getClockRate().


Generated on Wed Feb 3 08:08:33 2010 for mdsshell by  doxygen 1.5.7.1