QtGStreamer  0.10.2
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Static Public Member Functions
QGst::Pad Class Reference

#include <QGst/Pad>

Inheritance diagram for QGst::Pad:
Inheritance graph
Collaboration diagram for QGst::Pad:
Collaboration graph

List of all members.

Public Member Functions

PadDirection direction () const
ElementPtr parentElement () const
PadPtr peer () const
bool isLinked () const
bool canLink (const PadPtr &sink) const
PadLinkReturn link (const PadPtr &sink)
bool unlink (const PadPtr &sink)
CapsPtr caps () const
CapsPtr allowedCaps () const
CapsPtr negotiatedCaps () const
bool setCaps (const CapsPtr &caps)
bool isActive () const
bool setActive (bool active)
bool isBlocked () const
bool isBlocking () const
bool setBlocked (bool blocked)
bool query (const QueryPtr &query)
bool sendEvent (const EventPtr &event)

Static Public Member Functions

static PadPtr create (PadDirection direction, const char *name=NULL)

Detailed Description

Wrapper class for GstPad.

Definition at line 27 of file pad.h.

Member Function Documentation

This method returns the pad's parent casted to an Element. It is equivalent to pad->parent().dynamicCast<QGst::Element>(); If no parent is set, it will return a null RefPointer.

Definition at line 43 of file pad.cpp.

Gets the capabilities this pad can produce or consume. Note that this method doesn't necessarily return the caps set by setCaps(). This method returns all possible caps a pad can operate with, using the pad's get_caps function; this returns the pad template caps if not explicitly set.

Definition at line 73 of file pad.cpp.

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