LALFrame 3.0.7.1-eeff03c
LALFrStream.c File Reference

Prototypes

int gethostname (char *name, int len)
 
Routines to Open, Close and Get/Set Modes of a LALFrStream
int XLALFrStreamClose (LALFrStream *stream)
 Closes a LALFrStream. More...
 
LALFrStreamXLALFrStreamCacheOpen (LALCache *cache)
 Opens a LALFrStream associated with a LALCache. More...
 
LALFrStreamXLALFrStreamOpen (const char *dirname, const char *pattern)
 Opens a LALFrStream for specified frame files. More...
 
int XLALFrStreamGetMode (LALFrStream *stream)
 Returns the current operating mode of a LALFrStream. More...
 
int XLALFrStreamSetMode (LALFrStream *stream, int mode)
 Change the operating mode of a LALFrStream. More...
 
Routines for Positioning and Manipulating the State of a LALFrStream
int XLALFrStreamState (LALFrStream *stream)
 Gets the current state of a LALFrStream. More...
 
int XLALFrStreamEnd (LALFrStream *stream)
 Checks to see if a LALFrStream is at the end of the stream. More...
 
int XLALFrStreamError (LALFrStream *stream)
 Checks to see if a LALFrStream has encountered an error. More...
 
int XLALFrStreamClearErr (LALFrStream *stream)
 Resets the state of a LALFrStream. More...
 
int XLALFrStreamRewind (LALFrStream *stream)
 Rewinds a LALFrStream stream. More...
 
int XLALFrStreamNext (LALFrStream *stream)
 Advance a LALFrStream stream to the beginning of the next frame. More...
 
int XLALFrStreamSeek (LALFrStream *stream, const LIGOTimeGPS *epoch)
 Seeks a LALFrStream stream to data at a given time. More...
 
int XLALFrStreamSeekO (LALFrStream *stream, double dt, int whence)
 Seeks a LALFrStream stream by a time offset. More...
 
int XLALFrStreamTell (LIGOTimeGPS *epoch, LALFrStream *stream)
 Tells the current time of the current position of a LALFrStream stream. More...
 
int XLALFrStreamGetpos (LALFrStreamPos *position, LALFrStream *stream)
 Gets the current position of a LALFrStream stream. More...
 
int XLALFrStreamSetpos (LALFrStream *stream, const LALFrStreamPos *position)
 Sets the current position of a LALFrStream stream. More...
 

Go to the source code of this file.