#include <pad.h>
Inheritance diagram for Gst::Pad:
Public Types | |
typedef Pad | CppObjectType |
typedef Pad_Class | CppClassType |
typedef GstPad | BaseObjectType |
typedef GstPadClass | BaseClassType |
typedef sigc::slot< void, bool > | SlotPadBlockCallback |
Public Member Functions | |
virtual | ~Pad () |
GstPad * | gobj () |
Provides access to the underlying C GObject. | |
const GstPad * | gobj () const |
Provides access to the underlying C GObject. | |
GstPad * | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
PadDirection | get_direction () const |
Glib::RefPtr< Element > | get_parent_element () |
Glib::RefPtr< const Element > | get_parent_element () const |
PadLinkReturn | link (const Glib::RefPtr< Pad > &sink_pad) |
bool | unlink (const Glib::RefPtr< Pad > &sink_pad) |
bool | is_linked () const |
bool | can_link (const Glib::RefPtr< Pad > &other_pad) |
Glib::RefPtr< Caps > | get_caps () |
Glib::RefPtr< const Caps > | get_caps () const |
Glib::RefPtr< Caps > | get_allowed_caps () |
Glib::RefPtr< const Caps > | get_allowed_caps () const |
Glib::RefPtr< Caps > | get_negotiated_caps () |
Glib::RefPtr< const Caps > | get_negotiated_caps () const |
bool | set_caps (const Glib::RefPtr< Caps > &caps) |
Glib::RefPtr< Pad > | get_peer () |
Glib::RefPtr< const Pad > | get_peer () const |
Glib::RefPtr< Caps > | peer_get_caps () |
Glib::RefPtr< const Caps > | peer_get_caps () const |
void | use_fixed_caps () |
bool | is_active () const |
bool | set_blocked (bool blocked=true) |
bool | is_blocked () const |
bool | is_blocking () const |
void | remove_data_probe (guint handler_id) |
void | remove_buffer_probe (guint handler_id) |
void | remove_event_probe (guint handler_id) |
bool | accept_caps (const Glib::RefPtr< Caps > &caps) |
bool | proxy_setcaps (const Glib::RefPtr< Caps > &caps) |
void | fixate_caps (const Glib::RefPtr< Caps > &caps) |
bool | peer_accept_caps (const Glib::RefPtr< Caps > &caps) |
bool | check_pull_range () const |
bool | activate_pull (bool active=true) |
bool | activate_push (bool active=true) |
bool | query_position (Format &format) const |
bool | query_position (Format &format, gint64 &position) const |
bool | query_duration (Format &format) const |
bool | query_duration (Format &format, gint64 &duration) const |
bool | query_convert (Format src_format, gint64 src_value, Format &dst_format, gint64 &dst_value) const |
bool | query_peer_position (Format &format) const |
bool | query_peer_position (Format &format, gint64 &position) const |
bool | query_peer_duration (Format &format) const |
bool | query_peer_duration (Format &format, gint64 &duration) const |
bool | query_peer_convert (Format src_format, gint64 src_value, Format &dst_format, gint64 &dst_value) const |
bool | pause_task () |
bool | stop_task () |
bool | set_active (bool active=true) |
bool | set_blocked_async (bool blocked, const SlotPadBlockCallback &slot) |
Glib::SignalProxy1< void, const Glib::RefPtr< Pad > & > | signal_linked () |
Glib::SignalProxy0< void > | signal_request_link () |
Glib::SignalProxy1< void, const Glib::RefPtr< Pad > & > | signal_unlinked () |
Static Public Member Functions | |
static GType | get_type () G_GNUC_CONST |
static GType | get_base_type () G_GNUC_CONST |
static Glib::RefPtr< Pad > | create (const Glib::ustring &name, PadDirection direction) |
Protected Member Functions | |
Pad (const Glib::ConstructParams &construct_params) | |
Pad (GstPad *castitem) | |
Pad () | |
Friends | |
class | Pad_Class |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gst::Pad > | wrap (GstPad *object, bool take_copy=false) |
typedef Pad Gst::Pad::CppObjectType |
Reimplemented from Gst::Object.
typedef Pad_Class Gst::Pad::CppClassType |
Reimplemented from Gst::Object.
typedef GstPad Gst::Pad::BaseObjectType |
Reimplemented from Gst::Object.
typedef GstPadClass Gst::Pad::BaseClassType |
Reimplemented from Gst::Object.
typedef sigc::slot<void, bool> Gst::Pad::SlotPadBlockCallback |
Gst::Pad::Pad | ( | const Glib::ConstructParams & | construct_params | ) | [explicit, protected] |
Gst::Pad::Pad | ( | GstPad * | castitem | ) | [explicit, protected] |
virtual Gst::Pad::~Pad | ( | ) | [virtual] |
Gst::Pad::Pad | ( | ) | [protected] |
static GType Gst::Pad::get_type | ( | ) | [static] |
Reimplemented from Gst::Object.
static GType Gst::Pad::get_base_type | ( | ) | [static] |
Reimplemented from Gst::Object.
GstPad* Gst::Pad::gobj | ( | ) | [inline] |
const GstPad* Gst::Pad::gobj | ( | ) | const [inline] |
GstPad* Gst::Pad::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<Pad> Gst::Pad::create | ( | const Glib::ustring & | name, | |
PadDirection | direction | |||
) | [static] |
PadDirection Gst::Pad::get_direction | ( | ) | const |
Glib::RefPtr<Element> Gst::Pad::get_parent_element | ( | ) |
Glib::RefPtr<const Element> Gst::Pad::get_parent_element | ( | ) | const |
PadLinkReturn Gst::Pad::link | ( | const Glib::RefPtr< Pad > & | sink_pad | ) |
bool Gst::Pad::unlink | ( | const Glib::RefPtr< Pad > & | sink_pad | ) |
bool Gst::Pad::is_linked | ( | ) | const |
bool Gst::Pad::can_link | ( | const Glib::RefPtr< Pad > & | other_pad | ) |
Glib::RefPtr<Caps> Gst::Pad::get_caps | ( | ) |
Glib::RefPtr<const Caps> Gst::Pad::get_caps | ( | ) | const |
Glib::RefPtr<Caps> Gst::Pad::get_allowed_caps | ( | ) |
Glib::RefPtr<const Caps> Gst::Pad::get_allowed_caps | ( | ) | const |
Glib::RefPtr<Caps> Gst::Pad::get_negotiated_caps | ( | ) |
Glib::RefPtr<const Caps> Gst::Pad::get_negotiated_caps | ( | ) | const |
bool Gst::Pad::set_caps | ( | const Glib::RefPtr< Caps > & | caps | ) |
Glib::RefPtr<Pad> Gst::Pad::get_peer | ( | ) |
Glib::RefPtr<const Pad> Gst::Pad::get_peer | ( | ) | const |
Glib::RefPtr<Caps> Gst::Pad::peer_get_caps | ( | ) |
Glib::RefPtr<const Caps> Gst::Pad::peer_get_caps | ( | ) | const |
void Gst::Pad::use_fixed_caps | ( | ) |
bool Gst::Pad::is_active | ( | ) | const |
bool Gst::Pad::set_blocked | ( | bool | blocked = true |
) |
bool Gst::Pad::is_blocked | ( | ) | const |
bool Gst::Pad::is_blocking | ( | ) | const |
void Gst::Pad::remove_data_probe | ( | guint | handler_id | ) |
void Gst::Pad::remove_buffer_probe | ( | guint | handler_id | ) |
void Gst::Pad::remove_event_probe | ( | guint | handler_id | ) |
bool Gst::Pad::accept_caps | ( | const Glib::RefPtr< Caps > & | caps | ) |
bool Gst::Pad::proxy_setcaps | ( | const Glib::RefPtr< Caps > & | caps | ) |
void Gst::Pad::fixate_caps | ( | const Glib::RefPtr< Caps > & | caps | ) |
bool Gst::Pad::peer_accept_caps | ( | const Glib::RefPtr< Caps > & | caps | ) |
bool Gst::Pad::check_pull_range | ( | ) | const |
bool Gst::Pad::activate_pull | ( | bool | active = true |
) |
bool Gst::Pad::activate_push | ( | bool | active = true |
) |
bool Gst::Pad::query_position | ( | Format & | format | ) | const |
bool Gst::Pad::query_position | ( | Format & | format, | |
gint64 & | position | |||
) | const |
bool Gst::Pad::query_duration | ( | Format & | format | ) | const |
bool Gst::Pad::query_duration | ( | Format & | format, | |
gint64 & | duration | |||
) | const |
bool Gst::Pad::query_convert | ( | Format | src_format, | |
gint64 | src_value, | |||
Format & | dst_format, | |||
gint64 & | dst_value | |||
) | const |
bool Gst::Pad::query_peer_position | ( | Format & | format | ) | const |
bool Gst::Pad::query_peer_position | ( | Format & | format, | |
gint64 & | position | |||
) | const |
bool Gst::Pad::query_peer_duration | ( | Format & | format | ) | const |
bool Gst::Pad::query_peer_duration | ( | Format & | format, | |
gint64 & | duration | |||
) | const |
bool Gst::Pad::query_peer_convert | ( | Format | src_format, | |
gint64 | src_value, | |||
Format & | dst_format, | |||
gint64 & | dst_value | |||
) | const |
bool Gst::Pad::pause_task | ( | ) |
bool Gst::Pad::stop_task | ( | ) |
bool Gst::Pad::set_active | ( | bool | active = true |
) |
bool Gst::Pad::set_blocked_async | ( | bool | blocked, | |
const SlotPadBlockCallback & | slot | |||
) |
Glib::SignalProxy1< void,const Glib::RefPtr<Pad>& > Gst::Pad::signal_linked | ( | ) |
void on_my_linked(const Glib::RefPtr<Pad>& peer_pad)
Glib::SignalProxy0< void > Gst::Pad::signal_request_link | ( | ) |
void on_my_request_link()
Glib::SignalProxy1< void,const Glib::RefPtr<Pad>& > Gst::Pad::signal_unlinked | ( | ) |
void on_my_unlinked(const Glib::RefPtr<Pad>& peer_pad)
friend class Pad_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. |