SASC
DVBSoftCAM

cIndexFile Class Reference

#include <recording.h>

List of all members.

Classes

struct  tIndex

Public Member Functions

 cIndexFile (const char *FileName, bool Record)
 ~cIndexFile ()
bool Ok (void)
bool Write (uchar PictureType, uchar FileNumber, int FileOffset)
bool Get (int Index, uchar *FileNumber, int *FileOffset, uchar *PictureType=NULL, int *Length=NULL)
int GetNextIFrame (int Index, bool Forward, uchar *FileNumber=NULL, int *FileOffset=NULL, int *Length=NULL, bool StayOffEnd=false)
int Get (uchar FileNumber, int FileOffset)
int Last (void)
int GetResume (void)
bool StoreResume (int Index)
bool IsStillRecording (void)

Detailed Description

Definition at line 194 of file recording.h.


Constructor & Destructor Documentation

cIndexFile::cIndexFile ( const char *  FileName,
bool  Record 
)
cIndexFile::~cIndexFile ( )

Member Function Documentation

bool cIndexFile::Get ( int  Index,
uchar *  FileNumber,
int *  FileOffset,
uchar *  PictureType = NULL,
int *  Length = NULL 
)
int cIndexFile::Get ( uchar  FileNumber,
int  FileOffset 
)
int cIndexFile::GetNextIFrame ( int  Index,
bool  Forward,
uchar *  FileNumber = NULL,
int *  FileOffset = NULL,
int *  Length = NULL,
bool  StayOffEnd = false 
)
int cIndexFile::GetResume ( void  ) [inline]

Definition at line 213 of file recording.h.

References cResumeFile::Read().

{ return resumeFile.Read(); }
bool cIndexFile::IsStillRecording ( void  )
int cIndexFile::Last ( void  ) [inline]

Definition at line 212 of file recording.h.

{ CatchUp(); return last; }
bool cIndexFile::Ok ( void  ) [inline]

Definition at line 207 of file recording.h.

References NULL.

{ return index != NULL; }
bool cIndexFile::StoreResume ( int  Index) [inline]

Definition at line 214 of file recording.h.

References cResumeFile::Save().

{ return resumeFile.Save(Index); }
bool cIndexFile::Write ( uchar  PictureType,
uchar  FileNumber,
int  FileOffset 
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines