#include <element.h>
Inheritance diagram for Gst::Element:
Public Types | |
typedef Element | CppObjectType |
typedef Element_Class | CppClassType |
typedef GstElement | BaseObjectType |
typedef GstElementClass | BaseClassType |
Public Member Functions | |
virtual | ~Element () |
GstElement * | gobj () |
Provides access to the underlying C GObject. | |
const GstElement * | gobj () const |
Provides access to the underlying C GObject. | |
GstElement * | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Glib::RefPtr< Element > | link (const Glib::RefPtr< Element > &other_element) |
bool | add_pad (const Glib::RefPtr< Pad > &pad) |
Glib::RefPtr< Pad > | get_pad (const Glib::ustring &name) |
void | create_all_pads () |
Glib::RefPtr< Pad > | get_compatible_pad (const Glib::RefPtr< Pad > &pad, const Glib::RefPtr< Caps > &caps) |
Glib::RefPtr< PadTemplate > | get_compatible_pad_template (const Glib::RefPtr< PadTemplate > &padtemplate) |
Glib::RefPtr< Pad > | get_request_pad (const Glib::ustring &name) |
Glib::RefPtr< Pad > | get_static_pad (const Glib::ustring &name) |
void | no_more_pads () |
void | release_request_pad (const Glib::RefPtr< Pad > &pad) |
bool | remove_pad (const Glib::RefPtr< Pad > &pad) |
void | unlink (const Glib::RefPtr< Element > &other_element) |
bool | link_pads (const Glib::ustring &padname, const Glib::RefPtr< Element > &other_element, const Glib::ustring &others_padname) |
void | unlink_pads (const Glib::ustring &padname, const Glib::RefPtr< Element > &other_element, const Glib::ustring &other_padname) |
bool | link_pads_filtered (const char *padname, const Glib::RefPtr< Element > &other_element, const char *others_padname, const Glib::RefPtr< Caps > &filter) |
bool | link_filtered (const Glib::RefPtr< Element > &other_element, const Glib::RefPtr< Caps > &filter) |
void | set_base_time (ClockTime time) |
ClockTime | get_base_time () const |
void | set_bus (const Glib::RefPtr< Bus > &bus) |
Glib::RefPtr< Bus > | get_bus () |
Glib::RefPtr< const Bus > | get_bus () const |
bool | is_indexable () const |
bool | requires_clock () const |
bool | set_clock (const Glib::RefPtr< Clock > &clock) |
Glib::RefPtr< Clock > | get_clock () |
Glib::RefPtr< const Clock > | get_clock () const |
bool | provides_clock () const |
Glib::RefPtr< Clock > | provide_clock () |
Glib::RefPtr< const Clock > | provide_clock () const |
StateChangeReturn | set_state (State state) |
StateChangeReturn | get_state (State &state, State &pending, ClockTime timeout) const |
bool | set_locked_state (gboolean locked_state) |
bool | is_locked_state () const |
void | abort_state () |
StateChangeReturn | continue_state (StateChangeReturn prestate_value) |
void | lost_state () |
bool | sync_state_with_parent () |
StateChangeReturn | change_state (StateChange transition) |
bool | post_message (const Glib::RefPtr< Message > &message) |
bool | query (const Glib::RefPtr< Query > &query) |
bool | query_convert (Format src_format, gint64 src_value, Format &dst_format, gint64 &dst_value) const |
bool | query_position (Format &format, gint64 &position) const |
bool | query_duration (Format &format, gint64 &duration) const |
bool | query_position (Format &format) const |
bool | query_duration (Format &format) const |
bool | seek (Format format, SeekFlags flags, gint64 position) |
bool | seek (double rate, Format format, SeekFlags flags, SeekType current_type, gint64 current_position, SeekType stop_type, gint64 stop_position) |
bool | send_event (const Glib::RefPtr< Event > &event) |
Glib::SignalProxy0< void > | signal_no_more_pads () |
Glib::SignalProxy1< void, const Glib::RefPtr< Pad > & > | signal_pad_added () |
Glib::SignalProxy1< void, const Glib::RefPtr< Pad > & > | signal_pad_removed () |
Static Public Member Functions | |
static GType | get_type () G_GNUC_CONST |
static GType | get_base_type () G_GNUC_CONST |
static Glib::RefPtr< Element > | create (const Glib::ustring &factoryname, const Glib::ustring &name) |
Protected Member Functions | |
Element (const Glib::ConstructParams &construct_params) | |
Element (GstElement *castitem) | |
Element () | |
Friends | |
class | Element_Class |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gst::Element > | wrap (GstElement *object, bool take_copy=false) |
typedef Element Gst::Element::CppObjectType |
typedef Element_Class Gst::Element::CppClassType |
Gst::Element::Element | ( | const Glib::ConstructParams & | construct_params | ) | [explicit, protected] |
Gst::Element::Element | ( | GstElement * | castitem | ) | [explicit, protected] |
virtual Gst::Element::~Element | ( | ) | [virtual] |
Gst::Element::Element | ( | ) | [protected] |
static GType Gst::Element::get_type | ( | ) | [static] |
static GType Gst::Element::get_base_type | ( | ) | [static] |
GstElement* Gst::Element::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gst::Object.
Reimplemented in Gst::Bin, and Gst::Pipeline.
const GstElement* Gst::Element::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gst::Object.
Reimplemented in Gst::Bin, and Gst::Pipeline.
GstElement* Gst::Element::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.
Reimplemented in Gst::Bin, and Gst::Pipeline.
static Glib::RefPtr<Element> Gst::Element::create | ( | const Glib::ustring & | factoryname, | |
const Glib::ustring & | name | |||
) | [static] |
bool Gst::Element::add_pad | ( | const Glib::RefPtr< Pad > & | pad | ) |
Glib::RefPtr<Pad> Gst::Element::get_pad | ( | const Glib::ustring & | name | ) |
void Gst::Element::create_all_pads | ( | ) |
Glib::RefPtr<Pad> Gst::Element::get_compatible_pad | ( | const Glib::RefPtr< Pad > & | pad, | |
const Glib::RefPtr< Caps > & | caps | |||
) |
Glib::RefPtr<PadTemplate> Gst::Element::get_compatible_pad_template | ( | const Glib::RefPtr< PadTemplate > & | padtemplate | ) |
Glib::RefPtr<Pad> Gst::Element::get_request_pad | ( | const Glib::ustring & | name | ) |
Glib::RefPtr<Pad> Gst::Element::get_static_pad | ( | const Glib::ustring & | name | ) |
void Gst::Element::no_more_pads | ( | ) |
void Gst::Element::release_request_pad | ( | const Glib::RefPtr< Pad > & | pad | ) |
bool Gst::Element::remove_pad | ( | const Glib::RefPtr< Pad > & | pad | ) |
void Gst::Element::unlink | ( | const Glib::RefPtr< Element > & | other_element | ) |
bool Gst::Element::link_pads | ( | const Glib::ustring & | padname, | |
const Glib::RefPtr< Element > & | other_element, | |||
const Glib::ustring & | others_padname | |||
) |
void Gst::Element::unlink_pads | ( | const Glib::ustring & | padname, | |
const Glib::RefPtr< Element > & | other_element, | |||
const Glib::ustring & | other_padname | |||
) |
bool Gst::Element::link_pads_filtered | ( | const char * | padname, | |
const Glib::RefPtr< Element > & | other_element, | |||
const char * | others_padname, | |||
const Glib::RefPtr< Caps > & | filter | |||
) |
bool Gst::Element::link_filtered | ( | const Glib::RefPtr< Element > & | other_element, | |
const Glib::RefPtr< Caps > & | filter | |||
) |
void Gst::Element::set_base_time | ( | ClockTime | time | ) |
ClockTime Gst::Element::get_base_time | ( | ) | const |
void Gst::Element::set_bus | ( | const Glib::RefPtr< Bus > & | bus | ) |
Glib::RefPtr<Bus> Gst::Element::get_bus | ( | ) |
Reimplemented in Gst::Pipeline.
Glib::RefPtr<const Bus> Gst::Element::get_bus | ( | ) | const |
Reimplemented in Gst::Pipeline.
bool Gst::Element::is_indexable | ( | ) | const |
bool Gst::Element::requires_clock | ( | ) | const |
bool Gst::Element::set_clock | ( | const Glib::RefPtr< Clock > & | clock | ) |
Reimplemented in Gst::Pipeline.
Glib::RefPtr<Clock> Gst::Element::get_clock | ( | ) |
Reimplemented in Gst::Pipeline.
Glib::RefPtr<const Clock> Gst::Element::get_clock | ( | ) | const |
Reimplemented in Gst::Pipeline.
bool Gst::Element::provides_clock | ( | ) | const |
Glib::RefPtr<Clock> Gst::Element::provide_clock | ( | ) |
Glib::RefPtr<const Clock> Gst::Element::provide_clock | ( | ) | const |
StateChangeReturn Gst::Element::set_state | ( | State | state | ) |
StateChangeReturn Gst::Element::get_state | ( | State & | state, | |
State & | pending, | |||
ClockTime | timeout | |||
) | const |
bool Gst::Element::set_locked_state | ( | gboolean | locked_state | ) |
bool Gst::Element::is_locked_state | ( | ) | const |
void Gst::Element::abort_state | ( | ) |
StateChangeReturn Gst::Element::continue_state | ( | StateChangeReturn | prestate_value | ) |
void Gst::Element::lost_state | ( | ) |
bool Gst::Element::sync_state_with_parent | ( | ) |
StateChangeReturn Gst::Element::change_state | ( | StateChange | transition | ) |
bool Gst::Element::post_message | ( | const Glib::RefPtr< Message > & | message | ) |
bool Gst::Element::query | ( | const Glib::RefPtr< Query > & | query | ) |
bool Gst::Element::query_convert | ( | Format | src_format, | |
gint64 | src_value, | |||
Format & | dst_format, | |||
gint64 & | dst_value | |||
) | const |
bool Gst::Element::query_position | ( | Format & | format, | |
gint64 & | position | |||
) | const |
bool Gst::Element::query_duration | ( | Format & | format, | |
gint64 & | duration | |||
) | const |
bool Gst::Element::query_position | ( | Format & | format | ) | const |
bool Gst::Element::query_duration | ( | Format & | format | ) | const |
bool Gst::Element::seek | ( | double | rate, | |
Format | format, | |||
SeekFlags | flags, | |||
SeekType | current_type, | |||
gint64 | current_position, | |||
SeekType | stop_type, | |||
gint64 | stop_position | |||
) |
bool Gst::Element::send_event | ( | const Glib::RefPtr< Event > & | event | ) |
Glib::SignalProxy0< void > Gst::Element::signal_no_more_pads | ( | ) |
void on_my_no_more_pads()
Glib::SignalProxy1< void,const Glib::RefPtr<Pad>& > Gst::Element::signal_pad_added | ( | ) |
void on_my_pad_added(const Glib::RefPtr<Pad>& new_pad)
Glib::SignalProxy1< void,const Glib::RefPtr<Pad>& > Gst::Element::signal_pad_removed | ( | ) |
void on_my_pad_removed(const Glib::RefPtr<Pad>& old_pad)
friend class Element_Class [friend] |
Glib::RefPtr< Gst::Element > wrap | ( | GstElement * | object, | |
bool | take_copy = false | |||
) | [related] |
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. |