Data Structures | Public Member Functions | Static Public Member Functions
ecore_audio Struct Reference

Data Structures

struct  address_const_of
 
struct  address_of
 

Public Member Functions

 ecore_audio (::efl::eo::parent_type _p=(::efl::eo::parent=nullptr))
 
 ecore_audio (Eo *eo)
 Eo Constructor. More...
 
 ecore_audio (std::nullptr_t)
 nullptr_t Constructor. More...
 
 ecore_audio (ecore_audio const &other)
 Copy Constructor.
 
void vio_set (Ecore_Audio_Vio *vio_, void *data_, eo_key_data_free_func free_func_) const
 Set the virtual IO functions. More...
 
::efl::eina::optional< std::string > name_get () const
 Get the name of the object. More...
 
void name_set (::efl::eina::optional< std::string > name_) const
 Set the name of the object. More...
 
bool paused_get () const
 Get the pause state of the object. More...
 
void paused_set (bool paused_) const
 Set the pause state of the object. More...
 
double volume_get () const
 Get the volume of the object. More...
 
void volume_set (double volume_) const
 Set the volume of the object. More...
 
::efl::eina::optional< std::string > source_get () const
 Get the source of the object. More...
 
bool source_set (::efl::eina::optional< std::string > source_) const
 Set the source of the object. More...
 
Ecore_Audio_Format format_get () const
 Get the format of the object. More...
 
bool format_set (Ecore_Audio_Format format_) const
 Set the format of the object. More...
 
address_of operator& ()
 
address_const_of operator& () const
 
- Public Member Functions inherited from efl::eo::concrete
 concrete (Eo *eo)
 Class constructor. More...
 
 concrete ()
 Default constructor. More...
 
 ~concrete ()
 Class destructor.
 
 concrete (concrete const &other)
 
 concrete (concrete &&other)
 
concreteoperator= (concrete const &other)
 Assignment operator.
 
concreteoperator= (concrete &&other)
 
Eo_eo_ptr () const
 Return a pointer to the EO Object stored in this instance. More...
 
Eo_release ()
 Releases the reference from this concrete object and return the pointer to the EO Object stored in this instance. More...
 
void _reset (Eo *_ptr=nullptr)
 Reset the current pointer to reference a new Eo object.
 
int ref_get () const
 Get the reference count of this object. More...
 
void parent_set (concrete parent)
 Set the parent of this object. More...
 
eina::optional< concreteparent_get ()
 Get the parent of this object. More...
 
Eo_Dbg_Info dbg_info_get ()
 Get debug information of this object. More...
 
 operator bool () const
 
- Public Member Functions inherited from eo_cxx::eo::base
void event_callback_forwarder_del (const Eo_Event_Description *desc_,::efl::eina::optional< ::efl::eo::concrete > new_obj_) const
 Remove an event callback forwarder for an event and an object. More...
 
void event_thaw () const
 thaw events of object. More...
 
void event_freeze () const
 freeze events of object. More...
 
void event_callback_array_del (const Eo_Callback_Array_Item *array_, const void *user_data_) const
 Del a callback array with a specific data associated to it for an event. More...
 
void wref_del (Eo **wref_) const
 Delete the weak reference passed. More...
 
void destructor () const
 Call the object's destructor. More...
 
::efl::eina::optional< ::efl::eo::concretefinalize () const
 Called at the end of #eo_add. More...
 
void key_data_set (::efl::eina::optional< std::string > key_, const void *data_, eo_key_data_free_func free_func_) const
 Set generic data to object. More...
 
void * key_data_get (::efl::eina::optional< std::string > key_) const
 Get generic data from object. More...
 
void event_callback_del (const Eo_Event_Description *desc_, Eo_Event_Cb func_, const void *user_data_) const
 Del a callback with a specific data associated to it for an event. More...
 
void key_data_del (::efl::eina::optional< std::string > key_) const
 Del generic data from object. More...
 
void event_callback_array_priority_add (const Eo_Callback_Array_Item *array_, Eo_Callback_Priority priority_, const void *data_) const
 Add a callback array for an event with a specific priority. More...
 
void wref_add (::efl::eo::concrete *wref_) const
 Add a new weak reference to obj. More...
 
void dbg_info_get (Eo_Dbg_Info *root_node_) const
 Get dbg information from the object. More...
 
