Timebase Class Reference

#include <Timebase.h>

Inheritance diagram for Timebase:

TimebaseImpl

Public Member Functions

virtual ~Timebase ()
virtual int getStart ()=0
virtual int getSamples ()=0
 start sample.
virtual int getStride ()=0
 samples in timebase
virtual int getStime ()=0
 stride in readout.
virtual int getS0 ()=0
 time between samples.
virtual int getS1 ()
 first sample relative to trigger
virtual int getS2 ()=0
virtual const char * getDt ()=0
 last sample relative to trigger
const char * toString ()
 delta time, inc stride, seconds

Static Public Member Functions

static Timebasecreate (const char *timebase, int restore=1)
 factory method.

Protected Member Functions

 Timebase ()

Detailed Description

Definition at line 22 of file Timebase.h.


Constructor & Destructor Documentation

Timebase::Timebase (  )  [inline, protected]

Definition at line 25 of file Timebase.h.

virtual Timebase::~Timebase (  )  [inline, virtual]

Definition at line 27 of file Timebase.h.


Member Function Documentation

Timebase * Timebase::create ( const char *  timebase,
int  restore = 1 
) [static]

factory method.

Definition at line 254 of file Timebase.cpp.

Referenced by mdsPutCh(), and readVolts().

virtual const char* Timebase::getDt (  )  [pure virtual]

last sample relative to trigger

Implemented in TimebaseImpl.

virtual int Timebase::getS0 (  )  [pure virtual]

time between samples.

nsec

Implemented in TimebaseImpl.

virtual int Timebase::getS1 (  )  [inline, virtual]

first sample relative to trigger

Definition at line 35 of file Timebase.h.

virtual int Timebase::getS2 (  )  [pure virtual]

Implemented in TimebaseImpl.

virtual int Timebase::getSamples (  )  [pure virtual]

start sample.

Implemented in TimebaseImpl.

Referenced by mdsPutChannel(), readVolts(), and toString().

virtual int Timebase::getStart (  )  [pure virtual]

Implemented in TimebaseImpl.

Referenced by toString().

virtual int Timebase::getStime (  )  [pure virtual]

stride in readout.

Implemented in TimebaseImpl.

virtual int Timebase::getStride (  )  [pure virtual]

samples in timebase

Implemented in TimebaseImpl.

Referenced by sendfileOk(), and toString().

const char* Timebase::toString (  )  [inline]

delta time, inc stride, seconds

Definition at line 40 of file Timebase.h.

References getSamples(), getStart(), and getStride().

Referenced by mdsPutChannel().


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

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