|
|
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) |
| |
|
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 |
| |
| ParamSpecPtr | findProperty (const char *name) const |
| |
| QList< ParamSpecPtr > | listProperties () 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) |
| |
|
| 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) |
| |
Wrapper class for GstElement.
Definition at line 33 of file element.h.
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 |
|
) |
| |
|
inlinestatic |
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 102 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 |
|
) |
| |
|
inlinestatic |
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 116 of file element.h.