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

GDKAudioTransitionAdapter Class Reference

Public AudioTransition to GDKAudioTransition adapter. More...

#include <audio_transitions.h>

Inheritance diagram for GDKAudioTransitionAdapter:

Inheritance graph
[legend]
Collaboration diagram for GDKAudioTransitionAdapter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GDKAudioTransitionAdapter (AudioTransition *transition)
virtual ~GDKAudioTransitionAdapter ()
char * GetDescription () const
void GetFrame (int16_t **aframe, int16_t **bframe, int frequency, int channels, int &samples, double position, double frame_delta)

Private Attributes

AudioTransitiontransition

Detailed Description

Public AudioTransition to GDKAudioTransition adapter.

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

Definition at line 99 of file audio_transitions.h.


Constructor & Destructor Documentation

GDKAudioTransitionAdapter::GDKAudioTransitionAdapter AudioTransition transition  )  [inline]
 

Definition at line 105 of file audio_transitions.h.

00105 { this->transition = transition; }

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

Definition at line 106 of file audio_transitions.h.

References transition.

00106 { delete transition; }


Member Function Documentation

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

Implements AudioTransition.

Definition at line 107 of file audio_transitions.h.

References AudioTransition::GetDescription(), and transition.

00107 { return this->transition->GetDescription( ); }

void GDKAudioTransitionAdapter::GetFrame int16_t **  aframe,
int16_t **  bframe,
int  frequency,
int  channels,
int &  samples,
double  position,
double  frame_delta
[inline, virtual]
 

Implements AudioTransition.

Definition at line 108 of file audio_transitions.h.

References AudioTransition::GetFrame(), and transition.

00109                                                                                          {
00110             return this->transition->GetFrame( aframe, bframe, frequency, channels, samples, position, frame_delta );
00111         }


Member Data Documentation

AudioTransition* GDKAudioTransitionAdapter::transition [private]
 

Definition at line 102 of file audio_transitions.h.

Referenced by GetDescription(), GetFrame(), and ~GDKAudioTransitionAdapter().


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