#include <query.h>
Public Member Functions | |
virtual | ~Query () |
GstQuery* | gobj () |
Provides access to the underlying C GstMiniObject. | |
const GstQuery* | gobj () const |
Provides access to the underlying C GstMiniObject. | |
GstQuery* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
const Structure* | get_structure () |
Get the structure of a query. | |
QueryType | get_query_type () const |
bool | get_details (QueryType type, QueryTypeDefinition& def) |
Static Public Member Functions | |
static Glib::RefPtr<Query> | wrap (GstQuery* query, bool take_copy=false) |
Wrap a GstQuery* in a C++ instance, creating an instance of a derived Gst::Query. | |
static QueryType | register_query_type (const Glib::ustring& nick, const Glib::ustring& description) |
Create a new GstQueryType based on the nick or return an already registered query with that nick. | |
static QueryType | get_query_type (const Glib::ustring& nick) |
Get the query type registered with nick. | |
static bool | query_types_contains (const Glib::ArrayHandle<QueryType>& types, QueryType type) |
See if the given Gst::QueryType is inside the types query types array. |
virtual Gst::Query::~Query | ( | ) | [virtual] |
bool Gst::Query::get_details | ( | QueryType | type, | |
QueryTypeDefinition& | def | |||
) |
static QueryType Gst::Query::get_query_type | ( | const Glib::ustring & | nick | ) | [static] |
Get the query type registered with nick.
nick | The nick of the query. |
QueryType Gst::Query::get_query_type | ( | ) | const |
const Structure* Gst::Query::get_structure | ( | ) |
const GstQuery* Gst::Query::gobj | ( | ) | const [inline] |
Provides access to the underlying C GstMiniObject.
Reimplemented from Gst::MiniObject.
References Gst::MiniObject::gobject_.
GstQuery* Gst::Query::gobj | ( | ) | [inline] |
Provides access to the underlying C GstMiniObject.
Reimplemented from Gst::MiniObject.
References Gst::MiniObject::gobject_.
GstQuery* Gst::Query::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
static bool Gst::Query::query_types_contains | ( | const Glib::ArrayHandle<QueryType>& | types, | |
QueryType | type | |||
) | [static] |
See if the given Gst::QueryType is inside the types query types array.
type | The Gst::QueryType to find. |
true
if the type is found inside the array. static QueryType Gst::Query::register_query_type | ( | const Glib::ustring & | nick, | |
const Glib::ustring & | description | |||
) | [static] |
Create a new GstQueryType based on the nick or return an already registered query with that nick.
nick | The nick of the new query. | |
description | The description of the new query. |
Glib::RefPtr<Gst::Query> wrap | ( | GstQuery * | query, | |
bool | take_copy = false | |||
) | [static] |
Wrap a GstQuery* in a C++ instance, creating an instance of a derived Gst::Query.
Gst::wrap() would just create a Gst::Query (rather than a derived one) because the derived Gst::Query classes do not correspond to GType types in the GStreamer API.
object | The C instance | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |