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::Pipeline Class Reference

#include <QGst/Pipeline>

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

Public Member Functions

BusPtr bus () const
 
ClockPtr clock () const
 
bool setClock (const ClockPtr &clock)
 
void useClock (const ClockPtr &clock)
 
void enableAutoClock ()
 
- Public Member Functions inherited from QGst::Bin
bool add (const ElementPtr &element)
 
template<typename First , typename Second , typename... Rest>
void add (const First &first, const Second &second, const Rest &...rest)
 
bool remove (const ElementPtr &element)
 
ElementPtr getElementByName (const char *name, RecursionType recursionType=RecurseDown) const
 
ElementPtr getElementByInterface (QGlib::Type interfaceType) const
 
template<typename T >
QGlib::RefPointer< T > getElementByInterface () const
 
PadPtr findUnlinkedPad (PadDirection direction) const
 
bool recalculateLatency ()
 
- Public Member Functions inherited from QGst::Element
State currentState () const
 
State pendingState () const
 
StateChangeReturn getState (State *state, State *pending, ClockTime timeout) const
 
StateChangeReturn setState (State state)
 
bool syncStateWithParent ()
 
bool stateIsLocked () const
 
bool setStateLocked (bool locked)
 
bool addPad (const PadPtr &pad)
 
bool removePad (const PadPtr &pad)
 
PadPtr getStaticPad (const char *name)
 
PadPtr getRequestPad (const char *name)
 
void releaseRequestPad (const PadPtr &pad)
 
ClockPtr clock () const
 
bool setClock (const ClockPtr &clock)
 
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())
 
void unlink (const char *srcPadName, const ElementPtr &dest, const char *sinkPadName)
 
void unlink (const ElementPtr &dest)
 
bool query (const QueryPtr &query)
 
bool sendEvent (const EventPtr &event)
 
bool seek (Format format, SeekFlags flags, quint64 position)
 
- 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)
 
- Public Member Functions inherited from QGst::ChildProxy
uint childrenCount () const
 
QGlib::ObjectPtr childByName (const char *name) const
 
QGlib::ObjectPtr childByIndex (uint index) const
 
bool findChildProperty (const char *name, QGlib::ObjectPtr *object, QGlib::ParamSpecPtr *paramSpec) const
 
QGlib::Value childProperty (const char *name) const
 
template<typename T >
void setChildProperty (const char *name, const T &value)
 

Static Public Member Functions

static PipelinePtr create (const char *name=NULL)
 
- Static Public Member Functions inherited from QGst::Bin
static BinPtr create (const char *name=NULL)
 
static BinPtr fromDescription (const char *description, BinFromDescriptionOption ghostUnlinkedPads=Ghost)
 
static BinPtr fromDescription (const QString &description, BinFromDescriptionOption ghostUnlinkedPads=Ghost)
 
- Static Public Member Functions inherited from QGst::Element
template<typename First , typename Second , typename Third , typename... Rest>
static bool linkMany (const First &first, const Second &second, const Third &third, const Rest &...rest)
 
template<typename First , typename Second , typename Third , typename... Rest>
static void unlinkMany (const First &first, const Second &second, const Third &third, const Rest &...rest)
 

Additional Inherited Members

- Public Types inherited from QGst::Bin
enum  BinFromDescriptionOption { NoGhost = 0, Ghost = 1 }
 
enum  RecursionType { RecurseDown, RecurseUp }
 
- 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 GstPipeline.

Examples:
examples/appsink-src/main.cpp, examples/player/main.cpp, and examples/qmlplayer/main.cpp.

Definition at line 32 of file pipeline.h.


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