gstreamermm 0.10.9.1
Public Member Functions | Static Public Member Functions

Gst::MessageTag Class Reference

A tag message. More...

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

List of all members.

Public Member Functions

 MessageTag (GstMessage* castitem)
void parse (Glib::RefPtr< Gst::Pad >& pad, Gst::TagList& tag_list) const
 Extracts the Gst::Pad and Gst::TagList from the Gst::MessageTag.
Gst::TagList parse () const
 Extracts and returns the Gst::TagList from the Gst::MessageTag.
Glib::RefPtr< Gst::Padparse_pad () const
 Extracts and returns the Gst::Pad from the Gst::MessageTag.

Static Public Member Functions

static Glib::RefPtr< Gst::Messagecreate (const Glib::RefPtr< Gst::Object >& src, const Gst::TagList& taglist)
 Create a new tag message.
static Glib::RefPtr< Gst::Messagecreate (const Glib::RefPtr< Gst::Object >& src, const Glib::RefPtr< Gst::Pad >& pad, const Gst::TagList& taglist)
 Create a new tag message.

Detailed Description

A tag message.

See create() for more details.


Constructor & Destructor Documentation

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

Member Function Documentation

static Glib::RefPtr<Gst::Message> Gst::MessageTag::create ( const Glib::RefPtr< Gst::Object >&  src,
const Gst::TagList taglist 
) [static]

Create a new tag message.

The taglist will be copied. The message is posted by elements that discovered a new taglist.

Parameters:
srcThe object originating the message.
tag_listThe tag list for the message.
Returns:
The new tag message. MT safe.
static Glib::RefPtr<Gst::Message> Gst::MessageTag::create ( const Glib::RefPtr< Gst::Object >&  src,
const Glib::RefPtr< Gst::Pad >&  pad,
const Gst::TagList taglist 
) [static]

Create a new tag message.

The taglist will be copied. The message is posted by elements that discovered a new taglist.

Parameters:
srcThe object originating the message.
padThe originating pad for the tag.
tag_listThe tag list for the message.
Returns:
The new tag message. MT safe.

Since 0.10.24.

Gst::TagList Gst::MessageTag::parse ( ) const

Extracts and returns the Gst::TagList from the Gst::MessageTag.

MT safe.

Returns:
A copy of the Gst::TagList.
void Gst::MessageTag::parse ( Glib::RefPtr< Gst::Pad >&  pad,
Gst::TagList tag_list 
) const

Extracts the Gst::Pad and Gst::TagList from the Gst::MessageTag.

MT safe.

Parameters:
padLocation where the originating pad is stored.
tag_listLocation for the tag-list.

Since 0.10.24.

Glib::RefPtr<Gst::Pad> Gst::MessageTag::parse_pad ( ) const

Extracts and returns the Gst::Pad from the Gst::MessageTag.

MT safe.

Returns:
The Gst::Pad.

Since 0.10.24.


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