Weak references to an EO Object. More...
Public Member Functions | |
| wref () | |
| Default constructor. More... | |
| wref (Eo *obj) | |
| Class constructor. More... | |
| wref (T obj) | |
| Class constructor. More... | |
| ~wref () | |
| Class destructor. | |
| eina::optional< T > | lock () |
| Try to acquire a strong reference to the underlying EO Object. More... | |
| wref (wref const &other) | |
| Copy constructor. | |
| wref & | operator= (wref const &other) |
| Assignment operator. | |
Weak references to an EO Object.
|
inline |
Default constructor.
Create a empty weak reference.
|
inlineexplicit |
|
inline |
|
inline |
Try to acquire a strong reference to the underlying EO Object.
This function checks whether the weak reference still points to a valid EO Object. If the reference is still valid it increments the reference counter of the object and returns a pointer to it.
Referenced by efl::eo::wref< T >::operator=(), efl::eo::wref< T >::wref(), and efl::eo::wref< T >::~wref().