MediaNode Class Reference


Detailed Description

Definition at line 39 of file medianode.h.

#include <medianode.h>

Inheritance diagram for MediaNode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual  ~MediaNode ()
bool  isValid () const
  Tells whether the backend provides an implementation of this class.
QList< Path inputPaths () const
QList< Path outputPaths () const

Protected Member Functions

  MediaNode (MediaNodePrivate &dd)

Protected Attributes

MediaNodePrivate *const  k_ptr

Friends

class  Path
class  PathPrivate
PHONON_EXPORT Path  createPath (MediaNode *source, MediaNode *sink)

Constructor & Destructor Documentation

virtual ~MediaNode ( ) [virtual]
MediaNode ( MediaNodePrivate &  dd ) [protected]

Member Function Documentation

bool isValid ( ) const

Tells whether the backend provides an implementation of this class.

Returns:
true if backend provides an implementation
false if the object is not implemented by the backend
QList<Path> inputPaths ( ) const
QList<Path> outputPaths ( ) const

Friends And Related Function Documentation

friend class Path [friend]

Definition at line 41 of file medianode.h.

friend class PathPrivate [friend]

Definition at line 42 of file medianode.h.

PHONON_EXPORT Path createPath ( MediaNode source,
MediaNode sink 
) [friend]

Creates a new Path connecting two MediaNodes.

The implementation will automatically select the right format and media type. E.g. connecting a MediaObject and AudioOutput will create a Path object connecting the audio. This might be represented as PCM or perhaps even AC3 depending on the AudioOutput object.

Parameters:
source The MediaNode to connect an output from
sink The MediaNode to connect to.

Member Data Documentation

MediaNodePrivate* const k_ptr [protected]

Definition at line 61 of file medianode.h.


The documentation for this class was generated from the following files:

MediaNode MediaNode MediaNode MediaNode MediaNode MediaNode MediaNode MediaNode MediaNode MediaNode
MediaNode MediaNode MediaNode MediaNode MediaNode MediaNode MediaNode MediaNode MediaNode MediaNode