#include <message.h>
Public Member Functions | |
MessageCustom (GstMessage* castitem) | |
Static Public Member Functions | |
static Glib::RefPtr<Gst::Message> | create (MessageType type, const Glib::RefPtr<Gst::Object>& src, Gst::Structure& structure) |
Create a new custom-typed message. | |
static Glib::RefPtr<Gst::Message> | create (MessageType type, const Glib::RefPtr<Gst::Object>& src) |
Create a new custom-typed message. |
See create() for more details.
Gst::MessageCustom::MessageCustom | ( | GstMessage * | castitem | ) | [explicit] |
static Glib::RefPtr<Gst::Message> Gst::MessageCustom::create | ( | MessageType | type, | |
const Glib::RefPtr<Gst::Object>& | src | |||
) | [static] |
Create a new custom-typed message.
This can be used for anything not handled by other message-specific functions to pass a message to the app. No Gst::Structure is needed.
type | The Gst::MessageType to distinguish messages. | |
src | The object originating the message. |
static Glib::RefPtr<Gst::Message> Gst::MessageCustom::create | ( | MessageType | type, | |
const Glib::RefPtr<Gst::Object>& | src, | |||
Gst::Structure& | structure | |||
) | [static] |
Create a new custom-typed message.
This can be used for anything not handled by other message-specific functions to pass a message to the app.
type | The Gst::MessageType to distinguish messages. | |
src | The object originating the message. | |
structure | The Gst::Structure for the message. The message will take a copy of the structure. |