void event_callback_forwarder_add (const Eo_Event_Description *desc_,::efl::eina::optional< ::efl::eo::concrete > new_obj_) const
 Add an event callback forwarder for an event and an object. More...
 
bool event_callback_call (const Eo_Event_Description *desc_, void *event_info_) const
 Call the callbacks for an event of an object. More...
 
void event_callback_priority_add (const Eo_Event_Description *desc_, Eo_Callback_Priority priority_, Eo_Event_Cb cb_, const void *data_) const
 Add a callback for an event with a specific priority. More...
 
Eina_Iteratorchildren_iterator_new () const
 Get an iterator on all childrens.
 
bool composite_attach (::efl::eina::optional< ::efl::eo::concrete > comp_obj_) const
 
bool composite_detach (::efl::eina::optional< ::efl::eo::concrete > comp_obj_) const
 
bool composite_part_is () const
 
::efl::eina::optional< ::efl::eo::concreteparent_get () const
 Get the parent of an object. More...
 
void parent_set (::efl::eina::optional< ::efl::eo::concrete > parent_) const
 Set the parent of an object Parents keep references to their children so in order to delete objects that have parents you need to set parent to NULL or use eo_del() that does that for you (and also unrefs the object). More...
 
int event_global_freeze_count_get () const
 return freeze events of object. More...
 
int event_freeze_count_get () const
 return freeze events of object. More...
 
bool finalized_get () const
 
template<typename F >
::efl::eo::signal_connection callback_callback_add_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_callback_add_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_callback_del_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_callback_del_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_del_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_del_call (T *info)
 
 operator::eo::base () const
 
 operator::eo::base & ()
 
 operator::eo::base const & () const
 

Static Public Member Functions

static Eo_Class const * _eo_class ()
 
- Static Public Member Functions inherited from eo_cxx::eo::base
static void event_global_freeze ()
 freeze events of object. More...
 
static void event_global_thaw ()
 thaw events of object. More...
 
static Eo_Class const * _eo_class ()
 

Additional Inherited Members

- Protected Attributes inherited from efl::eo::concrete
Eo_eo_raw
 The opaque EO Object.
 

Constructor & Destructor Documentation

ecore_audio::ecore_audio ( Eo eo)
inlineexplicit

Eo Constructor.

Constructs the object from an Eo* pointer stealing its ownership.

Parameters
eoThe Eo object pointer.
ecore_audio::ecore_audio ( std::nullptr_t  )
inlineexplicit

nullptr_t Constructor.

Constructs an empty (null) object.

Member Function Documentation

void ecore_audio::vio_set ( Ecore_Audio_Vio vio_,
void *  data_,
eo_key_data_free_func  free_func_ 
) const
inline

Set the virtual IO functions.

Since
1.8
Parameters
vio
data
free_func
efl::eina::optional< std::string > ecore_audio::name_get ( ) const
inline

Get the name of the object.

Since
1.8
Parameters
name
void ecore_audio::name_set ( ::efl::eina::optional< std::string >  name_) const
inline

Set the name of the object.

Since
1.8
Parameters
name
bool ecore_audio::paused_get ( ) const
inline

Get the pause state of the object.

Since
1.8
Parameters
paused
void ecore_audio::paused_set ( bool  paused_) const
inline

Set the pause state of the object.

Since
1.8
Parameters
paused
double ecore_audio::volume_get ( ) const
inline

Get the volume of the object.

Since
1.8
Parameters
volume
void ecore_audio::volume_set ( double  volume_) const
inline

Set the volume of the object.

Since
1.8
Parameters
volume
efl::eina::optional< std::string > ecore_audio::source_get ( ) const
inline

Get the source of the object.

Since
1.8
Parameters
source
bool ecore_audio::source_set ( ::efl::eina::optional< std::string >  source_) const
inline

Set the source of the object.

What sources are supported depends on the actual object. For example, the libsndfile class accepts WAV, OGG, FLAC files as source.

Since
1.8
Parameters
source
Ecore_Audio_Format ecore_audio::format_get ( ) const
inline

Get the format of the object.

After setting the source if the format was ECORE_AUDIO_FORMAT_AUTO this function will now return the actual format.

Since
1.8
Parameters
format
bool ecore_audio::format_set ( Ecore_Audio_Format  format_) const
inline

Set the format of the object.

What formats are supported depends on the actual object. Default is ECORE_AUDIO_FORMAT_AUTO

Since
1.8
Parameters
format