Gst::MessageNewClock Class Reference

A new clock message. More...

#include <message.h>

Inheritance diagram for Gst::MessageNewClock:

Gst::Message Gst::MiniObject

List of all members.

Public Member Functions

 MessageNewClock (GstMessage* castitem)
Glib::RefPtr<Gst::Clockparse ()
 Extracts and returns the new clock from the Gst::MessageNewClock.

Static Public Member Functions

static Glib::RefPtr<Gst::Messagecreate (const Glib::RefPtr<Gst::Object>& src, const Glib::RefPtr<Gst::Clock>& clock)
 Create a new clock message.


Detailed Description

A new clock message.

See create() for more details.


Constructor& Destructor Documentation

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


Member Function Documentation

static Glib::RefPtr<Gst::Message> Gst::MessageNewClock::create ( const Glib::RefPtr<Gst::Object>&  src,
const Glib::RefPtr<Gst::Clock>&  clock 
) [static]

Create a new clock message.

This message is posted whenever the pipeline selectes a new clock for the pipeline.

Parameters:
src The object originating the message.
clock The new selected clock.
Returns:
The new new clock message. MT safe.

Glib::RefPtr<Gst::Clock> Gst::MessageNewClock::parse (  ) 

Extracts and returns the new clock from the Gst::MessageNewClock.

The clock object returned remains valid until the message is freed.

MT safe.

Returns:
The selected new clock.


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

Generated on Thu Jan 15 09:33:13 2009 for gstreamermm by  doxygen 1.5.7.1