Search Results
ewol::object::Manager Class Reference
Inheritance diagram for ewol::object::Manager:
Public Member Functions | |
Manager (Context &_context) | |
void | unInit () |
int32_t | getNumberObject () |
void | displayListObject () |
void | cleanInternalRemoved () |
ewol::ObjectShared | get (const std::string &_name) |
ewol::ObjectShared | getObjectNamed (const std::string &_name) |
void | workerAdd (const ewol::ObjectShared &_worker) |
void | workerRemove (const ewol::ObjectShared &_worker) |
void | timeCall (const echrono::Clock &_localTime) |
void | timeCallResume (const echrono::Clock &_localTime) |
bool | timeCallHave () |
Public Attributes | |
esignal::Signal< ewol::event::Time > | periodicCall |
Protected Attributes | |
std::recursive_mutex | m_mutex |
Friends | |
class | ewol::Object |
Member Function Documentation
§ cleanInternalRemoved()
void ewol::object::Manager::cleanInternalRemoved | ( | ) |
clean the weak pointer list (remove weak_ptr that is remoed)
§ displayListObject()
void ewol::object::Manager::displayListObject | ( | ) |
Display all object Open.
§ get()
ewol::ObjectShared ewol::object::Manager::get | ( | const std::string & | _name | ) |
§ getNumberObject()
int32_t ewol::object::Manager::getNumberObject | ( | ) |
Get the number of loaded object in the system.
- Returns
- number of Object
§ getObjectNamed()
ewol::ObjectShared ewol::object::Manager::getObjectNamed | ( | const std::string & | _name | ) |
retrive an object with his name
- Parameters
-
[in] _name Name of the object
- Returns
- the requested object or nullptr
§ timeCall()
void ewol::object::Manager::timeCall | ( | const echrono::Clock & | _localTime | ) |
Call every time we can with the current time.
- Parameters
-
[in] _localTime Current system Time.
§ timeCallHave()
bool ewol::object::Manager::timeCallHave | ( | ) |
check if the Interface have some user that request a periodic call
- Returns
- true, have some periodic event...
§ timeCallResume()
void ewol::object::Manager::timeCallResume | ( | const echrono::Clock & | _localTime | ) |
If the application is suspended The Ewol Object manager does not know it, just call this to update delta call.
- Parameters
-
[in] _localTime Current system Time.
§ unInit()
void ewol::object::Manager::unInit | ( | ) |
remove all resources (un-init) out of the destructor (due to the system implementation)
§ workerAdd()
void ewol::object::Manager::workerAdd | ( | const ewol::ObjectShared & | _worker | ) |
Add a worker on the system list.
- Parameters
-
[in] _worker Worker to add in the list.
§ workerRemove()
void ewol::object::Manager::workerRemove | ( | const ewol::ObjectShared & | _worker | ) |
Remove a worker on the system list.
- Parameters
-
[in] _worker Worker to add in the list.
Friends And Related Function Documentation
§ ewol::Object
|
friend |
The documentation for this class was generated from the following file:
- framework/atria-soft/ewol/ewol/object/Manager.hpp