gstreamermm  0.10.11
Public Member Functions | Static Public Member Functions
Gst::MessageElement Class Reference

An element specific message. More...

Inheritance diagram for Gst::MessageElement:
Inheritance graph
[legend]
Collaboration diagram for Gst::MessageElement:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MessageElement (GstMessage* castitem)

Static Public Member Functions

static Glib::RefPtr
< Gst::MessageElement
create (const Glib::RefPtr< Gst::Object >& src, Gst::Structure& structure)
 Create a new element-specific message.
static Glib::RefPtr
< Gst::MessageElement
create (const Glib::RefPtr< Gst::Object >& src)
 Create a new element-specific message.

Detailed Description

An element specific message.

See create() for more details.


Constructor & Destructor Documentation

Gst::MessageElement::MessageElement ( GstMessage *  castitem) [explicit]

Member Function Documentation

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.

Parameters:
srcThe object originating the message.
structureThe structure for the message. The message will take a copy of the structure.
Returns:
The new element message. MT safe.

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.

Parameters:
srcThe object originating the message.
Returns:
The new element message. MT safe.

The documentation for this class was generated from the following file: