- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Protected Member Functions | Protected Attributes | Friends

# MediaNode Class Reference

Search for all occurrences

## Detailed Description

Definition at line 39 of file medianode.h.

`#include <medianode.h>`

Inheritance diagram for MediaNode:
[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

Search for all occurrences

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

Search for all occurrences

QList<Path> outputPaths | ( |  | ) | const

Search for all occurrences

## Friends And Related Function Documentation

friend class Path `[friend]`

Search for all occurrences

Definition at line 41 of file medianode.h.

friend class PathPrivate `[friend]`

Search for all occurrences

Definition at line 42 of file medianode.h.

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

Search for all occurrences

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]`

Search for all occurrences

Definition at line 61 of file medianode.h.

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

- phonon/medianode.h
- phonon/path.h

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