Public Member Functions | Static Public Member Functions

QGst::Element Class Reference

Wrapper class for GstElement. More...

#include <QGst/Element>

Inheritance diagram for QGst::Element:
QGst::Object QGlib::Object QGlib::ObjectBase QGlib::RefCountedObject QGst::Bin QGst::Pipeline

List of all members.

Public Member Functions

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)
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=NULL)
void unlink (const ElementPtr &dest, const char *sinkPadName=NULL)
bool query (const QueryPtr &query)
bool sendEvent (const EventPtr &event)
bool seek (Format format, SeekFlags flags, quint64 position)

Static Public Member Functions

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)

Detailed Description

Wrapper class for GstElement.

Definition at line 33 of file element.h.


Member Function Documentation

template<typename First , typename Second , typename Third , typename... Rest>
static bool QGst::Element::linkMany ( const First &  first,
const Second &  second,
const Third &  third,
const Rest &...  rest 
) [inline, static]

Links together a series of elements in the order that they are provided.

Note:
This function makes use of C++0x features. If your compiler doesn't support this, a different version will be compiled. That version supports up to QGST_ELEMENT_LINK_MANY_MAX_ARGS arguments, which defaults to 10. If you need more, define this to a greater value before including any QtGStreamer headers.

Definition at line 88 of file element.h.

template<typename First , typename Second , typename Third , typename... Rest>
static void QGst::Element::unlinkMany ( const First &  first,
const Second &  second,
const Third &  third,
const Rest &...  rest 
) [inline, static]

Unlinks a chain of elements.

Note:
This function makes use of C++0x features. If your compiler doesn't support this, a different version will be compiled. That version supports up to QGST_ELEMENT_UNLINK_MANY_MAX_ARGS arguments, which defaults to 10. If you need more, define this to a greater value before including any QtGStreamer headers.

Definition at line 102 of file element.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator