|
ONE - On-device Neural Engine
|
Object Pool with Simple Factory Method. More...
#include <Graph.h>

Public Member Functions | |
| virtual | ~SimpleFactoryObjectPool ()=default |
| T * | create (void) |
Public Member Functions inherited from loco::ObjectPool< T > | |
| virtual | ~ObjectPool ()=default |
| uint32_t | size (void) const |
| Return the number of objects. | |
| T * | at (uint32_t n) const |
| Access N-th object. | |
Additional Inherited Members | |
Protected Member Functions inherited from loco::ObjectPool< T > | |
| template<typename U > | |
| U * | take (std::unique_ptr< U > &&o) |
| Take the ownership of a given object and returns its raw pointer. | |
| bool | erase (T *ptr) |
| Erase an object from the pool. | |
Object Pool with Simple Factory Method.
TODO Remove this unused class
|
virtualdefault |
|
inline |
Definition at line 181 of file Graph.h.
References loco::ObjectPool< T >::take().