Ogg::Logical::PageReader Class Reference
[Derivable and Nonderivable Classes]

Logical stream Page reader. More...

#include <Logical.H>

List of all members.

Public Member Functions

 ~PageReader ()
 Stops reading this Logical stream.
Page * get ()
 Deques the next page.
Page & doGet ()
 Deques the next page.

Protected Member Functions

 PageReader ()


Detailed Description

Logical stream Page reader.

Do not derive from PageReader. It is designed for reading raw (un-decapsulated) pages either simultaneously with reading the decapsulated packets, or by themselves. This allows logical streams to be ripped and merged into Ogg streams without re-encapsulation.


Constructor & Destructor Documentation

Ogg::Logical::PageReader::PageReader (  )  [inline, protected]

Ogg::Logical::PageReader::~PageReader (  ) 

Stops reading this Logical stream.

The user may request a new pageReader after this.


Member Function Documentation

Page* Ogg::Logical::PageReader::get (  ) 

Deques the next page.

Null if none available. This call does not block. Any gotten page should be sunk by a PageWriter. Otherwise the page's memory will not be released. This may lead to exhaustion of available memory.

Page& Ogg::Logical::PageReader::doGet (  ) 

Deques the next page.

Blocks if none available.


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

Generated on Thu Feb 26 12:25:46 2009 for libogg++ by  doxygen 1.5.6