#include <bus.h>
Inheritance diagram for Gst::Bus:

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 () |
| GstBus * | gobj () |
| Provides access to the underlying C GObject. | |
| const GstBus * | gobj () const |
| Provides access to the underlying C GObject. | |
| GstBus * | gobj_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< Message > | peek () |
| Glib::RefPtr< const Message > | peek () const |
| Glib::RefPtr< Message > | pop () |
| Glib::RefPtr< Message > | timed_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< Bus > | create () |
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::Bus > | wrap (GstBus *object, bool take_copy=false) |
| 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);
| 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] |
| 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] |
| const GstBus* Gst::Bus::gobj | ( | ) | const [inline] |
| 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 | ( | ) |
| 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 | ( | ) |
void on_my_message(const Glib::RefPtr<Message>& message) | Glib::SignalProxy1< void,const Glib::RefPtr<Message>& > Gst::Bus::signal_sync_message | ( | ) |
void on_my_sync_message(const Glib::RefPtr<Message>& message)
friend class Bus_Class [friend] |
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. |
1.5.1