mimas::image_mplayeroutput< T > Class Template Reference
[Image Output]

Display tool that sits over Mplayer. More...

#include <image_mplayeroutput.h>

Inheritance diagram for mimas::image_mplayeroutput< T >:

Inheritance graph
[legend]
Collaboration diagram for mimas::image_mplayeroutput< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 image_mplayeroutput (int _width, int _height) throw (mimasexception)
 Constructor.
virtual ~image_mplayeroutput (void)
 Destructor.
virtual void write (const const_image_ref< T > &image)
 Write image to arbitrary sink.
template<>
void write (const const_image_ref< rgba< unsigned char > > &image)
template<>
void write (const const_image_ref< unsigned char > &image)

Protected Attributes

int width
 Width of display.
int height
 Height of display.
std::string pipename
int imgpipe
 The pipe for images.
FILE * mplayer
 The pipe for opening MPlayer.

Detailed Description

template<typename T>
class mimas::image_mplayeroutput< T >

Display tool that sits over Mplayer.

Author:
Bala Amavasai (bala@amavasai.org)
Date:
Fri May 14 19:06:10 BST 2004
Header
/cvs/mimas2/include/image_mplayeroutput.h,v 1.1.1.1 2005/08/09 15:37:45 engmb Exp

Definition at line 20 of file image_mplayeroutput.h.


Constructor & Destructor Documentation

template<typename T>
mimas::image_mplayeroutput< T >::image_mplayeroutput ( int  _width,
int  _height 
) throw (mimasexception)

Constructor.

Parameters:
_width Width of display.
_height Height of display.

template<typename T>
virtual mimas::image_mplayeroutput< T >::~image_mplayeroutput ( void   )  [virtual]

Destructor.


Member Function Documentation

template<typename T>
virtual void mimas::image_mplayeroutput< T >::write ( const const_image_ref< T > &  image  )  [virtual]

Write image to arbitrary sink.

This function is virtual and has to be overriden by the inheriting class.

Parameters:
image The image to write to the sink.

Implements mimas::image_output< T >.

template<>
void mimas::image_mplayeroutput< rgba< unsigned char > >::write ( const const_image_ref< rgba< unsigned char > > &  image  ) 

template<>
void mimas::image_mplayeroutput< unsigned char >::write ( const const_image_ref< unsigned char > &  image  ) 


Member Data Documentation

template<typename T>
int mimas::image_mplayeroutput< T >::width [protected]

Width of display.

Definition at line 34 of file image_mplayeroutput.h.

template<typename T>
int mimas::image_mplayeroutput< T >::height [protected]

Height of display.

Definition at line 36 of file image_mplayeroutput.h.

template<typename T>
std::string mimas::image_mplayeroutput< T >::pipename [protected]

Definition at line 38 of file image_mplayeroutput.h.

template<typename T>
int mimas::image_mplayeroutput< T >::imgpipe [protected]

The pipe for images.

Definition at line 40 of file image_mplayeroutput.h.

template<typename T>
FILE* mimas::image_mplayeroutput< T >::mplayer [protected]

The pipe for opening MPlayer.

Definition at line 42 of file image_mplayeroutput.h.


The documentation for this class was generated from the following file:
[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:31 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...