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

A step start message. More...

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

List of all members.

Public Member Functions

 MessageStepStart (GstMessage* castitem)
void parse (bool& active, Gst::Format& format, guint64& amount, double& rate, bool&flush, bool& intermediate) const
 Extract the values of the step start message.
guint64 parse () const
 Extracts the amount of the step start message.
bool parse_active () const
 Extracts the active flag of the step start message.
Gst::Format parse_format () const
 Extracts the format of the step start message.
double parse_rate () const
 Extracts the rate of the step start message.
bool parse_flush () const
 Extracts the flush flag of the step start message.
bool parse_intermediate () const
 Extracts the intermediate flag of the step start message.

Static Public Member Functions

static Glib::RefPtr
< Gst::MessageStepStart
create (const Glib::RefPtr< Gst::Object >& src, bool active, Gst::Format format, guint64 amount, double rate, bool flush, bool intermediate)
 Create a step start message.

Detailed Description

A step start message.

See create() for more details.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Create a step start message.

This message is posted by elements when they accept or activate a new step event for amount in format.

active is set to false when the element accepted the new step event and has queued it for execution in the streaming threads.

active is set to true when the element has activated the step operation and is now ready to start executing the step in the streaming thread. After this message is emited, the application can queue a new step operation in the element.

Parameters:
srcThe object originating the message.
activeIf the step is active or queued.
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.
Returns:
The new step start message. MT safe.

Since 0.10.24.

void Gst::MessageStepStart::parse ( bool &  active,
Gst::Format format,
guint64 &  amount,
double &  rate,
bool &  flush,
bool &  intermediate 
) const

Extract the values of the step start message.

MT safe.

Parameters:
activeResult location for the active flag.
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.

Since 0.10.24.

guint64 Gst::MessageStepStart::parse ( ) const

Extracts the amount of the step start message.

Returns:
The amount.

Extracts the active flag of the step start message.

Returns:
The active flag.

Extracts the flush flag of the step start message.

Returns:
The flush flag.

Extracts the format of the step start message.

Returns:
The format.

Extracts the intermediate flag of the step start message.

Returns:
The intermediate flag.

Extracts the rate of the step start message.

Returns:
The rate.

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