|
gstreamermm 0.10.9.1
|
An error message. More...


Public Member Functions | |
| MessageError (GstMessage* castitem) | |
| void | parse (Glib::Error& error, std::string& debug) const |
| Extracts the Glib::Error and debug string from the Gst::MessageError. | |
| Glib::Error | parse () const |
| Extracts and returns the Glib::Error from the Gst::MessageError. | |
| std::string | parse_debug () const |
| Extracts and returns the debug message from the Gst::MessageError. | |
Static Public Member Functions | |
| static Glib::RefPtr< Gst::Message > | create (const Glib::RefPtr< Gst::Object >& src, Glib::Error& error, const std::string& debug) |
| Create a new error message. | |
An error message.
See create() for more details.
| Gst::MessageError::MessageError | ( | GstMessage * | castitem | ) | [explicit] |
| static Glib::RefPtr<Gst::Message> Gst::MessageError::create | ( | const Glib::RefPtr< Gst::Object >& | src, |
| Glib::Error & | error, | ||
| const std::string & | debug | ||
| ) | [static] |
Create a new error message.
The message will copy error and debug. This message is posted by elements when a fatal event occured. The pipeline will probably (partially) stop. The application receiving this message should stop the pipeline.
| src | The object originating the message. |
| error | The Glib::Error for this message. |
| debug | A debugging string for something or other. |
| void Gst::MessageError::parse | ( | Glib::Error & | error, |
| std::string & | debug | ||
| ) | const |
Extracts the Glib::Error and debug string from the Gst::MessageError.
MT safe.
| error | Location for the Glib::Error. |
| debug | Location for the debug message. |
| Glib::Error Gst::MessageError::parse | ( | ) | const |
| std::string Gst::MessageError::parse_debug | ( | ) | const |
Extracts and returns the debug message from the Gst::MessageError.
MT safe.
1.7.3