|
gstreamermm 1.10.0
|
Allocate memory blocks. More...
#include <gstreamermm/allocator.h>

Public Member Functions | |
| Allocator (Allocator&& src) noexcept | |
| Allocator& | operator= (Allocator&& src) noexcept |
| ~Allocator () noexcept override | |
| GstAllocator* | gobj () |
| Provides access to the underlying C GObject. | |
| const GstAllocator* | gobj () const |
| Provides access to the underlying C GObject. | |
| GstAllocator* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
| void | free (Glib::RefPtr< Gst::Memory >&& memory) |
| Free memory that was previously allocated with alloc(). | |
| Glib::RefPtr< Gst::Memory > | alloc (gsize size, const Gst::AllocationParams& params) |
| Use allocator to allocate a new memory block with memory that is at least size big. | |
| Glib::RefPtr< Gst::Memory > | alloc (gsize size) |
| A alloc() convenience overload. | |
| void | set_default () |
| Set the default allocator. | |
| virtual Glib::RefPtr< Gst::Memory > | alloc_vfunc (gsize size, const Gst::AllocationParams& params) |
| virtual void | free_vfunc (Glib::RefPtr< Gst::Memory >&& memory) |
Public Member Functions inherited from Gst::Object | |
| Object (Object&& src) noexcept | |
| Object& | operator= (Object&& src) noexcept |
| ~Object () noexcept override | |
| GstObject* | gobj () |
| Provides access to the underlying C GObject. | |
| const GstObject* | gobj () const |
| Provides access to the underlying C GObject. | |
| GstObject* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
| bool | is_element () const |
| bool | is_element_factory () const |
| bool | is_pad () const |
| bool | is_pad_template () const |
| bool | is_bin () const |
| guint32 | get_flags () const |
| Returns the entire set of flags for the object. | |
| bool | set_name (const Glib::ustring& name) |
Sets the name of object, or gives object a guaranteed unique name (if name is nullptr). | |
| Glib::ustring | get_name () const |
| Returns a copy of the name of object. | |
| bool | set_parent (const Glib::RefPtr< Gst::Object >& parent) |
| Sets the parent of object to parent. | |
| Glib::RefPtr< Gst::Object > | get_parent () |
| Returns the parent of object. | |
| Glib::RefPtr< const Gst::Object > | get_parent () const |
| Returns the parent of object. | |
| void | unparent () |
| Clear the parent of object, removing the associated reference. | |
| void | set_control_rate (Gst::ClockTime control_rate) |
| Change the control-rate for this object. | |
| Gst::ClockTime | get_control_rate () const |
| Obtain the control-rate for this object. | |
| Gst::ClockTime | suggest_next_sync () const |
| Returns a suggestion for timestamps where buffers should be split to get best controller results. | |
| bool | sync_values (Gst::ClockTime timestamp) |
| Sets the properties of the object, according to the Gst::ControlSources that (maybe) handle them and for the given timestamp. | |
| void | set_control_bindings_disabled (bool disabled) |
| This function is used to disable all controlled properties of the object for some time, i.e. sync_values() will do nothing. | |
| bool | has_asctive_control_bindings () const |
| Check if the object has an active controlled properties. | |
| bool | has_ancestor (const Glib::RefPtr< const Gst::Object >& ancestor) const |
| Check if object has an ancestor ancestor somewhere up in the hierarchy. | |
| bool | has_as_ancestor (const Glib::RefPtr< Gst::Object >& ancestor) const |
| Check if object has an ancestor ancestor somewhere up in the hierarchy. | |
| bool | has_as_parent (const Glib::RefPtr< Gst::Object >& parent) const |
| Check if parent is the parent of object. | |
| Glib::ustring | get_path_string () |
| Generates a string describing the path of object in the object hierarchy. | |
| Glib::PropertyProxy< Glib::ustring > | property_name () |
| The name of the object. | |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_name () const |
| The name of the object. | |
| Glib::PropertyProxy< Glib::RefPtr< Gst::Object > > | property_parent () |
| The parent of the object. | |
| Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gst::Object > > | |