#include <message.h>
Public Member Functions | |
MessageElement (GstMessage* castitem) | |
Static Public Member Functions | |
static Glib::RefPtr<Gst::Message> | create (const Glib::RefPtr<Gst::Object>& src, Gst::Structure& structure) |
Create a new element-specific message. | |
static Glib::RefPtr<Gst::Message> | create (const Glib::RefPtr<Gst::Object>& src) |
Create a new element-specific message. |
See create() for more details.
Gst::MessageElement::MessageElement | ( | GstMessage * | castitem | ) | [explicit] |
static Glib::RefPtr<Gst::Message> Gst::MessageElement::create | ( | const Glib::RefPtr<Gst::Object>& | src | ) | [static] |
Create a new element-specific message.
This is meant as a generic way of allowing one-way communication from an element to an application, for example "the firewire cable was unplugged". The format of the message should be documented in the element's documentation. No Gst::Structure is needed.
src | The object originating the message. |
static Glib::RefPtr<Gst::Message> Gst::MessageElement::create | ( | const Glib::RefPtr<Gst::Object>& | src, | |
Gst::Structure& | structure | |||
) | [static] |
Create a new element-specific message.
This is meant as a generic way of allowing one-way communication from an element to an application, for example "the firewire cable was unplugged". The format of the message should be documented in the element's documentation.
src | The object originating the message. | |
structure | The structure for the message. The message will take a copy of the structure. |