.. index:: pair: struct; P1::CameraSdk::IAllocator .. _doxid-struct_p1_1_1_camera_sdk_1_1_i_allocator: template struct P1::CameraSdk::IAllocator ========================================= .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include template struct IAllocator { // methods virtual T* :target:`Allocate`(uint32_t size) = 0; virtual void :target:`Deallocate`(T* data) = 0; }; // direct descendants struct :ref:`SimpleBufferAllocator`;