#include <filesrc.h>
Public Member Functions | |
virtual | ~FileSrc () |
GstFileSrc* | gobj () |
Provides access to the underlying C GObject. | |
const GstFileSrc* | gobj () const |
Provides access to the underlying C GObject. | |
GstFileSrc* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Glib::PropertyProxy <Glib::ustring> | property_location () |
Location of the file to read. | |
Glib::PropertyProxy_ReadOnly <Glib::ustring> | property_location () const |
Location of the file to read. | |
Glib::PropertyProxy_ReadOnly<int> | property_fd () const |
File-descriptor for the file being mmap()d. | |
Glib::PropertyProxy< unsigned long > | property_mmapsize () |
Size in bytes of mmap()d regions. | |
Glib::PropertyProxy_ReadOnly <unsigned long> | property_mmapsize () const |
Size in bytes of mmap()d regions. | |
Glib::PropertyProxy<bool> | property_sequential () |
Whether to use madvise to hint to the kernel that access to mmap pages will be sequential. | |
Glib::PropertyProxy_ReadOnly <bool> | property_sequential () const |
Whether to use madvise to hint to the kernel that access to mmap pages will be sequential. | |
Glib::PropertyProxy<bool> | property_touch () |
Touch mmapped data regions to force them to be read from disk. | |
Glib::PropertyProxy_ReadOnly <bool> | property_touch () const |
Touch mmapped data regions to force them to be read from disk. | |
Glib::PropertyProxy<bool> | property_use_mmap () |
Whether to use mmap() instead of read(). | |
Glib::PropertyProxy_ReadOnly <bool> | property_use_mmap () const |
Whether to use mmap() instead of read(). | |
Static Public Member Functions | |
static Glib::RefPtr<FileSrc> | create () |
Creates a new filesrc plugin with a unique name. | |
static Glib::RefPtr<FileSrc> | create (const Glib::ustring& name) |
Creates a new filesrc plugin with the given name. | |
Protected Member Functions | |
FileSrc () | |
FileSrc (const Glib::ustring& name) | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr<Gst::FileSrc> | wrap (GstFileSrc* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
Please include <gstreamermm/filesrc.h> to use. Also, though using the underlying GObject is fine, using its C type is not guaranteed to be API stable across releases because it is not guaranteed to always remain the same.
virtual Gst::FileSrc::~FileSrc | ( | ) | [virtual] |
Gst::FileSrc::FileSrc | ( | ) | [protected] |
Gst::FileSrc::FileSrc | ( | const Glib::ustring & | name | ) | [protected] |
static Glib::RefPtr<FileSrc> Gst::FileSrc::create | ( | const Glib::ustring & | name | ) | [static] |
Creates a new filesrc plugin with the given name.
static Glib::RefPtr<FileSrc> Gst::FileSrc::create | ( | ) | [static] |
Creates a new filesrc plugin with a unique name.
const GstFileSrc* Gst::FileSrc::gobj | ( | ) | const [inline] |
GstFileSrc* Gst::FileSrc::gobj | ( | ) | [inline] |
GstFileSrc* Gst::FileSrc::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Reimplemented from Gst::BaseSrc.
Glib::PropertyProxy_ReadOnly<int> Gst::FileSrc::property_fd | ( | ) | const |
File-descriptor for the file being mmap()d.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Glib::ustring> Gst::FileSrc::property_location | ( | ) | const |
Location of the file to read.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Glib::ustring> Gst::FileSrc::property_location | ( | ) |
Location of the file to read.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<unsigned long> Gst::FileSrc::property_mmapsize | ( | ) | const |
Size in bytes of mmap()d regions.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<unsigned long> Gst::FileSrc::property_mmapsize | ( | ) |
Size in bytes of mmap()d regions.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<bool> Gst::FileSrc::property_sequential | ( | ) | const |
Whether to use madvise to hint to the kernel that access to mmap pages will be sequential.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<bool> Gst::FileSrc::property_sequential | ( | ) |
Whether to use madvise to hint to the kernel that access to mmap pages will be sequential.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<bool> Gst::FileSrc::property_touch | ( | ) | const |
Touch mmapped data regions to force them to be read from disk.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<bool> Gst::FileSrc::property_touch | ( | ) |
Touch mmapped data regions to force them to be read from disk.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<bool> Gst::FileSrc::property_use_mmap | ( | ) | const |
Whether to use mmap() instead of read().
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<bool> Gst::FileSrc::property_use_mmap | ( | ) |
Whether to use mmap() instead of read().
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::RefPtr<Gst::FileSrc> wrap | ( | GstFileSrc * | object, | |
bool | take_copy = false | |||
) | [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. |