mFrame
載入中...
搜尋中...
無符合項目
mframe::sys::Allocator 結構 參考文件abstract
類別mframe::sys::Allocator的繼承圖:
mframe::lang::Interface mframe::sys::DefaultAllocator mframe::sys::Stacker

公開方法(Public Methods)

virtual void * alloc (int size) override
 
virtual bool free (void *ptr, int size=0) override
 
virtual int getFree (void) override
 Get the Free object.
 
- 公開方法(Public Methods) 繼承自 mframe::lang::Interface
virtual ~Interface (void)=default
 Destroy the struct object.
 
virtual mframe::lang::ObjectgetObject (void) override
 取得類Object
 

函式成員說明文件

◆ alloc()

virtual void * mframe::sys::Allocator::alloc ( int size)
pure virtual

◆ free()

virtual bool mframe::sys::Allocator::free ( void * ptr,
int size = 0 )
pure virtual
參數
ptr
size
傳回值
true
false

實作於 mframe::sys::DefaultAllocator, 及 mframe::sys::Stacker.

◆ getFree()

virtual int mframe::sys::Allocator::getFree ( void )
pure virtual

Get the Free object.

傳回值
int

實作於 mframe::sys::DefaultAllocator, 及 mframe::sys::Stacker.


此結構(structure) 文件是由下列檔案中產生: