#include <event.h>
Inheritance diagram for Gst::Event:
Public Types | |
typedef Event | CppObjectType |
typedef Event_Class | CppClassType |
typedef GstEvent | BaseObjectType |
typedef GstEventClass | BaseClassType |
Public Member Functions | |
virtual | ~Event () |
GstEvent * | gobj () |
Provides access to the underlying C GstMiniObject. | |
const GstEvent * | gobj () const |
Provides access to the underlying C GstMiniObject. | |
GstEvent * | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
const Structure & | get_structure () |
EventType | get_event_type () const |
ClockTime | get_timestamp () const |
Glib::RefPtr< Gst::Object > | get_source () const |
bool | is_downstream () const |
bool | is_upstream () const |
bool | is_serialized () const |
Static Public Member Functions | |
static GType | get_type () G_GNUC_CONST |
static GType | get_base_type () G_GNUC_CONST |
static Glib::RefPtr< Event > | wrap (GstEvent *event, bool take_copy=false) |
Protected Member Functions | |
Event (GstEvent *castitem) | |
Protected Attributes | |
Structure | structure_ |
Friends | |
class | Event_Class |
typedef Event Gst::Event::CppObjectType |
Reimplemented from Gst::MiniObject.
typedef Event_Class Gst::Event::CppClassType |
Reimplemented from Gst::MiniObject.
typedef GstEvent Gst::Event::BaseObjectType |
Reimplemented from Gst::MiniObject.
Reimplemented from Gst::MiniObject.
Gst::Event::Event | ( | GstEvent * | castitem | ) | [explicit, protected] |
virtual Gst::Event::~Event | ( | ) | [virtual] |
static GType Gst::Event::get_type | ( | ) | [static] |
static GType Gst::Event::get_base_type | ( | ) | [static] |
GstEvent* Gst::Event::gobj | ( | ) | [inline] |
Provides access to the underlying C GstMiniObject.
const GstEvent* Gst::Event::gobj | ( | ) | const [inline] |
Provides access to the underlying C GstMiniObject.
GstEvent* Gst::Event::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
const Structure& Gst::Event::get_structure | ( | ) |
EventType Gst::Event::get_event_type | ( | ) | const |
ClockTime Gst::Event::get_timestamp | ( | ) | const |
Glib::RefPtr<Gst::Object> Gst::Event::get_source | ( | ) | const |
Glib::RefPtr< Gst::Event > wrap | ( | GstEvent * | event, | |
bool | take_copy = false | |||
) | [static] |
Wrap a GstEvent* in a C++ instance, creating an instance of a derived Gst::Event. Gst::wrap() would just create a Gst::Message (rather than a derived one) because the derived Gst::Event classes do not correspond to GType types in the GStreamer API.
bool Gst::Event::is_downstream | ( | ) | const |
bool Gst::Event::is_upstream | ( | ) | const |
bool Gst::Event::is_serialized | ( | ) | const |
friend class Event_Class [friend] |
Structure Gst::Event::structure_ [protected] |