gstreamermm
1.4.3
|
An interface for adjusting color balance settings. More...
Public Member Functions | |
virtual | ~ColorBalance () |
GstColorBalance* | gobj () |
Provides access to the underlying C GObject. More... | |
const GstColorBalance* | gobj () const |
Provides access to the underlying C GObject. More... | |
Glib::ListHandle< Glib::RefPtr < ColorBalanceChannel > > | list_channels () |
Retrieve a list of the available channels. More... | |
Glib::ListHandle< Glib::RefPtr < const ColorBalanceChannel > > | list_channels () const |
Retrieve a list of the available channels. More... | |
int | get_value (const Glib::RefPtr< const ColorBalanceChannel >& channel) const |
Retrieve the current value of the indicated channel, between min_value and max_value. More... | |
void | set_value (const Glib::RefPtr< ColorBalanceChannel >& channel, int value) |
Sets the current value of the channel to the passed value, which must be between min_value and max_value. More... | |
void | value_changed (const Glib::RefPtr< ColorBalanceChannel >& channel, int value) |
A helper function called by implementations of the GstColorBalance interface. More... | |
Gst::ColorBalanceType | get_balance_type () const |
Get the Gst::ColorBalanceType of this implementation. More... | |
Glib::SignalProxy2< void, const Glib::RefPtr < ColorBalanceChannel >&, int > | signal_value_changed () |
virtual Glib::ListHandle < Glib::RefPtr < ColorBalanceChannel > > | list_channels_vfunc () const |
Lists the channels of the Gst::ColorBalance. More... | |
virtual void | set_value_vfunc (const Glib::RefPtr< ColorBalanceChannel >& channel, int value) |
Sets the value of a Gst::ColorBalanceChannel of the Gst::ColorBalance. More... | |
virtual int | get_value_vfunc (const Glib::RefPtr< const ColorBalanceChannel >& channel) const |
Gets the value of a Gst::ColorBalanceChannel of the Gst::ColorBalance. More... | |
Static Public Member Functions | |
static void | add_interface (GType gtype_implementer) |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. More... | |
Protected Member Functions | |
ColorBalance () | |
You should derive from this class to use it. More... | |
virtual void | on_value_changed (const Glib::RefPtr< ColorBalanceChannel >& channel, int value) |
This is a default handler for the signal signal_value_changed(). More... | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gst::ColorBalance > | wrap (GstColorBalance* object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
An interface for adjusting color balance settings.
|
protected |
You should derive from this class to use it.
|
virtual |
|
static |
Gst::ColorBalanceType Gst::ColorBalance::get_balance_type | ( | ) | const |
Get the Gst::ColorBalanceType of this implementation.
|
static |
Get the GType for this class, for use with the underlying GObject type system.
int Gst::ColorBalance::get_value | ( | const Glib::RefPtr< const ColorBalanceChannel >& | channel | ) | const |
Retrieve the current value of the indicated channel, between min_value and max_value.
See Also: The Gst::ColorBalanceChannel.min_value and Gst::ColorBalanceChannel.max_value members of the Gst::ColorBalanceChannel object.
channel | A Gst::ColorBalanceChannel instance. |
|
virtual |
Gets the value of a Gst::ColorBalanceChannel of the Gst::ColorBalance.
|
inline |
Provides access to the underlying C GObject.
|
inline |
Provides access to the underlying C GObject.
Glib::ListHandle< Glib::RefPtr<ColorBalanceChannel> > Gst::ColorBalance::list_channels | ( | ) |
Retrieve a list of the available channels.
Glib::ListHandle< Glib::RefPtr<const ColorBalanceChannel> > Gst::ColorBalance::list_channels | ( | ) | const |
Retrieve a list of the available channels.
|
virtual |
Lists the channels of the Gst::ColorBalance.
|
protectedvirtual |
This is a default handler for the signal signal_value_changed().
void Gst::ColorBalance::set_value | ( | const Glib::RefPtr< ColorBalanceChannel >& | channel, |
int | value | ||
) |
Sets the current value of the channel to the passed value, which must be between min_value and max_value.
See Also: The Gst::ColorBalanceChannel.min_value and Gst::ColorBalanceChannel.max_value members of the Gst::ColorBalanceChannel object.
channel | A Gst::ColorBalanceChannel instance. |
value | The new value for the channel. |
|
virtual |
Sets the value of a Gst::ColorBalanceChannel of the Gst::ColorBalance.
Glib::SignalProxy2< void,const Glib::RefPtr<ColorBalanceChannel>&,int > Gst::ColorBalance::signal_value_changed | ( | ) |
void on_my_value_changed(const Glib::RefPtr<ColorBalanceChannel>& channel, int value)
Fired when the value of the indicated channel has changed.
channel | The Gst::ColorBalanceChannel. |
value | The new value. |
void Gst::ColorBalance::value_changed | ( | const Glib::RefPtr< ColorBalanceChannel >& | channel, |
int | value | ||
) |
A helper function called by implementations of the GstColorBalance interface.
It fires the Gst::ColorBalance::signal_value_changed() signal on the instance, and the Gst::ColorBalanceChannel::signal_value_changed() signal on the channel object.
channel | A Gst::ColorBalanceChannel whose value has changed. |
value | The new value of the channel. |
|
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. |