Gst::Object Class Reference

#include <object.h>

Inheritance diagram for Gst::Object:

Gst::Bus Gst::Clock Gst::Element Gst::Pad Gst::PadTemplate Gst::XML Gst::SystemClock Gst::Bin Gst::Pipeline List of all members.

Public Types

typedef Object CppObjectType
typedef Object_Class CppClassType
typedef GstObject BaseObjectType
typedef GstObjectClass BaseClassType

Public Member Functions

virtual ~Object ()
GstObjectgobj ()
 Provides access to the underlying C GObject.
const GstObjectgobj () const
 Provides access to the underlying C GObject.
GstObjectgobj_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)

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::Objectwrap (GstObject *object, bool take_copy=false)

Detailed Description

TODO: Add documentation.


Member Typedef Documentation

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.

typedef GstObjectClass Gst::Object::BaseClassType

Reimplemented in Gst::Bin, Gst::Bus, Gst::Clock, Gst::Element, Gst::Pad, Gst::PadTemplate, Gst::Pipeline, Gst::SystemClock, and Gst::XML.


Constructor & Destructor Documentation

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]


Member Function Documentation

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  ) 


Friends And Related Function Documentation

friend class Object_Class [friend]

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 Sat Jan 26 11:53:53 2008 for gstreamermm by  doxygen 1.5.1