#include <object.h>
Public Member Functions | |
virtual | ~Object () |
GstObject* | gobj () |
Provides access to the underlying C GObject. | |
const GstObject* | gobj () const |
Provides access to the underlying C GObject. | |
GstObject* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
void | reference () const |
void | unreference () const |
bool | set_name (const Glib::ustring& name) |
Glib::ustring | get_name () const |
bool | set_parent (const Glib::RefPtr<Object>& parent) |
Glib::RefPtr<Object> | get_parent () |
Glib::RefPtr<const Object> | get_parent () const |
void | unparent () |
Glib::ustring | get_name_prefix () const |
void | set_name_prefix (const Glib::ustring& prefix) |
Glib::PropertyProxy <Glib::ustring> | property_name () |
The name of the object. | |
Glib::PropertyProxy_ReadOnly <Glib::ustring> | property_name () const |
The name of the object. | |
Protected Member Functions | |
Object () | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr<Gst::Object> | wrap (GstObject* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
virtual Gst::Object::~Object | ( | ) | [virtual] |
Gst::Object::Object | ( | ) | [protected] |
Glib::ustring Gst::Object::get_name | ( | ) | const |
Reimplemented in Gst::Plugin, and Gst::PluginFeature.
Glib::ustring Gst::Object::get_name_prefix | ( | ) | const |
Glib::RefPtr<const Object> Gst::Object::get_parent | ( | ) | const |
Glib::RefPtr<Object> Gst::Object::get_parent | ( | ) |
const GstObject* Gst::Object::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented in Gst::Bin, Gst::Bus, Gst::Clock, Gst::Element, Gst::ElementInterfaced<T_Interface>, Gst::ElementFactory, Gst::GhostPad, Gst::Index, Gst::IndexFactory, Gst::Pad, Gst::PadTemplate, Gst::Pipeline, Gst::Plugin, Gst::PluginFeature, Gst::Registry, Gst::SystemClock, Gst::Task, and Gst::XML.
GstObject* Gst::Object::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented in Gst::Bin, Gst::Bus, Gst::Clock, Gst::Element, Gst::ElementInterfaced<T_Interface>, Gst::ElementFactory, Gst::GhostPad, Gst::Index, Gst::IndexFactory, Gst::Pad, Gst::PadTemplate, Gst::Pipeline, Gst::Plugin, Gst::PluginFeature, Gst::Registry, Gst::SystemClock, Gst::Task, and Gst::XML.
GstObject* Gst::Object::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Reimplemented in Gst::Bin, Gst::Bus, Gst::Clock, Gst::Element, Gst::ElementInterfaced<T_Interface>, Gst::ElementFactory, Gst::GhostPad, Gst::Index, Gst::IndexFactory, Gst::Pad, Gst::PadTemplate, Gst::Pipeline, Gst::Plugin, Gst::PluginFeature, Gst::Registry, Gst::SystemClock, Gst::Task, and Gst::XML.
Glib::PropertyProxy_ReadOnly<Glib::ustring> Gst::Object::property_name | ( | ) | const |
The name of the object.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Glib::ustring> Gst::Object::property_name | ( | ) |
The name of the object.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void Gst::Object::reference | ( | ) | const |
bool Gst::Object::set_name | ( | const Glib::ustring & | name | ) |
Reimplemented in Gst::PluginFeature.
void Gst::Object::set_name_prefix | ( | const Glib::ustring & | prefix | ) |
bool Gst::Object::set_parent | ( | const Glib::RefPtr<Object>& | parent | ) |
void Gst::Object::unparent | ( | ) |
void Gst::Object::unreference | ( | ) | const |
Glib::RefPtr<Gst::Object> wrap | ( | GstObject * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
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. |