gstreamermm
1.4.3
|
A class that represents an integer range (min - max). More...
Public Member Functions | |
IntRange () | |
Constructs a zero Gst::IntRange (0 - 0). More... | |
IntRange (int min, int max) | |
Constructs an Gst::IntRange (min - max). More... | |
IntRange (const IntRange& src) | |
Constructs an Gst::IntRange from another. More... | |
IntRange (const Glib::ValueBase& gst_int_range_value) | |
Constructs an Gst::IntRange from a GST_TYPE_INT_RANGE. More... | |
IntRange (const GValue& gst_int_range_value) | |
Constructs an Gst::IntRange from a GST_TYPE_INT_RANGE. More... | |
IntRange& | operator= (const IntRange& src) |
Public Attributes | |
int | min |
int | max |
A class that represents an integer range (min - max).
Gst::IntRange is used to store an integer range in Gst::Structures of Gst::Caps as a value representing a property (see GStreamer Application Development Manual section 8.2.2 and GstValue docs). When the value is set, it is transformed to a GStreamer GType so retrieving the value is a bit different. The class can be used in setting and getting a Gst::Structure field like so:
Gst::IntRange::IntRange | ( | ) |
Constructs a zero Gst::IntRange (0 - 0).
Gst::IntRange::IntRange | ( | int | min, |
int | max | ||
) |
Constructs an Gst::IntRange (min - max).
Gst::IntRange::IntRange | ( | const IntRange& | src | ) |
Constructs an Gst::IntRange from another.
|
explicit |
Constructs an Gst::IntRange from a GST_TYPE_INT_RANGE.
|
explicit |
Constructs an Gst::IntRange from a GST_TYPE_INT_RANGE.
int Gst::IntRange::max |
int Gst::IntRange::min |