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

#include <QGst/Pad>

Inheritance diagram for QGst::Pad:
Inheritance graph
[legend]
Collaboration diagram for QGst::Pad:
Collaboration graph
[legend]

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)
- Public Member Functions inherited from QGst::Object
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

- Protected Member Functions inherited from QGst::Object
virtual void ref (bool increaseRef)
virtual void unref ()

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: