gstreamermm  0.10.10.2
Public Member Functions | Static Public Member Functions | Protected Member Functions | Related Functions
Gst::FakeSrc Class Reference

A Wrapper for the fakesrc plugin. More...

Inheritance diagram for Gst::FakeSrc:
Inheritance graph
[legend]
Collaboration diagram for Gst::FakeSrc:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~FakeSrc ()
GstFakeSrc* gobj ()
 Provides access to the underlying C GObject.
const GstFakeSrc* gobj () const
 Provides access to the underlying C GObject.
GstFakeSrc* 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
< Gst::FakeSrcDataType
property_data ()
 Data allocation method.
Glib::PropertyProxy_ReadOnly
< Gst::FakeSrcDataType
property_data () const
 Data allocation method.
Glib::PropertyProxy
< Gst::FakeSrcSizeType
property_sizetype ()
 How to determine buffer sizes.
Glib::PropertyProxy_ReadOnly
< Gst::FakeSrcSizeType
property_sizetype () const
 How to determine buffer sizes.
Glib::PropertyProxy< int > property_sizemin ()
 Minimum buffer size.
Glib::PropertyProxy_ReadOnly< int > property_sizemin () const
 Minimum buffer size.
Glib::PropertyProxy< int > property_sizemax ()
 Maximum buffer size.
Glib::PropertyProxy_ReadOnly< int > property_sizemax () const
 Maximum buffer size.
Glib::PropertyProxy
< Gst::FakeSrcFillType
property_filltype ()
 How to fill the buffer, if at all.
Glib::PropertyProxy_ReadOnly
< Gst::FakeSrcFillType
property_filltype () const
 How to fill the buffer, if at all.
Glib::PropertyProxy< int > property_datarate ()
 Timestamps buffers with number of bytes per second (0 = none).
Glib::PropertyProxy_ReadOnly< int > property_datarate () const
 Timestamps buffers with number of bytes per second (0 = none).
Glib::PropertyProxy< bool > property_sync ()
 Sync to the clock to the datarate.
Glib::PropertyProxy_ReadOnly
< bool > 
property_sync () const
 Sync to the clock to the datarate.
Glib::PropertyProxy
< Glib::ustring
property_pattern ()
 pattern.
Glib::PropertyProxy_ReadOnly
< Glib::ustring
property_pattern () const
 pattern.
Glib::PropertyProxy< bool > property_signal_handoffs ()
 Send a signal before pushing the buffer.
Glib::PropertyProxy_ReadOnly
< bool > 
property_signal_handoffs () const
 Send a signal before pushing the buffer.
Glib::PropertyProxy< bool > property_silent ()
 Don't produce last_message events.
Glib::PropertyProxy_ReadOnly
< bool > 
property_silent () const
 Don't produce last_message events.
Glib::PropertyProxy< bool > property_dump ()
 Dump buffer contents to stdout.
Glib::PropertyProxy_ReadOnly
< bool > 
property_dump () const
 Dump buffer contents to stdout.
Glib::PropertyProxy< int > property_parentsize ()
 Size of parent buffer for sub-buffered allocation.
Glib::PropertyProxy_ReadOnly< int > property_parentsize () const
 Size of parent buffer for sub-buffered allocation.
Glib::PropertyProxy_ReadOnly
< Glib::ustring
property_last_message () const
 The last status message.
Glib::PropertyProxy< bool > property_can_activate_pull ()
 Can activate in pull mode.
Glib::PropertyProxy_ReadOnly
< bool > 
property_can_activate_pull () const
 Can activate in pull mode.
Glib::PropertyProxy< bool > property_can_activate_push ()
 Can activate in push mode.
Glib::PropertyProxy_ReadOnly
< bool > 
property_can_activate_push () const
 Can activate in push mode.
Glib::PropertyProxy< bool > property_is_live ()
 True if the element cannot produce data in PAUSED.
Glib::PropertyProxy_ReadOnly
< bool > 
property_is_live () const
 True if the element cannot produce data in PAUSED.
Glib::PropertyProxy< Gst::Formatproperty_format ()
 The format of the segment events.
Glib::PropertyProxy_ReadOnly
< Gst::Format
property_format () const
 The format of the segment events.
Glib::SignalProxy2< void,
const Glib::RefPtr
< Gst::Buffer >&, const
Glib::RefPtr< Gst::Pad >& > 
signal_handoff ()

Static Public Member Functions

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

Protected Member Functions

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

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Gst::FakeSrcwrap (GstFakeSrc* object, bool take_copy=false)
 A Glib::wrap() method for this object.

Detailed Description

A Wrapper for the fakesrc plugin.

Please note that, 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. Also, not all plug-ins are available on all systems so care must be taken that they exist before they are used, otherwise there will be errors and possibly a crash.


Constructor & Destructor Documentation

virtual Gst::FakeSrc::~FakeSrc ( ) [virtual]
Gst::FakeSrc::FakeSrc ( ) [protected]
Gst::FakeSrc::FakeSrc ( const Glib::ustring name) [explicit, protected]

Member Function Documentation

Creates a new fakesrc plugin with a unique name.

static Glib::RefPtr<FakeSrc> Gst::FakeSrc::create ( const Glib::ustring name) [static]

Creates a new fakesrc plugin with the given name.

GstFakeSrc* Gst::FakeSrc::gobj ( ) [inline]

Provides access to the underlying C GObject.

Reimplemented from Gst::BaseSrc.

const GstFakeSrc* Gst::FakeSrc::gobj ( ) const [inline]

Provides access to the underlying C GObject.

Reimplemented from Gst::BaseSrc.

GstFakeSrc* Gst::FakeSrc::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.

Can activate in pull mode.

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.

Can activate in pull mode.

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.

Can activate in push mode.

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.

Can activate in push mode.

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.

Data allocation method.

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.

Data allocation method.

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.

Timestamps buffers with number of bytes per second (0 = none).

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.

Timestamps buffers with number of bytes per second (0 = none).

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.

Dump buffer contents to stdout.

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.

Dump buffer contents to stdout.

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.

How to fill the buffer, if at all.

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.

How to fill the buffer, if at all.

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.

The format of the segment events.

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.

The format of the segment events.

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.

True if the element cannot produce data in PAUSED.

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.

True if the element cannot produce data in PAUSED.

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.

The last status message.

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.

Size of parent buffer for sub-buffered allocation.

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.

Size of parent buffer for sub-buffered allocation.

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.

pattern.

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.

pattern.

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.

Send a signal before pushing the 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.

Send a signal before pushing the 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.

Don't produce last_message events.

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.

Don't produce last_message events.

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.

Maximum buffer size.

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.

Maximum buffer size.

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.

Minimum buffer size.

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.

Minimum buffer size.

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.

How to determine buffer sizes.

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.

How to determine buffer sizes.

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.

Sync to the clock to the datarate.

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.

Sync to the clock to the datarate.

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.
Slot Prototype:
void on_my_handoff(const Glib::RefPtr<Gst::Buffer>& arg0, const Glib::RefPtr<Gst::Pad>& arg1)

Friends And Related Function Documentation

Glib::RefPtr< Gst::FakeSrc > wrap ( GstFakeSrc *  object,
bool  take_copy = false 
) [related]

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

Parameters:
objectThe C instance.
take_copyFalse 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: