gstreamermm
1.4.3
|
A class that represents a double range (min - max). More...
Public Member Functions | |
DoubleRange () | |
Constructs a zero Gst::DoubleRange (0.0 - 0.0). More... | |
DoubleRange (double min, double max) | |
Constructs a Gst::DoubleRange (min - max). More... | |
DoubleRange (const DoubleRange& src) | |
Constructs a Gst::DoubleRange from another. More... | |
DoubleRange (const Glib::ValueBase& gst_double_range_value) | |
Constructs a Gst::DoubleRange from a GST_TYPE_DOUBLE_RANGE. More... | |
DoubleRange (const GValue& gst_double_range_value) | |
Constructs a Gst::DoubleRange from a GST_TYPE_DOUBLE_RANGE. More... | |
DoubleRange& | operator= (const DoubleRange& src) |
Public Attributes | |
double | min |
double | max |
A class that represents a double range (min - max).
Gst::DoubleRange is used to use to store a double precision floating point 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::DoubleRange::DoubleRange | ( | ) |
Constructs a zero Gst::DoubleRange (0.0 - 0.0).
Gst::DoubleRange::DoubleRange | ( | double | min, |
double | max | ||
) |
Constructs a Gst::DoubleRange (min - max).
Gst::DoubleRange::DoubleRange | ( | const DoubleRange& | src | ) |
Constructs a Gst::DoubleRange from another.
|
explicit |
Constructs a Gst::DoubleRange from a GST_TYPE_DOUBLE_RANGE.
|
explicit |
Constructs a Gst::DoubleRange from a GST_TYPE_DOUBLE_RANGE.
DoubleRange& Gst::DoubleRange::operator= | ( | const DoubleRange& | src | ) |
double Gst::DoubleRange::max |
double Gst::DoubleRange::min |