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

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

QGst::Element Class Reference

Wrapper class for GstElement. More...

#include <QGst/Element>

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

List of all members.

Public Member Functions

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
ClockPtr clock () const
State currentState () const
void * data (const char *key) const
ParamSpecPtr findProperty (const char *name) 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 ElementPtr &dest, const char *sinkPadName, const CapsPtr &filter=CapsPtr())
bool link (const ElementPtr &dest, const CapsPtr &filter=CapsPtr())
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())
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)
void releaseRequestPad (const PadPtr &pad)
bool seek (Format format, SeekFlags flags, quint64 position)
bool sendEvent (const EventPtr &event)
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 char *srcPadName, const ElementPtr &dest, const char *sinkPadName=NULL)
void unlink (const ElementPtr &dest, const char *sinkPadName=NULL)
void unparent ()

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

Static Private Member Functions

static bool linkMany (const ElementPtr &first, const ElementPtr &second)
static void unlinkMany (const ElementPtr &first, const ElementPtr &second)

Friends

struct Private::RefPointerEqualityCheck
class RefPointer

Detailed Description

Wrapper class for GstElement.

Definition at line 33 of file element.h.


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

Generated by  Doxygen 1.6.0   Back to index