#include <QGst/Pad>
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) |
QString | name () const |
bool | setName (const char *name) |
ObjectPtr | parent () const |
bool | setParent (const ObjectPtr &parent) |
void | unparent () |
bool | isAncestorOf (const ObjectPtr &object) const |
QString | pathString () const |
Static Public Member Functions |
static PadPtr | create (PadDirection direction, const char *name=NULL) |
Additional Inherited Members |
virtual void | ref (bool increaseRef) |
virtual void | unref () |
void * | m_object |
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: