|
void | update () override |
|
void | set_garbage_collection_method (IDType id, GarbageCollectMethod method) |
|
uint32_t | count () const |
|
std::shared_ptr< ObjectType > | clone (IDType id, this_type *target_manager=nullptr) |
|
std::shared_ptr< ObjectType > | make (Args &&... args) |
|
std::shared_ptr< ObjectType > | make_as (Args &&... args) |
|
void | destroy (IDType id) |
|
void | destroy_all () |
|
ObjectTypePtr | get (IDType id) const |
|
bool | contains (IDType id) const |
|
void | each (std::function< void(uint32_t, ObjectTypePtr)> callback) |
|
void | each (std::function< void(uint32_t, const ObjectTypePtr)> callback) const |
|
ObjectTypePtr | find_object (const std::string &name) const |
|
|
typedef std::shared_ptr< ObjectType > | ObjectTypeInternalPtrType |
|
uint32_t | next_id () |
|
virtual void | on_get (IDType id) |
|
std::unordered_map< IDType, ObjectTypeInternalPtrType > | objects_ |
|
sig::signal< void(ObjectType &, IDType)> | signal_post_create_ |
|
sig::signal< void(ObjectType &, IDType)> | signal_pre_destroy_ |
|
The documentation for this class was generated from the following file: