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

GDKImageCreateAdapter Class Reference

Public ImageCreate to GDKImageCreate adapter. More...

#include <image_create.h>

Inheritance diagram for GDKImageCreateAdapter:

Inheritance graph
[legend]
Collaboration diagram for GDKImageCreateAdapter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GDKImageCreateAdapter (ImageCreate *creator)
virtual ~GDKImageCreateAdapter ()
void AttachWidgets (GtkBin *bin)
void DetachWidgets (GtkBin *bin)
void InterpretWidgets (GtkBin *bin)
char * GetDescription () const
void CreateFrame (uint8_t *pixels, int width, int height, double position, double frame_delta)

Private Attributes

ImageCreatecreator

Detailed Description

Public ImageCreate to GDKImageCreate adapter.

Since not all filters will require additional GUI functionality, this class is provided as a convenience to wrap the non-GDK filters into basic GDK filters.

Definition at line 106 of file image_create.h.


Constructor & Destructor Documentation

GDKImageCreateAdapter::GDKImageCreateAdapter ImageCreate creator  )  [inline]
 

Definition at line 112 of file image_create.h.

00112 { this->creator = creator; }

virtual GDKImageCreateAdapter::~GDKImageCreateAdapter  )  [inline, virtual]
 

Definition at line 113 of file image_create.h.

References creator.

00113 { delete creator; }


Member Function Documentation

void GDKImageCreateAdapter::AttachWidgets GtkBin *  bin  )  [inline, virtual]
 

Reimplemented from GDKImageCreate.

Definition at line 114 of file image_create.h.

00114 { }

void GDKImageCreateAdapter::CreateFrame uint8_t *  pixels,
int  width,
int  height,
double  position,
double  frame_delta
[inline, virtual]
 

Implements ImageCreate.

Definition at line 118 of file image_create.h.

References ImageCreate::CreateFrame(), and creator.

00119         { 
00120             return this->creator->CreateFrame( pixels, width, height, position, frame_delta ); 
00121         }

void GDKImageCreateAdapter::DetachWidgets GtkBin *  bin  )  [inline, virtual]
 

Reimplemented from GDKImageCreate.

Definition at line 115 of file image_create.h.

00115 { }

char* GDKImageCreateAdapter::GetDescription  )  const [inline, virtual]
 

Implements ImageCreate.

Definition at line 117 of file image_create.h.

References creator, and ImageCreate::GetDescription().

00117 { return this->creator->GetDescription( ); }

void GDKImageCreateAdapter::InterpretWidgets GtkBin *  bin  )  [inline, virtual]
 

Reimplemented from GDKImageCreate.

Definition at line 116 of file image_create.h.

00116 { }


Member Data Documentation

ImageCreate* GDKImageCreateAdapter::creator [private]
 

Definition at line 109 of file image_create.h.

Referenced by CreateFrame(), GetDescription(), and ~GDKImageCreateAdapter().


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 22:12:58 2007 for Kino by  doxygen 1.4.2