Gst::Bus Class Reference

#include <bus.h>

Inheritance diagram for Gst::Bus:

Gst::Object List of all members.

Public Types

typedef Bus CppObjectType
typedef Bus_Class CppClassType
typedef GstBus BaseObjectType
typedef GstBusClass BaseClassType
typedef sigc::slot< bool,
const Glib::RefPtr< Bus > &,
const Glib::RefPtr< Message > & > 
SlotWatch

Public Member Functions

virtual ~Bus ()
GstBusgobj ()
 Provides access to the underlying C GObject.
const GstBusgobj () const
 Provides access to the underlying C GObject.
GstBusgobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
bool post (const Glib::RefPtr< Message > &message)
bool have_pending () const
Glib::RefPtr< Messagepeek ()
Glib::RefPtr< const Messagepeek () const
Glib::RefPtr< Messagepop ()
Glib::RefPtr< Messagetimed_pop (ClockTime timeout)
void set_flushing (bool flushing=true)
guint add_watch (const SlotWatch &slot, int priority=G_PRIORITY_DEFAULT)
bool remove_watch (guint watch_id)
void disable_sync_message_emission ()
void enable_sync_message_emission ()
void add_signal_watch (int priority=G_PRIORITY_DEFAULT)
void remove_signal_watch ()
Glib::SignalProxy1< void,
const Glib::RefPtr< Message > & > 
signal_message ()
Glib::SignalProxy1< void,
const Glib::RefPtr< Message > & > 
signal_sync_message ()

Static Public Member Functions

static GType get_type () G_GNUC_CONST
static GType get_base_type () G_GNUC_CONST
static Glib::RefPtr< Buscreate ()

Protected Member Functions

 Bus (const Glib::ConstructParams &construct_params)
 Bus (GstBus *castitem)
 Bus ()

Friends

class Bus_Class

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Gst::Buswrap (GstBus *object, bool take_copy=false)

Member Typedef Documentation

typedef Bus Gst::Bus::CppObjectType

Reimplemented from Gst::Object.

typedef Bus_Class Gst::Bus::CppClassType

Reimplemented from Gst::Object.

typedef GstBus Gst::Bus::BaseObjectType

Reimplemented from Gst::Object.

typedef GstBusClass Gst::Bus::BaseClassType

Reimplemented from Gst::Object.

typedef sigc::slot<bool, const Glib::RefPtr<Bus>&, const Glib::RefPtr<Message>& > Gst::Bus::SlotWatch

For example, bool on_bus_watch(const Glib::RefPtr<Bus>& bus, const Glib::RefPtr<Message>& message);


Constructor & Destructor Documentation

Gst::Bus::Bus ( const Glib::ConstructParams &  construct_params  )  [explicit, protected]

Gst::Bus::Bus ( GstBus castitem  )  [explicit, protected]

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

Gst::Bus::Bus (  )  [protected]


Member Function Documentation

static GType Gst::Bus::get_type (  )  [static]

Reimplemented from Gst::Object.

static GType Gst::Bus::get_base_type (  )  [static]

Reimplemented from Gst::Object.

GstBus* Gst::Bus::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Gst::Object.

const GstBus* Gst::Bus::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Gst::Object.

GstBus* Gst::Bus::gobj_copy (  ) 

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

Reimplemented from Gst::Object.

static Glib::RefPtr<Bus> Gst::Bus::create (  )  [static]

bool Gst::Bus::post ( const Glib::RefPtr< Message > &  message  ) 

bool Gst::Bus::have_pending (  )  const

Glib::RefPtr<Message> Gst::Bus::peek (  ) 

Glib::RefPtr<const Message> Gst::Bus::peek (  )  const

Glib::RefPtr<Message> Gst::Bus::pop (  ) 

Glib::RefPtr<Message> Gst::Bus::timed_pop ( ClockTime  timeout  ) 

void Gst::Bus::set_flushing ( bool  flushing = true  ) 

guint Gst::Bus::add_watch ( const SlotWatch slot,
int  priority = G_PRIORITY_DEFAULT 
)

bool Gst::Bus::remove_watch ( guint  watch_id  ) 

void Gst::Bus::disable_sync_message_emission (  ) 

void Gst::Bus::enable_sync_message_emission (  ) 

void Gst::Bus::add_signal_watch ( int  priority = G_PRIORITY_DEFAULT  ) 

void Gst::Bus::remove_signal_watch (  ) 

Glib::SignalProxy1< void,const Glib::RefPtr<Message>& > Gst::Bus::signal_message (  ) 

Prototype:
void on_my_message(const Glib::RefPtr<Message>& message)

Glib::SignalProxy1< void,const Glib::RefPtr<Message>& > Gst::Bus::signal_sync_message (  ) 

Prototype:
void on_my_sync_message(const Glib::RefPtr<Message>& message)


Friends And Related Function Documentation

friend class Bus_Class [friend]

Glib::RefPtr< Gst::Bus > wrap ( GstBus 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