Public Member Functions | Static Public Member Functions

QGst::Pad Class Reference

Wrapper class for GstPad. More...

#include <QGst/Pad>

Inheritance diagram for QGst::Pad:
QGst::Object QGlib::Object QGlib::ObjectBase QGlib::RefCountedObject QGst::GhostPad

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

ElementPtr QGst::Pad::parentElement (  )  const

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.

CapsPtr QGst::Pad::caps (  )  const

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:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator