#include <object.h>
Inheritance diagram for Gst::Object:
Public Types | |
typedef Object | CppObjectType |
typedef Object_Class | CppClassType |
typedef GstObject | BaseObjectType |
typedef GstObjectClass | BaseClassType |
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) |
Static Public Member Functions | |
static GType | get_type () G_GNUC_CONST |
static GType | get_base_type () G_GNUC_CONST |
Protected Member Functions | |
Object (const Glib::ConstructParams &construct_params) | |
Object (GstObject *castitem) | |
Object () | |
Friends | |
class | Object_Class |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gst::Object > | wrap (GstObject *object, bool take_copy=false) |
typedef Object Gst::Object::CppObjectType |
Reimplemented in Gst::Bin, Gst::Bus, Gst::Clock, Gst::Element, Gst::Pad, Gst::PadTemplate, Gst::Pipeline, Gst::SystemClock, and Gst::XML.
typedef Object_Class Gst::Object::CppClassType |
Reimplemented in Gst::Bin, Gst::Bus, Gst::Clock, Gst::Element, Gst::Pad, Gst::PadTemplate, Gst::Pipeline, Gst::SystemClock, and Gst::XML.
typedef GstObject Gst::Object::BaseObjectType |
Reimplemented in Gst::Bin, Gst::Bus, Gst::Clock, Gst::Element, Gst::Pad, Gst::PadTemplate, Gst::Pipeline, Gst::SystemClock, and Gst::XML.
Reimplemented in Gst::Bin, Gst::Bus, Gst::Clock, Gst::Element, Gst::Pad, Gst::PadTemplate, Gst::Pipeline, Gst::SystemClock, and Gst::XML.
Gst::Object::Object | ( | const Glib::ConstructParams & | construct_params | ) | [explicit, protected] |
Gst::Object::Object | ( | GstObject * | castitem | ) | [explicit, protected] |
virtual Gst::Object::~Object | ( | ) | [virtual] |
Gst::Object::Object | ( | ) | [protected] |
static GType Gst::Object::get_type | ( | ) | [static] |
Reimplemented in Gst::Bin, Gst::Bus, Gst::Clock, Gst::Element, Gst::Pad, Gst::PadTemplate, Gst::Pipeline, Gst::SystemClock, and Gst::XML.
static GType Gst::Object::get_base_type | ( | ) | [static] |
Reimplemented in Gst::Bin, Gst::Bus, Gst::Clock, Gst::Element, Gst::Pad, Gst::PadTemplate, Gst::Pipeline, Gst::SystemClock, 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::Pad, Gst::PadTemplate, Gst::Pipeline, Gst::SystemClock, and Gst::XML.
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::Pad, Gst::PadTemplate, Gst::Pipeline, Gst::SystemClock, 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::Pad, Gst::PadTemplate, Gst::Pipeline, Gst::SystemClock, and Gst::XML.
void Gst::Object::reference | ( | ) | const |
void Gst::Object::unreference | ( | ) | const |
bool Gst::Object::set_name | ( | const Glib::ustring & | name | ) |
Glib::ustring Gst::Object::get_name | ( | ) | const |
bool Gst::Object::set_parent | ( | const Glib::RefPtr< Object > & | parent | ) |
Glib::RefPtr<Object> Gst::Object::get_parent | ( | ) |
Glib::RefPtr<const Object> Gst::Object::get_parent | ( | ) | const |
void Gst::Object::unparent | ( | ) |
Glib::ustring Gst::Object::get_name_prefix | ( | ) | const |
void Gst::Object::set_name_prefix | ( | const Glib::ustring & | prefix | ) |
friend class Object_Class [friend] |
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. |