gstreamermm
1.10.0
|
Parameters to control the allocation of memory. More...
#include <gstreamermm/allocator.h>
Public Member Functions | |
AllocationParams (GstAllocationParams* gobject, bool make_a_copy=true) | |
AllocationParams (const AllocationParams& other) | |
AllocationParams& | operator= (const AllocationParams& other) |
AllocationParams (AllocationParams&& other) noexcept | |
AllocationParams& | operator= (AllocationParams&& other) noexcept |
~AllocationParams () noexcept | |
void | swap (AllocationParams& other) noexcept |
GstAllocationParams* | gobj () |
Provides access to the underlying C instance. More... | |
const GstAllocationParams* | gobj () const |
Provides access to the underlying C instance. More... | |
GstAllocationParams* | gobj_copy () const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. More... | |
AllocationParams () | |
void | init () |
Initialize params to its default values. More... | |
MemoryFlags | get_flags () const |
void | set_flags (const MemoryFlags& value) |
gsize | get_align () const |
void | set_align (const gsize& value) |
gsize | get_prefix () const |
void | set_prefix (const gsize& value) |
gsize | get_padding () const |
void | set_padding (const gsize& value) |
Static Public Member Functions | |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. More... | |
Protected Attributes | |
GstAllocationParams* | gobject_ |
Related Functions | |
(Note that these are not member functions.) | |
void | swap (AllocationParams& lhs, AllocationParams& rhs) noexcept |
Gst::AllocationParams | wrap (GstAllocationParams* object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
Parameters to control the allocation of memory.
|
explicit |
Gst::AllocationParams::AllocationParams | ( | const AllocationParams& | other | ) |
|
noexcept |
|
noexcept |
Gst::AllocationParams::AllocationParams | ( | ) |
gsize Gst::AllocationParams::get_align | ( | ) | const |
MemoryFlags Gst::AllocationParams::get_flags | ( | ) | const |
gsize Gst::AllocationParams::get_padding | ( | ) | const |
gsize Gst::AllocationParams::get_prefix | ( | ) | const |
|
static |
Get the GType for this class, for use with the underlying GObject type system.
|
inline |
Provides access to the underlying C instance.
|
inline |
Provides access to the underlying C instance.
GstAllocationParams* Gst::AllocationParams::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
void Gst::AllocationParams::init | ( | ) |
Initialize params to its default values.
AllocationParams& Gst::AllocationParams::operator= | ( | const AllocationParams& | other | ) |
|
noexcept |
void Gst::AllocationParams::set_align | ( | const gsize & | value | ) |
void Gst::AllocationParams::set_flags | ( | const MemoryFlags& | value | ) |
void Gst::AllocationParams::set_padding | ( | const gsize & | value | ) |
void Gst::AllocationParams::set_prefix | ( | const gsize & | value | ) |
|
noexcept |
|
related |
lhs | The left-hand side |
rhs | The right-hand side |
|
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. |
|
protected |