class: ewol::object::Manager


Description:



Constructor and Destructor:

+                                                    Manager              (Context & _context);
+ virtual ~Manager ();

Synopsis:

+ void                                       unInit               ();
+ int32_t getNumberObject ();
+ void displayListObject ();
+ void cleanInternalRemoved ();
+ std::shared_ptr<ewol::Object> get (const std::string & _name);
+ std::shared_ptr<ewol::Object> getObjectNamed (const std::string & _name);
+ void workerAdd (const std::shared_ptr<ewol::Object> & _worker);
+ void workerRemove (const std::shared_ptr<ewol::Object> & _worker);

Detail:

Manager

+  Manager (Context & _context);



~Manager

+ virtual  ~Manager ();



unInit

+ void unInit ();
remove all resources (un-init) out of the destructor (due to the system implementation)


getNumberObject

+ int32_t getNumberObject ();
Get the number of loaded object in the system


displayListObject

+ void displayListObject ();
Display all object Open.


cleanInternalRemoved

+ void cleanInternalRemoved ();
clean the weak pointer list (remove weak_ptr that is remoed)


get

+ std::shared_ptr<ewol::Object> get (const std::string & _name);
Retrive an Object with his name


getObjectNamed

+ std::shared_ptr<ewol::Object> getObjectNamed (const std::string & _name);
retrive an object with his name


workerAdd

+ void workerAdd (const std::shared_ptr<ewol::Object> & _worker);
Add a worker on the system list.


workerRemove

+ void workerRemove (const std::shared_ptr<ewol::Object> & _worker);
Remove a worker on the system list.