Gst::Pad Class Reference

#include <pad.h>

Inheritance diagram for Gst::Pad:

Gst::Object List of all members.

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 ()
GstPadgobj ()
 Provides access to the underlying C GObject.
const GstPadgobj () const
 Provides access to the underlying C GObject.
GstPadgobj_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< Elementget_parent_element ()
Glib::RefPtr< const Elementget_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< Capsget_caps ()
Glib::RefPtr< const Capsget_caps () const
Glib::RefPtr< Capsget_allowed_caps ()
Glib::RefPtr< const Capsget_allowed_caps () const
Glib::RefPtr< Capsget_negotiated_caps ()
Glib::RefPtr< const Capsget_negotiated_caps () const
bool set_caps (const Glib::RefPtr< Caps > &caps)
Glib::RefPtr< Padget_peer ()
Glib::RefPtr< const Padget_peer () const
Glib::RefPtr< Capspeer_get_caps ()
Glib::RefPtr< const Capspeer_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< Padcreate (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::Padwrap (GstPad *object, bool take_copy=false)

Member Typedef Documentation

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


Constructor & Destructor Documentation

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]


Member Function Documentation

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]

Provides access to the underlying C GObject.

Reimplemented from Gst::Object.

const GstPad* Gst::Pad::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Gst::Object.

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 (  ) 

Prototype:
void on_my_linked(const Glib::RefPtr<Pad>& peer_pad)

Glib::SignalProxy0< void > Gst::Pad::signal_request_link (  ) 

Prototype:
void on_my_request_link()

Glib::SignalProxy1< void,const Glib::RefPtr<Pad>& > Gst::Pad::signal_unlinked (  ) 

Prototype:
void on_my_unlinked(const Glib::RefPtr<Pad>& peer_pad)


Friends And Related Function Documentation

friend class Pad_Class [friend]

Glib::RefPtr< Gst::Pad > wrap ( GstPad 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