GstBase::VideoTestSrc Class Reference
[gstreamerbasemm Plugins]

GstBase::VideoTestSrc — videotestsrc plugin. More...

#include <videotestsrc.h>

Inheritance diagram for GstBase::VideoTestSrc:

Gst::PushSrc Gst::BaseSrc Gst::Element Gst::Object

List of all members.

Public Member Functions

virtual ~VideoTestSrc ()
GstVideoTestSrc* gobj ()
 Provides access to the underlying C GObject.
const GstVideoTestSrc* gobj () const
 Provides access to the underlying C GObject.
GstVideoTestSrc* 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
<VideoTestSrcPattern
property_pattern ()
 Type of test pattern to generate.
Glib::PropertyProxy_ReadOnly
<VideoTestSrcPattern
property_pattern () const
 Type of test pattern to generate.
Glib::PropertyProxy<gint64> property_timestamp_offset ()
 An offset added to timestamps set on buffers (in ns).
Glib::PropertyProxy_ReadOnly
<gint64> 
property_timestamp_offset () const
 An offset added to timestamps set on buffers (in ns).
Glib::PropertyProxy<bool> property_is_live ()
 Whether to act as a live source.
Glib::PropertyProxy_ReadOnly
<bool> 
property_is_live () const
 Whether to act as a live source.
Glib::PropertyProxy<bool> property_peer_alloc ()
 Ask the peer to allocate an output buffer.
Glib::PropertyProxy_ReadOnly
<bool> 
property_peer_alloc () const
 Ask the peer to allocate an output buffer.

Static Public Member Functions

static Glib::RefPtr<VideoTestSrccreate ()
 Creates a new videotestsrc plugin with a unique name.
static Glib::RefPtr<VideoTestSrccreate (const Glib::ustring& name)
 Creates a new videotestsrc plugin with the given name.

Protected Member Functions

 VideoTestSrc ()
 VideoTestSrc (const Glib::ustring& name)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr
<GstBase::VideoTestSrc
wrap (GstVideoTestSrc* object, bool take_copy=false)
 A Glib::wrap() method for this object.


Detailed Description

GstBase::VideoTestSrc — videotestsrc plugin.

Please include <gstreamerbasemm/videotestsrc.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.


Constructor& Destructor Documentation

virtual GstBase::VideoTestSrc::~VideoTestSrc (  )  [virtual]

GstBase::VideoTestSrc::VideoTestSrc (  )  [protected]

GstBase::VideoTestSrc::VideoTestSrc ( const Glib::ustring &  name  )  [protected]


Member Function Documentation

static Glib::RefPtr<VideoTestSrc> GstBase::VideoTestSrc::create ( const Glib::ustring &  name  )  [static]

Creates a new videotestsrc plugin with the given name.

static Glib::RefPtr<VideoTestSrc> GstBase::VideoTestSrc::create (  )  [static]

Creates a new videotestsrc plugin with a unique name.

const GstVideoTestSrc* GstBase::VideoTestSrc::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Gst::PushSrc.

GstVideoTestSrc* GstBase::VideoTestSrc::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Gst::PushSrc.

GstVideoTestSrc* GstBase::VideoTestSrc::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::PushSrc.

Glib::PropertyProxy_ReadOnly<bool> GstBase::VideoTestSrc::property_is_live (  )  const

Whether to act as a live source.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<bool> GstBase::VideoTestSrc::property_is_live (  ) 

Whether to act as a live source.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<VideoTestSrcPattern> GstBase::VideoTestSrc::property_pattern (  )  const

Type of test pattern to generate.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<VideoTestSrcPattern> GstBase::VideoTestSrc::property_pattern (  ) 

Type of test pattern to generate.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<bool> GstBase::VideoTestSrc::property_peer_alloc (  )  const

Ask the peer to allocate an output buffer.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<bool> GstBase::VideoTestSrc::property_peer_alloc (  ) 

Ask the peer to allocate an output buffer.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<gint64> GstBase::VideoTestSrc::property_timestamp_offset (  )  const

An offset added to timestamps set on buffers (in ns).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<gint64> GstBase::VideoTestSrc::property_timestamp_offset (  ) 

An offset added to timestamps set on buffers (in ns).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.


Friends And Related Function Documentation

Glib::RefPtr<GstBase::VideoTestSrc> wrap ( GstVideoTestSrc *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
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.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:

Generated on Thu Jan 15 09:33:14 2009 for gstreamermm by  doxygen 1.5.7.1