Public Member Functions | Static Public Member Functions
ecore::poller Struct Reference

Class poller. More...

Public Member Functions

 poller (Eo *eo)
 Eo Constructor. More...
 
 poller (std::nullptr_t)
 nullptr_t Constructor. More...
 
 poller (poller const &other)
 Copy Constructor.
 
int interval_get () const
 
bool interval_set (int interval_) 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)
 
template<typename F0 >
 poller (::efl::eo::parent_type _p, _c_constructor< F0 > _c0)
 Constructs a new ecore::poller object. More...
 
template<typename F0 >
 poller (_c_constructor< F0 > _c0)
 
- 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
 

Static Public Member Functions

template<typename F_func_ >
static _c_constructor< F_func_ > constructor (Ecore_Poller_Type type_, int interval_, F_func_ &&func_)
 
static Eo_Class const * _eo_class ()
 

Additional Inherited Members

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

Detailed Description

Class poller.

Constructor & Destructor Documentation

template<typename F0 >
ecore::poller::poller ( ::efl::eo::parent_type  _p,
_c_constructor< F0 >  _c0 
)
inlineexplicit

Constructs a new ecore::poller object.

Constructs a new ecore::poller object. If you want this object to be a child of another Eo object, use an efl::eo::parent expression, like the example.

Since this class have a necessary constructor method, you must call it in the right place within this constructor parameters.

Example:

ecore::poller my_poller(efl::eo::parent = parent_object,
my_poller.constructor(type_, interval_, func_));
See also
poller::constructor
poller(Eo* eo)
ecore::poller::poller ( Eo eo)
inlineexplicit

Eo Constructor.

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

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

nullptr_t Constructor.

Constructs an empty (null) object.

Member Function Documentation

template<typename F_func_ >
static _c_constructor<F_func_> ecore::poller::constructor ( Ecore_Poller_Type  type_,
int  interval_,
F_func_ &&  func_ 
)
static
Parameters
type
interval
func
data