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::TimeperiodicCall
 

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)

Retrive an Object with his name.

Parameters
[in]_nameName of the Object
Returns
Pointer on the finded Object.

§ 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]_nameName 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]_localTimeCurrent 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]_localTimeCurrent 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]_workerWorker to add in the list.

§ workerRemove()

void ewol::object::Manager::workerRemove ( const ewol::ObjectShared _worker)

Remove a worker on the system list.

Parameters
[in]_workerWorker to add in the list.

Friends And Related Function Documentation

§ ewol::Object

friend class ewol::Object
friend


The documentation for this class was generated from the following file: