#include <message.h>

Public Member Functions | |
| MessageClockProvide (GstMessage* message) | |
| void | parse (Glib::RefPtr<Gst::Clock>& clock, bool& ready) const |
| Extracts the clock and ready flag from the Gst::MessageClockProvide. | |
| Glib::RefPtr<Gst::Clock> | parse () |
| Extracts and returns the clock from the Gst::MessageClockProvide. | |
| Glib::RefPtr<const Gst::Clock> | parse () const |
| Extracts and returns the clock from the Gst::MessageClockProvide. | |
| bool | parse_ready () const |
| Extracts and returns the ready flag from the Gst::MessageClockProvide. | |
Static Public Member Functions | |
| static Glib::RefPtr<Gst::Message> | create (const Glib::RefPtr<Gst::Object>& src, const Glib::RefPtr<Gst::Clock>& clock, bool ready) |
| Create a clock provide message. | |
See create() for more details.
| Gst::MessageClockProvide::MessageClockProvide | ( | GstMessage * | message | ) | [explicit] |
| static Glib::RefPtr<Gst::Message> Gst::MessageClockProvide::create | ( | const Glib::RefPtr<Gst::Object>& | src, | |
| const Glib::RefPtr<Gst::Clock>& | clock, | |||
| bool | ready | |||
| ) | [static] |
Create a clock provide message.
This message is posted whenever an element is ready to provide a clock or lost its ability to provide a clock (maybe because it paused or became EOS).
This message is mainly used internally to manage the clock selection.
| src | The object originating the message. | |
| clock | The clock it provides. | |
| ready | true if the sender can provide a clock. |
| Glib::RefPtr<const Gst::Clock> Gst::MessageClockProvide::parse | ( | ) | const |
Extracts and returns the clock from the Gst::MessageClockProvide.
The clock object returned remains valid until the message is freed.
MT safe.
| Glib::RefPtr<Gst::Clock> Gst::MessageClockProvide::parse | ( | ) |
Extracts and returns the clock from the Gst::MessageClockProvide.
The clock object returned remains valid until the message is freed.
MT safe.
| void Gst::MessageClockProvide::parse | ( | Glib::RefPtr<Gst::Clock>& | clock, | |
| bool & | ready | |||
| ) | const |
Extracts the clock and ready flag from the Gst::MessageClockProvide.
The clock object returned remains valid until the message is freed.
MT safe.
| clock | Location in which to hold a clock object. | |
| ready | Location in which to hold the ready flag. |
| bool Gst::MessageClockProvide::parse_ready | ( | ) | const |
Extracts and returns the ready flag from the Gst::MessageClockProvide.
MT safe.
1.5.9