Logo Search packages:      
Sourcecode: qt-gstreamer version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends

QGst::Pipeline Class Reference

Wrapper class for GstPipeline. More...

#include <QGst/Pipeline>

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

List of all members.

Public Types

enum  BinFromDescriptionOption { NoGhost = 0, Ghost = 1 }
enum  RecursionType { RecurseDown, RecurseUp }

Public Member Functions

bool add (const ElementPtr &element)
bool addPad (const PadPtr &pad)
 BOOST_PP_INC (QGST_ELEMENT_UNLINK_MANY_MAX_ARGS)
 BOOST_PP_REPEAT_FROM_TO (3, BOOST_PP_INC(QGST_ELEMENT_LINK_MANY_MAX_ARGS), QGST_ELEMENT_LINK_MANY_DECLARATION, dummy) BOOST_PP_REPEAT_FROM_TO(3
BusPtr bus () const
ObjectPtr childByIndex (uint index) const
ObjectPtr childByName (const char *name) const
QGlib::Value childProperty (const char *name) const
uint childrenCount () const
ClockPtr clock () const
State currentState () const
void * data (const char *key) const
void enableAutoClock ()
bool findChildProperty (const char *name, ObjectPtr *object, QGlib::ParamSpecPtr *paramSpec) const
ParamSpecPtr findProperty (const char *name) const
PadPtr findUnlinkedPad (PadDirection direction) const
ElementPtr getElementByInterface (QGlib::Type interfaceType) const
template<typename T >
QGlib::RefPointer< T > getElementByInterface () const
ElementPtr getElementByName (const char *name, RecursionType recursionType=RecurseDown) const
PadPtr getRequestPad (const char *name)
StateChangeReturn getState (State *state, State *pending, ClockTime timeout) const
PadPtr getStaticPad (const char *name)
bool isAncestorOf (const ObjectPtr &object) const
bool link (const char *srcPadName, const ElementPtr &dest, const char *sinkPadName, const CapsPtr &filter=CapsPtr())
bool link (const char *srcPadName, const ElementPtr &dest, const CapsPtr &filter=CapsPtr())
bool link (const ElementPtr &dest, const char *sinkPadName, const CapsPtr &filter=CapsPtr())
bool link (const ElementPtr &dest, const CapsPtr &filter=CapsPtr())
QList< ParamSpecPtr > listProperties () const
QString name () const
ObjectPtr parent () const
QString pathString () const
State pendingState () const
Value property (const char *name) const
void * quarkData (const Quark &quark) const
dummy bool query (const QueryPtr &query)
bool recalculateLatency ()
void releaseRequestPad (const PadPtr &pad)
bool remove (const ElementPtr &element)
bool seek (Format format, SeekFlags flags, quint64 position)
bool sendEvent (const EventPtr &event)
template<typename T >
void setChildProperty (const char *name, const T &value)
bool setClock (const ClockPtr &clock)
void setData (const char *key, void *data, void(*destroyCallback)(void *)=NULL)
bool setName (const char *name)
bool setParent (const ObjectPtr &parent)
void setProperty (const char *name, const Value &value)
template<class T >
void setProperty (const char *name, const T &value)
void setQuarkData (const Quark &quark, void *data, void(*destroyCallback)(void *)=NULL)
StateChangeReturn setState (State state)
bool setStateLocked (bool locked)
bool stateIsLocked () const
void * stealData (const char *key) const
void * stealQuarkData (const Quark &quark) const
bool syncStateWithParent ()
void unlink (const ElementPtr &dest, const char *sinkPadName=NULL)
void unlink (const char *srcPadName, const ElementPtr &dest, const char *sinkPadName=NULL)
void unparent ()
void useClock (const ClockPtr &clock)

Static Public Member Functions

static PipelinePtr create (const char *name=NULL)
static BinPtr fromDescription (const QString &description, BinFromDescriptionOption ghostUnlinkedPads=Ghost)
static BinPtr fromDescription (const char *description, BinFromDescriptionOption ghostUnlinkedPads=Ghost)

Public Attributes

 QGST_ELEMENT_UNLINK_MANY_DECLARATION

Protected Member Functions

template<class T >
T * object () const
 Q_DISABLE_COPY (ObjectBase)
virtual void ref (bool increaseRef)
virtual void unref ()

Protected Attributes

void * m_object

Friends

struct Private::RefPointerEqualityCheck
class RefPointer

Detailed Description

Wrapper class for GstPipeline.

Definition at line 32 of file pipeline.h.


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

Generated by  Doxygen 1.6.0   Back to index