AdaptorChain Class Reference
<class description="" goes="" here=""> <short description=""> More...
#include <AdaptorChain.hpp>
Inheritance diagram for AdaptorChain:
Public Member Functions | |
AdaptorChain () | |
Constructor. | |
virtual | ~AdaptorChain () |
Destructor. | |
virtual list< Frame * > | adapt (Frame *frm) |
Virtual method, used to adapt a input Frame object to a list of output Frame objects. | |
virtual bool | addAdaptor (Adaptor *pAdaptor) |
Add a new Adaptor to the adaptor chain. | |
bool | pushFrontAdaptor (Adaptor *pAdaptor) |
adds an adaptor to the front of the adaptor list! | |
list< Adaptor * > * | getAdaptors () |
virtual list< Frame * > | close () |
Close the adaptor chain, and flush all buffered Frame objects (if any). | |
virtual void | initialize () |
Initialize internal data structures. | |
virtual u32 | getTranscodingCosts () const |
returns adaptation costs (CPU only) | |
Protected Attributes | |
list< Adaptor * > | mAdaptorList |
List of Adaptor objects. |
Detailed Description
<class description="" goes="" here=""> <short description="">
- Author:
- Michael Kropfberger and Peter Schojer
- Version:
- Id
- AdaptorChain.hpp,v 1.9 2005/06/19 14:47:22 mkropfbe Exp
Definition at line 60 of file AdaptorChain.hpp.
Constructor & Destructor Documentation
|
Constructor. Definition at line 48 of file AdaptorChain.cpp.
|
|
Destructor. Definition at line 55 of file AdaptorChain.cpp. References mAdaptorList.
|
Member Function Documentation
|
Virtual method, used to adapt a input Frame object to a list of output Frame objects.
Reimplemented from Adaptor. Definition at line 120 of file AdaptorChain.cpp. References Adaptor::adapt(), initialize(), and mAdaptorList.
|
|
Add a new Adaptor to the adaptor chain. FIXME: check for valid chain not implemented!
References mAdaptorList. Referenced by VideoAdaptorChain::clone(), AudioAdaptorChain::clone(), SpatialReductionAdaptor::initialize(), QualityReductionAdaptor::initialize(), ColorReductionAdaptor::initialize(), and DataChannel::visualizeCaching().
|
|
Close the adaptor chain, and flush all buffered Frame objects (if any).
Reimplemented from Adaptor. Definition at line 80 of file AdaptorChain.cpp. References mAdaptorList.
|
|
Initialize internal data structures.
Implements Adaptor.
Reimplemented in ColorReductionAdaptor, QualityReductionAdaptor, and SpatialReductionAdaptor. Definition at line 68 of file AdaptorChain.cpp. References mAdaptorList. Referenced by adapt().
|
Member Data Documentation
|
List of Adaptor objects. Definition at line 111 of file AdaptorChain.hpp. Referenced by adapt(), addAdaptor(), close(), getTranscodingCosts(), initialize(), pushFrontAdaptor(), and ~AdaptorChain(). |
The documentation for this class was generated from the following files: