gstreamermm
1.0.10
|
Public Member Functions | |
void | reference () const |
Increment the reference count for this object. More... | |
void | unreference () const |
Decrement the reference count for this object. More... | |
GstTocEntry* | gobj () |
Provides access to the underlying C instance. More... | |
const GstTocEntry* | gobj () const |
Provides access to the underlying C instance. More... | |
GstTocEntry* | gobj_copy () const |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More... | |
TocEntryType | get_entry_type () |
Glib::ustring | get_uid () |
Gets the UID of entry. More... | |
void | append_sub_entry (Glib::RefPtr< Gst::TocEntry > entry) |
Appends the Gst::TocEntry subentry to entry. More... | |
bool | is_alternative () |
bool | is_alternative () const |
bool | is_sequence () |
bool | is_sequence () const |
Glib::RefPtr< Gst::TocEntry > | get_parent () |
Gets the parent Gst::TocEntry of entry. More... | |
void | set_start_stop_times (gint64 start, gint64 stop) |
Set start and stop values for the entry. More... | |
bool | get_start_stop_times (gint64& start, gint64& stop) |
Get start and stop values from the entry and write them into appropriate storages. More... | |
bool | get_start_stop_times (gint64& start, gint64& stop) const |
Get start and stop values from the entry and write them into appropriate storages. More... | |
![]() | |
void | reference () const |
Increment the reference count for this object. More... | |
void | unreference () const |
Decrement the reference count for this object. More... | |
GstMiniObject* | gobj () |
Provides access to the underlying C instance. More... | |
const GstMiniObject* | gobj () const |
Provides access to the underlying C instance. More... | |
GstMiniObject* | gobj_copy () const |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More... | |
~MiniObject () | |
guint | get_flags () const |
void | set_flags (const guint& value) |
bool | lock (LockFlags flags) |
Lock the mini-object with the specified access mode in flags. More... | |
void | unlock (LockFlags flags) |
Unlock the mini-object with the specified access mode in flags. More... | |
bool | is_writable () const |
If mini_object has the LOCKABLE flag set, check if the current EXCLUSIVE lock on object is the only one, this means that changes to the object will not be visible to any other object. More... | |
Glib::RefPtr< MiniObject > | create_writable () |
Checks if a mini-object is writable. More... | |
Protected Member Functions | |
TocEntry () | |
void | operator delete (void*, std::size_t) |
![]() | |
MiniObject () | |
void | operator delete (void*, std::size_t) |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gst::TocEntry > | wrap (GstTocEntry* object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
![]() | |
Glib::RefPtr< Gst::MiniObject > | wrap (GstMiniObject* object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
|
protected |
void Gst::TocEntry::append_sub_entry | ( | Glib::RefPtr< Gst::TocEntry > | entry | ) |
Appends the Gst::TocEntry subentry to entry.
subentry | A Gst::TocEntry. |
TocEntryType Gst::TocEntry::get_entry_type | ( | ) |
Glib::RefPtr<Gst::TocEntry> Gst::TocEntry::get_parent | ( | ) |
Gets the parent Gst::TocEntry of entry.
bool Gst::TocEntry::get_start_stop_times | ( | gint64 & | start, |
gint64 & | stop | ||
) |
Get start and stop values from the entry and write them into appropriate storages.
start | The storage for the start value, leave #0 if not need. |
stop | The storage for the stop value, leave #0 if not need. |
true
if all non-0
storage pointers were filled with appropriate values, false
otherwise. bool Gst::TocEntry::get_start_stop_times | ( | gint64 & | start, |
gint64 & | stop | ||
) | const |
Get start and stop values from the entry and write them into appropriate storages.
start | The storage for the start value, leave #0 if not need. |
stop | The storage for the stop value, leave #0 if not need. |
true
if all non-0
storage pointers were filled with appropriate values, false
otherwise. Glib::ustring Gst::TocEntry::get_uid | ( | ) |
Gets the UID of entry.
GstTocEntry* Gst::TocEntry::gobj | ( | ) |
Provides access to the underlying C instance.
const GstTocEntry* Gst::TocEntry::gobj | ( | ) | const |
Provides access to the underlying C instance.
GstTocEntry* Gst::TocEntry::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
bool Gst::TocEntry::is_alternative | ( | ) |
true
if entry's type is an alternative type, otherwise false
. bool Gst::TocEntry::is_alternative | ( | ) | const |
true
if entry's type is an alternative type, otherwise false
. bool Gst::TocEntry::is_sequence | ( | ) |
true
if entry's type is a sequence type, otherwise false
. bool Gst::TocEntry::is_sequence | ( | ) | const |
true
if entry's type is a sequence type, otherwise false
.
|
protected |
void Gst::TocEntry::reference | ( | ) | const |
Increment the reference count for this object.
You should never need to do this manually - use the object via a RefPtr instead.
void Gst::TocEntry::set_start_stop_times | ( | gint64 | start, |
gint64 | stop | ||
) |
Set start and stop values for the entry.
start | Start value to set. |
stop | Stop value to set. |
void Gst::TocEntry::unreference | ( | ) | const |
Decrement the reference count for this object.
You should never need to do this manually - use the object via a RefPtr instead.
|
related |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |