class FrWriter DMT frame writer API.
FrWriter methods are used to create frames from TSeries objects and other data. THe FrWriter API is used as follows. A frame writer is created and then opened with the open() method. Any TSeries that are to be written to all output frames are introoduced to the frame writer with the addChannel() function. For each frame to be written user must build the frame with buildFrame(), add any additional TSeries data with addSeries() or other data using the FrameCPP API and the frame pointer from getFrame() and write it out with writeFrame(). After all frames have been written, the frame writer is closed with close() and/or deleted.
FrWriter(const char* Name, int Run)
Current - run number.
~FrWriter(void)
void setDebug(int debug=0)
void addChannel(const char* Name, TSeries** TSptr=0)
TSptr - Address of TSeries pointer.
void rmChannel(const char* Name)
int open(const char* File, bool toc=false)
tco - If true, write a table of contents.
int open(FrameCPP::Output* writer)
void close(void)
int writeFrame(void)
int buildFrame(const Time& Start=0, const Interval& dT=0.0)
dT - Frame length.
void addProcSeries(const char* Name, const TSeries& TS)
void addRawSeries(const char* Name, const TSeries& TS)
void addSeries(const char* Name, const TSeries& TS)
int getDebug(void) const
const char* getFile(void) const
const FrameCPP::Frame* getFrame(void) const
string getFrameID(void) const
Time getTime(void) const
ostream& list(ostream& out) const
void copyDetectors(const FrameCPP::Frame& f)
void copyHistory(const FrameCPP::Frame& f)
void copyAuxData(const FrameCPP::Frame& f)
void addRawAdc(const FrameCPP::Frame& f, const char* Name)
Name - Name of adc to be copied.
void addRawAdc(const FrameCPP::AdcData& adc)
alphabetic index hierarchy of classes
generated by doc++