Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

decoder Class Reference

base class for codec decompression. More...

#include <decoder.h>

Inheritance diagram for decoder:

Inheritance graph
[legend]
Collaboration diagram for decoder:

Collaboration graph
[legend]
List of all members.

Public Methods

 decoder () throw ()
virtual ~decoder () throw ()
virtual bool init_size (const point &p, const rect &r) throw (std::exception)
virtual bool decode (blitter &, chunck &)=0 throw (std::exception)

Protected Methods

const rectget_rect () const throw ()
const pointget_size () const throw ()

Private Attributes

rect _r
 current size of the frame object to decode

point _p
 position of the frame object to decode


Detailed Description

base class for codec decompression.

This class provides an interface for codec decompression.

Definition at line 38 of file decoder.h.


Constructor & Destructor Documentation

decoder::decoder   throw () [inline]
 

Definition at line 46 of file decoder.h.

virtual decoder::~decoder   throw () [inline, virtual]
 

Definition at line 47 of file decoder.h.


Member Function Documentation

virtual bool decoder::decode blitter  ,
chunck  
throw (std::exception) [pure virtual]
 

Implemented in codec1_decoder, codec37_decoder, and codec44_decoder.

const rect& decoder::get_rect   const throw () [inline, protected]
 

Definition at line 43 of file decoder.h.

const point& decoder::get_size   const throw () [inline, protected]
 

Definition at line 44 of file decoder.h.

virtual bool decoder::init_size const point   p,
const rect   r
throw (std::exception) [inline, virtual]
 

Reimplemented in codec37_decoder.

Definition at line 48 of file decoder.h.

Referenced by codec37_decoder::init_size().


Member Data Documentation

point decoder::_p [private]
 

position of the frame object to decode

Definition at line 41 of file decoder.h.

rect decoder::_r [private]
 

current size of the frame object to decode

Definition at line 40 of file decoder.h.


The documentation for this class was generated from the following file:
Generated on Fri Aug 9 22:54:31 2002 for san_player by doxygen1.2.16