Gst::Object Class Reference

TODO: Add documentation. More...

#include <object.h>

Inheritance diagram for Gst::Object:

Gst::Bus Gst::Clock Gst::Element Gst::Index Gst::Pad Gst::PadTemplate Gst::Plugin Gst::PluginFeature Gst::Registry Gst::Task Gst::XML

List of all members.

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<Objectget_parent ()
Glib::RefPtr<const Objectget_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::Objectwrap (GstObject* object, bool take_copy=false)
 A Glib::wrap() method for this object.


Detailed Description

TODO: Add documentation.

Constructor & Destructor Documentation

virtual Gst::Object::~Object (  )  [virtual]

Gst::Object::Object (  )  [protected]


Member Function Documentation

GstObject* Gst::Object::gobj (  )  [inline]

const GstObject* Gst::Object::gobj (  )  const [inline]

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.

void Gst::Object::reference (  )  const

void Gst::Object::unreference (  )  const

bool Gst::Object::set_name ( const Glib::ustring &  name  ) 

Reimplemented in Gst::PluginFeature.

Glib::ustring Gst::Object::get_name (  )  const

Reimplemented in Gst::Plugin, and Gst::PluginFeature.

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  ) 

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.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

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.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.


Friends And Related Function Documentation

Glib::RefPtr<Gst::Object> wrap ( GstObject *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
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.
Returns:
A C++ instance that wraps this C instance.


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

Generated on Mon Jun 2 02:00:35 2008 for gstreamermm by  doxygen 1.5.5