Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QGstObject Class Reference

#include <qgst_p.h>

+ Inheritance diagram for QGstObject:
+ Collaboration diagram for QGstObject:

Public Member Functions

 QGstObject (const QGstObject &)=default
 
 QGstObject (QGstObject &&) noexcept=default
 
QGstObjectoperator= (const QGstObject &)=default
 
QGstObjectoperator= (QGstObject &&) noexcept=default
 
void set (const char *property, const char *str)
 
void set (const char *property, bool b)
 
void set (const char *property, uint i)
 
void set (const char *property, int i)
 
void set (const char *property, qint64 i)
 
void set (const char *property, quint64 i)
 
void set (const char *property, double d)
 
void set (const char *property, const QGstObject &o)
 
void set (const char *property, const QGstCaps &c)
 
QGString getString (const char *property) const
 
QGstStructure getStructure (const char *property) const
 
bool getBool (const char *property) const
 
uint getUInt (const char *property) const
 
int getInt (const char *property) const
 
quint64 getUInt64 (const char *property) const
 
qint64 getInt64 (const char *property) const
 
float getFloat (const char *property) const
 
double getDouble (const char *property) const
 
QGstObject getObject (const char *property) const
 
QGObjectHandlerConnection connect (const char *name, GCallback callback, gpointer userData)
 
void disconnect (gulong handlerId)
 
GType type () const
 
GstObject * object () const
 
const char * name () const
 
- Public Member Functions inherited from QGstPointerImpl::QGstObjectWrapper< GstObject >
constexpr QGstObjectWrapper ()=default
 
 QGstObjectWrapper (GstObject *object, RefMode mode)
 
 QGstObjectWrapper (const QGstObjectWrapper &other)
 
 QGstObjectWrapper (QGstObjectWrapper &&other) noexcept
 
 ~QGstObjectWrapper ()
 
QGstObjectWrapperoperator= (const QGstObjectWrapper &other)
 
QGstObjectWrapperoperator= (QGstObjectWrapper &&other) noexcept
 
 operator bool () const
 
bool isNull () const
 
GstObject * release ()
 

Additional Inherited Members

- Public Types inherited from QGstPointerImpl::QGstObjectWrapper< GstObject >
enum  RefMode
 
- Protected Member Functions inherited from QGstPointerImpl::QGstObjectWrapper< GstObject >
GstObject * get () const
 

Detailed Description

Definition at line 374 of file qgst_p.h.

Constructor & Destructor Documentation

◆ QGstObject() [1/2]

QGstObject::QGstObject ( const QGstObject & )
default

Referenced by getObject().

+ Here is the caller graph for this function:

◆ QGstObject() [2/2]

QGstObject::QGstObject ( QGstObject && )
defaultnoexcept

Member Function Documentation

◆ connect()

QGObjectHandlerConnection QGstObject::connect ( const char * name,
GCallback callback,
gpointer userData )

Definition at line 640 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get().

Referenced by QGstreamerMediaPlayer::setMedia().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ disconnect()

void QGstObject::disconnect ( gulong handlerId)

Definition at line 649 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get().

+ Here is the call graph for this function:

◆ getBool()

bool QGstObject::getBool ( const char * property) const

Definition at line 584 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), and property.

+ Here is the call graph for this function:

◆ getDouble()

double QGstObject::getDouble ( const char * property) const

Definition at line 626 of file qgst.cpp.

References d, QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), and property.

+ Here is the call graph for this function:

◆ getFloat()

float QGstObject::getFloat ( const char * property) const

Definition at line 619 of file qgst.cpp.

References d, QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), and property.

+ Here is the call graph for this function:

◆ getInt()

int QGstObject::getInt ( const char * property) const

Definition at line 598 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), i, and property.

+ Here is the call graph for this function:

◆ getInt64()

qint64 QGstObject::getInt64 ( const char * property) const

Definition at line 612 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), i, and property.

+ Here is the call graph for this function:

◆ getObject()

QGstObject QGstObject::getObject ( const char * property) const

Definition at line 633 of file qgst.cpp.

References QGstObject(), QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), QGstPointerImpl::QGstObjectWrapper< GstObject >::HasRef, o, and property.

+ Here is the call graph for this function:

◆ getString()

QGString QGstObject::getString ( const char * property) const

Definition at line 570 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), and property.

+ Here is the call graph for this function:

◆ getStructure()

QGstStructure QGstObject::getStructure ( const char * property) const

Definition at line 577 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), and property.

+ Here is the call graph for this function:

◆ getUInt()

uint QGstObject::getUInt ( const char * property) const

Definition at line 591 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), i, and property.

+ Here is the call graph for this function:

◆ getUInt64()

quint64 QGstObject::getUInt64 ( const char * property) const

Definition at line 605 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), i, and property.

+ Here is the call graph for this function:

◆ name()

const char * QGstObject::name ( ) const

Definition at line 664 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get().

Referenced by applyMetaDataToTagSetter(), QGstElement::finishStateChange(), QGstreamerMediaEncoder::processBusMessage(), QGstElement::setStateSync(), and QGstreamerVideoOutput::setVideoSink().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ object()

GstObject * QGstObject::object ( ) const

Definition at line 659 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get().

Referenced by QGstreamerVideoOverlay::processSyncMessage(), QGstreamerMediaEncoder::record(), QGstreamerVideoOverlay::setVideoSink(), and QGstreamerVideoOverlay::setWindowHandle().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=() [1/2]

QGstObject & QGstObject::operator= ( const QGstObject & )
default

◆ operator=() [2/2]

QGstObject & QGstObject::operator= ( QGstObject && )
defaultnoexcept

◆ set() [1/9]

void QGstObject::set ( const char * property,
bool b )

Definition at line 530 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), and property.

+ Here is the call graph for this function:

◆ set() [2/9]

void QGstObject::set ( const char * property,
const char * str )

◆ set() [3/9]

void QGstObject::set ( const char * property,
const QGstCaps & c )

Definition at line 565 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), and property.

+ Here is the call graph for this function:

◆ set() [4/9]

void QGstObject::set ( const char * property,
const QGstObject & o )

Definition at line 560 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), o, and property.

+ Here is the call graph for this function:

◆ set() [5/9]

void QGstObject::set ( const char * property,
double d )

Definition at line 555 of file qgst.cpp.

References d, QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), and property.

+ Here is the call graph for this function:

◆ set() [6/9]

void QGstObject::set ( const char * property,
int i )

Definition at line 540 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), i, and property.

+ Here is the call graph for this function:

◆ set() [7/9]

void QGstObject::set ( const char * property,
qint64 i )

Definition at line 545 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), i, and property.

+ Here is the call graph for this function:

◆ set() [8/9]

void QGstObject::set ( const char * property,
quint64 i )

Definition at line 550 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), i, and property.

+ Here is the call graph for this function:

◆ set() [9/9]

void QGstObject::set ( const char * property,
uint i )

Definition at line 535 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get(), i, and property.

+ Here is the call graph for this function:

◆ type()

GType QGstObject::type ( ) const

Definition at line 654 of file qgst.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstObject >::get().

Referenced by isQueue().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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