Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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, int32_t i)
void set (const char *property, uint32_t i)
void set (const char *property, int64_t i)
void set (const char *property, uint64_t i)
void set (const char *property, double d)
void set (const char *property, const QGstObject &o)
void set (const char *property, const QGstCaps &c)
void set (const char *property, void *object, GDestroyNotify destroyFunction)
template<typename Object>
void set (const char *property, Object *object, GDestroyNotify destroyFunction)
template<typename Object>
void set (const char *property, std::unique_ptr< Object > object)
QGString getString (const char *property) const
QGstStructureView 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 getGstObject (const char *property) const
voidgetObject (const char *property) const
template<typename T>
T * getObject (const char *property) const
QGObjectHandlerConnection connect (const char *name, GCallback callback, gpointer userData)
void disconnect (gulong handlerId)
GType type () const
QLatin1StringView typeName () const
GstObject * object () const
QLatin1StringView name () const
Public Member Functions inherited from QtPrivate::QSharedHandle< QSharedGstObjectTraits >
 QSharedHandle ()=default
 QSharedHandle (typename QSharedGstObjectTraits::Type object, RefMode mode)
 QSharedHandle (const QSharedHandle &o)
 QSharedHandle (QSharedHandle &&) noexcept=default
QSharedHandleoperator= (const QSharedHandle &o) noexcept(RefIsNoexcept &&BaseResetIsNoexcept)
QSharedHandleoperator= (QSharedHandle &&o) noexcept(BaseMoveIsNoexcept)
void reset (typename QSharedGstObjectTraits::Type o, RefMode mode) noexcept(RefIsNoexcept &&BaseResetIsNoexcept)
void reset () noexcept(BaseResetIsNoexcept)
 Q_DECLARE_STRONGLY_ORDERED (QSharedHandle)
void swap (QSharedHandle &other) noexcept(noexcept(std::declval< BaseClass >().swap(other)))
Type get () const noexcept
bool isValid () const noexcept
 operator bool () const noexcept
Type release () noexcept
Typeoperator& () noexcept

Static Public Member Functions

template<typename T>
static void qDeleteFromVoidPointer (void *ptr)

Additional Inherited Members

Public Types inherited from QtPrivate::QSharedHandle< QSharedGstObjectTraits >
enum  RefMode

Detailed Description

Definition at line 380 of file qgst_p.h.

Constructor & Destructor Documentation

◆ QGstObject() [1/2]

QGstObject::QGstObject ( const QGstObject & )
default

◆ QGstObject() [2/2]

QGstObject::QGstObject ( QGstObject && )
defaultnoexcept

Member Function Documentation

◆ connect()

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

Definition at line 710 of file qgst.cpp.

◆ disconnect()

void QGstObject::disconnect ( gulong handlerId)

Definition at line 719 of file qgst.cpp.

◆ getBool()

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

Definition at line 649 of file qgst.cpp.

◆ getDouble()

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

Definition at line 691 of file qgst.cpp.

◆ getFloat()

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

Definition at line 684 of file qgst.cpp.

◆ getGstObject()

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

Definition at line 698 of file qgst.cpp.

◆ getInt()

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

Definition at line 663 of file qgst.cpp.

◆ getInt64()

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

Definition at line 677 of file qgst.cpp.

◆ getObject() [1/2]

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

Definition at line 705 of file qgst.cpp.

Referenced by getObject().

Here is the caller graph for this function:

◆ getObject() [2/2]

template<typename T>
T * QGstObject::getObject ( const char * property) const
inline

Definition at line 434 of file qgst_p.h.

References getObject().

Here is the call graph for this function:

◆ getString()

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

Definition at line 635 of file qgst.cpp.

◆ getStructure()

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

Definition at line 642 of file qgst.cpp.

◆ getUInt()

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

Definition at line 656 of file qgst.cpp.

◆ getUInt64()

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

Definition at line 670 of file qgst.cpp.

◆ name()

QLatin1StringView QGstObject::name ( ) const

Definition at line 741 of file qgst.cpp.

◆ object()

GstObject * QGstObject::object ( ) const

Definition at line 736 of file qgst.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Referenced by QGObjectHandlerConnection::disconnect().

Here is the caller graph for this function:

◆ qDeleteFromVoidPointer()

template<typename T>
void QGstObject::qDeleteFromVoidPointer ( void * ptr)
inlinestatic

Definition at line 416 of file qgst_p.h.

◆ set() [1/12]

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

Definition at line 590 of file qgst.cpp.

◆ set() [2/12]

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

Definition at line 585 of file qgst.cpp.

◆ set() [3/12]

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

Definition at line 625 of file qgst.cpp.

◆ set() [4/12]

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

Definition at line 620 of file qgst.cpp.

◆ set() [5/12]

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

Definition at line 615 of file qgst.cpp.

◆ set() [6/12]

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

Definition at line 600 of file qgst.cpp.

◆ set() [7/12]

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

Definition at line 605 of file qgst.cpp.

◆ set() [8/12]

template<typename Object>
void QGstObject::set ( const char * property,
Object * object,
GDestroyNotify destroyFunction )
inline

Definition at line 404 of file qgst_p.h.

◆ set() [9/12]

template<typename Object>
void QGstObject::set ( const char * property,
std::unique_ptr< Object > object )
inline

Definition at line 410 of file qgst_p.h.

◆ set() [10/12]

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

Definition at line 595 of file qgst.cpp.

◆ set() [11/12]

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

Definition at line 610 of file qgst.cpp.

◆ set() [12/12]

void QGstObject::set ( const char * property,
void * object,
GDestroyNotify destroyFunction )

Definition at line 630 of file qgst.cpp.

◆ type()

GType QGstObject::type ( ) const

Definition at line 724 of file qgst.cpp.

◆ typeName()

QLatin1StringView QGstObject::typeName ( ) const

Definition at line 729 of file qgst.cpp.


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