gstreamermm 0.10.10
Public Member Functions | Static Public Member Functions

Gst::MessageStepDone Class Reference

A step done message. More...

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

List of all members.

Public Member Functions

 MessageStepDone (GstMessage* castitem)
void parse (Gst::Format& format, guint64& amount, double& rate, bool& flush, bool& intermediate, guint64& duration, bool& eos) const
 Extract the values of the step done message.
guint64 parse () const
 Extracts the duration of the step done message.
Gst::Format parse_format () const
 Extracts the format of the step done message.
guint64 parse_amount () const
 Extracts the amount of the step done message.
double parse_rate () const
 Extracts the rate of the step done message.
bool parse_flush () const
 Extracts the flush flag of the step done message.
bool parse_intermediate () const
 Extracts the intermediate flag of the step done message.
bool parse_eos () const
 Extracts the eos flag of the step done message.

Static Public Member Functions

static Glib::RefPtr< Gst::Messagecreate (const Glib::RefPtr< Gst::Object >& src, Gst::Format format, guint64 amount, double rate, bool flush, bool intermediate, guint64 duration, bool eos)
 Create a step done message.

Detailed Description

A step done message.

See create() for more details.


Constructor & Destructor Documentation

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

Member Function Documentation

static Glib::RefPtr<Gst::Message> Gst::MessageStepDone::create ( const Glib::RefPtr< Gst::Object >&  src,
Gst::Format  format,
guint64  amount,
double  rate,
bool  flush,
bool  intermediate,
guint64  duration,
bool  eos 
) [static]

Create a step done message.

This message is posted by elements when they complete a part, when intermediate set to true, or a complete step operation.

duration will contain the amount of time (in Gst::FORMAT_TIME) of the stepped amount of media in format format.

Parameters:
srcThe object originating the message.
formatThe format of amount.
amountThe amount of stepped data.
rateThe rate of the stepped amount.
flushIs this an flushing step.
intermediateIs this an intermediate step.
durationThe duration of the data.
eosThe step caused EOS.
Returns:
The new step done message. MT safe.

Since 0.10.24.

void Gst::MessageStepDone::parse ( Gst::Format format,
guint64 &  amount,
double &  rate,
bool &  flush,
bool &  intermediate,
guint64 &  duration,
bool &  eos 
) const

Extract the values of the step done message.

MT safe.

Parameters:
formatResult location for the format.
amountResult location for the amount.
rateResult location for the rate.
flushResult location for the flush flag.
intermediateResult location for the intermediate flag.
durationResult location for the duration.
eosResult location for the EOS flag.

Since 0.10.24.

guint64 Gst::MessageStepDone::parse ( ) const

Extracts the duration of the step done message.

Returns:
The duration.
guint64 Gst::MessageStepDone::parse_amount ( ) const

Extracts the amount of the step done message.

Returns:
The amount.
bool Gst::MessageStepDone::parse_eos ( ) const

Extracts the eos flag of the step done message.

Returns:
The eos flag.
bool Gst::MessageStepDone::parse_flush ( ) const

Extracts the flush flag of the step done message.

Returns:
The flush flag.
Gst::Format Gst::MessageStepDone::parse_format ( ) const

Extracts the format of the step done message.

Returns:
The format.
bool Gst::MessageStepDone::parse_intermediate ( ) const

Extracts the intermediate flag of the step done message.

Returns:
The intermediate flag.
double Gst::MessageStepDone::parse_rate ( ) const

Extracts the rate of the step done message.

Returns:
The rate.

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