class Channel Channel list entry for Dacc
| | Channel (void) Default Constructor |
| | Channel (const char* name, TSeries** ctlvar, uint_type decim=0, ChanType t=kUnknown) Construct a channel object. Construct an object given a channel name, a decimation fator, an output pointer address and a channel type. |
| | Channel (const char* name, FSeries** ctlvar) Construct a channel object. Construct an object given a channel name, a decimation fator, an output pointer address and a channel type. |
| | Channel (const Channel& data) Copy constructor. Construct a channel object identical to an already existing one. |
| | operator= (const Channel& data) Assignment operator. Copy a channel object to an existing object. |
| | ~Channel () Destroy a channel entry |
| | EqName (const char *name) const Compare the name. EqName() returns true if the channel name is the same as the argument. |
| | Equal (const char *name, ChanType t=kUnknown) const Compare the name and type. Equal returns true if the channel name is the same as the argument and the channel type is the same, or the requested type is unknown. |
| | getDebug (void) const Get the debug flag. getDebug() returns the debug flag. When the debug flag is set, Channel methods print messages to cerr any time an error occurs. |
| | getDecim (void) const Get the decimation factor. getDecim() returns the decimation factor. |
| | getLast (void) const Get the end time. getLast() returns the time of the last sample added to the channel time series. |
| | getName (void) const Get the channel name. getName() returns a pointer to the channel name string. |
| | getType (void) const Get the channel type. The channel type is returned. The type can be kUnknown if the type has not been specified and no data from this channel has been read, kRaw if the channel is a raw (Adc) data channel or kProcessed if the data are in a process data channel. |
| | setAccumulate (bool Acc=true) Set channel accumulation mode |
| | setDebug (bool yorn) Set/clear the debug flag |
| | allocate (Interval Stride) Allocate an output TSeries with a specified length |
| | FillSeries (const FrameCPP::FrameH* frame, Interval off, Interval dT) Fill time series from a frame in memory. |
| | FillSeries (const FrameCPP::FrAdcData* adc, const Time& t0, Interval off, Interval dT) Fill time series from an adcData object. |
| | FillSeries (const FrameCPP::FrProcData* proc, const Time& t0, Interval off, Interval dT) Fill time series from an FrProcData object. |
| | FillSeries (const FrameCPP::FrSimData* proc, const Time& t0, Interval off, Interval dT) Fill time series from an FrSimData object. |
| | refSeries (void) const Reference the TSeries. |
| | refFSeries (void) const Reference the FSeries. |
| | reserve (Interval dT) resize the target series to accomodate the specified interval. |
Channel list entry for Dacc. Channel holds the information about the Time Series being accumulated by Dacc.
Channel(const char* name, TSeries** ctlvar, uint_type decim=0, ChanType t=kUnknown)
Channel(const char* name, FSeries** ctlvar)
Channel(const Channel& data)
const Channel& operator=(const Channel& data)
~Channel()
bool EqName(const char *name) const
bool Equal(const char *name, ChanType t=kUnknown) const
bool getDebug(void) const
uint_type getDecim(void) const
Time getLast(void) const
const char* getName(void) const
ChanType getType(void) const
void setAccumulate(bool Acc=true)
void setDebug(bool yorn)
void allocate(Interval Stride)
int FillSeries(const FrameCPP::FrameH* frame, Interval off, Interval dT)
0 Successful completion
-1 Frame start not contiguous to previous data
-2 Sample rate isn't compatible with previous data.
-3 Requested data not found in current frame
-5 Frame data are not self-consistent.
-6 TSeries is not allocated.
-7 Unsupported data type
off - Time offset to tstart of data.
dT - Time interval to be read in.
int FillSeries(const FrameCPP::FrAdcData* adc, const Time& t0, Interval off, Interval dT)
0 Successful completion
-1 Frame start not contiguous to previous data
-2 Sample rate isn't compatible with previous data.
-3 Requested data not found in current frame
-5 Frame data are not self-consistent.
-6 TSeries is not allocated.
-7 Unsupported data type
t0 - Start time for data unpacking.
off - Time offset to tstart of data.
dT - Time interval to be read in.
int FillSeries(const FrameCPP::FrProcData* proc, const Time& t0, Interval off, Interval dT)
0 Successful completion
-1 Frame start not contiguous to previous data
-2 Sample rate isn't compatible with previous data.
-3 Requested data not found in current frame
-5 Frame data are not self-consistent.
-6 TSeries is not allocated.
-7 Unsupported data type
t0 - Start time for data unpacking.
off - Time offset to tstart of data.
dT - Time interval to be read in.
int FillSeries(const FrameCPP::FrSimData* proc, const Time& t0, Interval off, Interval dT)
0 Successful completion
-1 Frame start not contiguous to previous data
-2 Sample rate isn't compatible with previous data.
-3 Requested data not found in current frame
-5 Frame data are not self-consistent.
-6 TSeries is not allocated.
-7 Unsupported data type
t0 - Start time for data unpacking.
off - Time offset to tstart of data.
dT - Time interval to be read in.
const TSeries* refSeries(void) const
const FSeries* refFSeries(void) const
void reserve(Interval dT)
alphabetic index hierarchy of classes
Please send questions and comments to zweizig_j@ligo.caltech.edu
generated by doc++