Data Structures | Public Member Functions | Static Public Member Functions
eo_cxx::eo::base Struct Reference

Data Structures

struct  address_const_of
 
struct  address_of
 

Public Member Functions

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 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 ()
 

Member Function Documentation

void eo_cxx::eo::base::event_callback_forwarder_del ( const Eo_Event_Description *  desc_,
::efl::eina::optional< ::efl::eo::concrete new_obj_ 
) const
inline

Remove an event callback forwarder for an event and an object.

Parameters
descThe description of the event to listen to
new_objThe object to emit events from
void eo_cxx::eo::base::event_thaw ( ) const
inline

thaw events of object.

Lets event callbacks be called for the object.

void eo_cxx::eo::base::event_freeze ( ) const
inline

freeze events of object.

Prevents event callbacks from being called for the object.

void eo_cxx::eo::base::event_global_freeze ( )
inlinestatic

freeze events of object.

Prevents event callbacks from being called for the object.

void eo_cxx::eo::base::event_callback_array_del ( const Eo_Callback_Array_Item *  array_,
const void *  user_data_ 
) const
inline

Del a callback array with a specific data associated to it for an event.

Parameters
arrayan #Eo_Callback_Array_Item of events to listen to
user_dataThe data to compare
void eo_cxx::eo::base::wref_del ( Eo **  wref_) const
inline

Delete the weak reference passed.

Parameters
wref
void eo_cxx::eo::base::destructor ( ) const
inline

Call the object's destructor.

Should not be used with #eo_do. Only use it with #eo_do_super.

efl::eina::optional<::efl::eo::concrete > eo_cxx::eo::base::finalize ( ) const
inline

Called at the end of #eo_add.

Should not be called, just overridden.

Returns
The new object created, can be NULL if the finalize func decided to abort (though it should free the created object on it's own).
void eo_cxx::eo::base::key_data_set ( ::efl::eina::optional< std::string >  key_,
const void *  data_,
eo_key_data_free_func  free_func_ 
) const
inline

Set generic data to object.

Parameters
keythe key associated with the data
datathe data to set
free_functhe func to free data with (NULL means
void * eo_cxx::eo::base::key_data_get ( ::efl::eina::optional< std::string >  key_) const
inline

Get generic data from object.

Parameters
keythe key associated with the data
void eo_cxx::eo::base::event_callback_del ( const Eo_Event_Description *  desc_,
Eo_Event_Cb  func_,
const void *  user_data_ 
) const
inline

Del a callback with a specific data associated to it for an event.

Parameters
descThe description of the event to listen to
functhe callback to delete
user_dataThe data to compare
void eo_cxx::eo::base::event_global_thaw ( )
inlinestatic

thaw events of object.

Lets event callbacks be called for the object.

void eo_cxx::eo::base::key_data_del ( ::efl::eina::optional< std::string >  key_) const
inline

Del generic data from object.

Parameters
keythe key associated with the data
void eo_cxx::eo::base::event_callback_array_priority_add ( const Eo_Callback_Array_Item *  array_,
Eo_Callback_Priority  priority_,
const void *  data_ 
) const
inline

Add a callback array for an event with a specific priority.

callbacks of the same priority are called in reverse order of creation.

Parameters
arrayan #Eo_Callback_Array_Item of events to listen to
priorityThe priority of the callback
dataadditional data to pass to the callback
void eo_cxx::eo::base::wref_add ( ::efl::eo::concrete wref_) const
inline

Add a new weak reference to obj.

This function registers the object handle pointed by wref to obj so when obj is deleted it'll be updated to NULL. This functions should be used when you want to keep track of an object in a safe way, but you don't want to prevent it from being freed.

Parameters
[out]wref
void eo_cxx::eo::base::dbg_info_get ( Eo_Dbg_Info *  root_node_) const
inline

Get dbg information from the object.

Parameters
root_nodenode of the tree
void eo_cxx::eo::base::event_callback_forwarder_add ( const Eo_Event_Description *  desc_,
::efl::eina::optional< ::efl::eo::concrete new_obj_ 
) const
inline

Add an event callback forwarder for an event and an object.

Parameters
descThe description of the event to listen to
new_objThe object to emit events from
bool eo_cxx::eo::base::event_callback_call ( const Eo_Event_Description *  desc_,
void *  event_info_ 
) const
inline

Call the callbacks for an event of an object.

Parameters
descThe description of the event to call
event_infoExtra event info to pass to the callbacks
void eo_cxx::eo::base::event_callback_priority_add ( const Eo_Event_Description *  desc_,
Eo_Callback_Priority  priority_,
Eo_Event_Cb  cb_,
const void *  data_ 
) const
inline

Add a callback for an event with a specific priority.

callbacks of the same priority are called in reverse order of creation.

Parameters
descThe description of the event to listen to
priorityThe priority of the callback
cbthe callback to call
dataadditional data to pass to the callback
bool eo_cxx::eo::base::composite_attach ( ::efl::eina::optional< ::efl::eo::concrete comp_obj_) const
inline
Parameters
comp_objthe object that will be used to composite the parent.
Returns
EINA_TRUE if successfull. EINA_FALSE otherwise.
bool eo_cxx::eo::base::composite_detach ( ::efl::eina::optional< ::efl::eo::concrete comp_obj_) const
inline
Parameters
comp_objthe object that will be removed from the parent.
Returns
EINA_TRUE if successfull. EINA_FALSE otherwise.
bool eo_cxx::eo::base::composite_part_is ( ) const
inline
Returns
EINA_TRUE if it is. EINA_FALSE otherwise.
efl::eina::optional<::efl::eo::concrete > eo_cxx::eo::base::parent_get ( ) const
inline

Get the parent of an object.

Parameters
parentthe new parent
void eo_cxx::eo::base::parent_set ( ::efl::eina::optional< ::efl::eo::concrete parent_) const
inline

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).

Parameters
parentthe new parent
int eo_cxx::eo::base::event_global_freeze_count_get ( ) const
inline

return freeze events of object.

Return event freeze count.

Parameters
fcountThe event freeze count of the object
int eo_cxx::eo::base::event_freeze_count_get ( ) const
inline

return freeze events of object.

Return event freeze count.

Parameters
fcountThe event freeze count of the object
bool eo_cxx::eo::base::finalized_get ( ) const
inline
Parameters
finalized