#include <message.h>

Public Member Functions | |
| MessageStateChanged (GstMessage* castitem) | |
| void | parse (State& oldstate, State& newstate, State& pending) |
| Extracts the old, new and pending states from the Gst::MessageStateChanged. | |
| State | parse () |
| Extracts and returns the new state from the Gst::MessageStateChanged. | |
| State | parse_old () |
| Extracts and returns the old state from the Gst::MessageStateChanged. | |
| State | parse_pending () |
| Extracts and returns the pending state from the Gst::MessageStateChanged. | |
Static Public Member Functions | |
| static Glib::RefPtr<Message> | create (const Glib::RefPtr<Object>& src, State oldstate, State newstate, State pending) |
| Create a state change message. | |
See create() for more details.
| Gst::MessageStateChanged::MessageStateChanged | ( | GstMessage * | castitem | ) | [explicit] |
| static Glib::RefPtr<Message> Gst::MessageStateChanged::create | ( | const Glib::RefPtr<Object>& | src, | |
| State | oldstate, | |||
| State | newstate, | |||
| State | pending | |||
| ) | [static] |
Create a state change message.
This message is posted whenever an element changed its state.
| src | The object originating the message. | |
| oldstate | The previous state. | |
| newstate | The new (current) state. | |
| pending | The pending (target) state. |
Extracts the old, new and pending states from the Gst::MessageStateChanged.
MT safe.
| oldstate | The previous state. | |
| newstate | The new (current) state. | |
| pending | The pending (target) state. |
| State Gst::MessageStateChanged::parse | ( | ) |
Extracts and returns the new state from the Gst::MessageStateChanged.
MT safe.
| State Gst::MessageStateChanged::parse_old | ( | ) |
Extracts and returns the old state from the Gst::MessageStateChanged.
MT safe.
| State Gst::MessageStateChanged::parse_pending | ( | ) |
Extracts and returns the pending state from the Gst::MessageStateChanged.
MT safe.
1.5.5