Qt 4.5: MediaNode Class Reference

|  | Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# MediaNode Class Reference
(Phonon::Gstreamer::MediaNode)

Inherited by

- List of all members, including inherited members

### Public Types

- flags NodeDescription
- enum NodeDescriptionEnum { AudioSource, AudioSink, VideoSource, VideoSink }

### Public Functions

- MediaNode ( Backend * backend, NodeDescription description )
- virtual ~MediaNode ()
- virtual GstElement * audioElement ()
- Backend * backend ()
- bool breakGraph ()
- bool buildGraph ()
- bool connectNode ( QObject * other )
- NodeDescription description () const
- bool disconnectNode ( QObject * other )
- bool isValid ()
- virtual bool link ()
- const QString & name ()
- void notify ( const MediaNodeEvent * event )
- MediaObject * root ()
- void setRoot ( MediaObject * mediaObject )
- virtual bool unlink ()
- virtual GstElement * videoElement ()

### Protected Functions

- bool connectToFakeSink ( GstElement * tee, GstElement * sink, GstElement * bin )
- bool linkMediaNodeList ( QList<QObject *> & list, GstElement * bin, GstElement * tee, GstElement * sink, GstElement * src )
- virtual void mediaNodeEvent ( const MediaNodeEvent * event )
- bool releaseFakeSinkIfConnected ( GstElement * tee, GstElement * sink, GstElement * bin )

## Member Type Documentation

### enum MediaNode::NodeDescriptionEnum
flags MediaNode::NodeDescription

The NodeDescription type is a typedef for QFlags<NodeDescriptionEnum>. It stores an OR combination of NodeDescriptionEnum values.

## Member Function Documentation

### MediaNode::MediaNode ( Backend * backend, NodeDescription description )

### MediaNode::~MediaNode () `[virtual]`

### GstElement * MediaNode::audioElement () `[virtual]`

### Backend * MediaNode::backend ()

### bool MediaNode::breakGraph ()

### bool MediaNode::buildGraph ()

### bool MediaNode::connectNode ( QObject * other )

### bool MediaNode::connectToFakeSink ( GstElement * tee, GstElement * sink, GstElement * bin ) `[protected]`

### NodeDescription MediaNode::description () const

### bool MediaNode::disconnectNode ( QObject * other )

### bool MediaNode::isValid ()

### bool MediaNode::link () `[virtual]`

### bool MediaNode::linkMediaNodeList ( QList<QObject *> & list, GstElement * bin, GstElement * tee, GstElement * sink, GstElement * src ) `[protected]`

### void MediaNode::mediaNodeEvent ( const MediaNodeEvent * event ) `[virtual protected]`

### const QString & MediaNode::name ()

### void MediaNode::notify ( const MediaNodeEvent * event )

### bool MediaNode::releaseFakeSinkIfConnected ( GstElement * tee, GstElement * sink, GstElement * bin ) `[protected]`

### MediaObject * MediaNode::root ()

See also setRoot().

### void MediaNode::setRoot ( MediaObject * mediaObject )

See also root().

### bool MediaNode::unlink () `[virtual]`

### GstElement * MediaNode::videoElement () `[virtual]`