QtGStreamer  1.2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | List of all members
QGst::Pad Class Reference

#include <QGst/Pad>

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

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 currentCaps () const
 
CapsPtr allowedCaps () const
 
CapsPtr padTemplateCaps () const
 
bool isActive () const
 
bool setActive (bool active)
 
bool isBlocked () const
 
bool isBlocking () const
 
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
 
- Public Member Functions inherited from QGlib::ObjectBase
ParamSpecPtr findProperty (const char *name) const
 
QList< ParamSpecPtrlistProperties () const
 
Value property (const char *name) const
 
template<class T >
void setProperty (const char *name, const T &value)
 
void setProperty (const char *name, const Value &value)
 
void * data (const char *key) const
 
void * stealData (const char *key) const
 
void setData (const char *key, void *data, void(*destroyCallback)(void *)=NULL)
 
void * quarkData (const Quark &quark) const
 
void * stealQuarkData (const Quark &quark) const
 
void setQuarkData (const Quark &quark, void *data, void(*destroyCallback)(void *)=NULL)
 

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 ()
 
- Protected Member Functions inherited from QGlib::RefCountedObject
template<class T >
T * object () const
 
- Protected Attributes inherited from QGlib::RefCountedObject
void * m_object
 

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 42 of file pad.cpp.


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