A structure change message. More...
#include <message.h>
Public Member Functions | |
MessageStructureChange (GstMessage* castitem) | |
void | parse (Gst::StructureChangeType& type, Glib::RefPtr<Gst::Element>& owner, bool& busy) const |
Extracts the change type and completion status from the Gst::Message. | |
Gst::StructureChangeType | parse () const |
Extracts the change type from the Gs::tMessage. | |
Glib::RefPtr<Gst::Element> | parse_owner () const |
Extracts the owner from the Gst::Message. | |
bool | parse_busy () const |
Extracts the completion status from the Gst::Message. | |
Static Public Member Functions | |
static Glib::RefPtr<Gst::Message> | create (const Glib::RefPtr<Gst::Object>& src, Gst::StructureChangeType type, const Glib::RefPtr<Gst::Element>& owner, bool busy) |
Create a new structure change message. |
A structure change message.
See create() for more details.
Gst::MessageStructureChange::MessageStructureChange | ( | GstMessage * | castitem | ) | [explicit] |
static Glib::RefPtr<Gst::Message> Gst::MessageStructureChange::create | ( | const Glib::RefPtr<Gst::Object>& | src, | |
Gst::StructureChangeType | type, | |||
const Glib::RefPtr<Gst::Element>& | owner, | |||
bool | busy | |||
) | [static] |
Create a new structure change message.
This message is posted when the structure of a pipeline is in the process of being changed, for example when pads are linked or unlinked.
src should be the srcpad that unlinked or linked.
src | The object originating the message. | |
type | The change type. | |
owner | The owner element of src. | |
busy | Whether the structure change is busy. |
Since 0.10.22.
Gst::StructureChangeType Gst::MessageStructureChange::parse | ( | ) | const |
Extracts the change type from the Gs::tMessage.
MT safe.
Since 0.10.22.
void Gst::MessageStructureChange::parse | ( | Gst::StructureChangeType& | type, | |
Glib::RefPtr<Gst::Element>& | owner, | |||
bool & | busy | |||
) | const |
Extracts the change type and completion status from the Gst::Message.
MT safe.
type | A reference to hold the change type. | |
owner | The owner element of the message source. | |
busy | A reference to hold whether the change is in progress or has been completed. |
Since 0.10.22.
bool Gst::MessageStructureChange::parse_busy | ( | ) | const |
Extracts the completion status from the Gst::Message.
MT safe.
Since 0.10.22.
Glib::RefPtr<Gst::Element> Gst::MessageStructureChange::parse_owner | ( | ) | const |
Extracts the owner from the Gst::Message.
MT safe.
Since 0.10.22.