Qt 4.5: MediaNode Class Reference

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

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

Inherits QObject and QObject.

Inherited by

- List of all members, including inherited members

### Public Types

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

### Public Functions

- MediaNode ( NodeDescription description, QObject * parent )
- MediaNode ( NodeDescription description, AudioNode * audioPart, QObject * parent )
- virtual ~MediaNode ()
- int availableAudioInputBus ()
- int availableAudioOutputBus ()
- bool connectToSink ( MediaNode * sink )
- bool disconnectToSink ( MediaNode * sink )
- AudioConnection * getAudioConnectionToSink ( MediaNode * sink )
- virtual void mediaNodeEvent ( const MediaNodeEvent * event )
- void notify ( const MediaNodeEvent * event, bool propagate = true )
- void sendEventToSinks ( const MediaNodeEvent * event )
- void setAudioNode ( AudioNode * audioPart )
- virtual void updateVideo ( VideoFrame & frame )

- 58 public functions inherited from QObject

### Additional Inherited Members

- 2 properties inherited from QObject
- 2 public slots inherited from QObject
- 2 signals inherited from QObject
- 10 static public members inherited from QObject
- 14 protected functions inherited from QObject

## 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 ( NodeDescription description, QObject * parent )

### MediaNode::MediaNode ( NodeDescription description, AudioNode * audioPart, QObject * parent )

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

### int MediaNode::availableAudioInputBus ()

### int MediaNode::availableAudioOutputBus ()

### bool MediaNode::connectToSink ( MediaNode * sink )

### bool MediaNode::disconnectToSink ( MediaNode * sink )

### AudioConnection * MediaNode::getAudioConnectionToSink ( MediaNode * sink )

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

### void MediaNode::notify ( const MediaNodeEvent * event, bool propagate = true )

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

### void MediaNode::setAudioNode ( AudioNode * audioPart )

### void MediaNode::updateVideo ( VideoFrame & frame ) `[virtual]`