로딩중...
검색중...
일치하는것 없음
by::instancer 클래스 참조

Singleton manager for instance lifecycle and memory allocation 더 자세히 ...

#include <instancer.hpp>

Public 멤버 함수

nbool bind (const instance &it)
 Binds instance for lifecycle management
 
nbool bind (const instance *it) BY_SIDE_FUNC(bind)
 
nbool rel (const instance &old)
 Releases instance from lifecycle management
 
nbool rel (const instance *it) BY_SIDE_FUNC(rel)
 
const poolgetPool () const
 
const watchergetWatcher () const
 

정적 Public 멤버 함수

static me * get ()
 

Friends

class memliteInternal
 

상세한 설명

Singleton manager for instance lifecycle and memory allocation

Contains pool class for low-level memory management and watcher for managing instance lifecycles. Controls both to manage instance lifecycle (allocation/destruction). Effectively serves as the entry point for dispatching work to control classes or issuing commands for core memlite operations.

멤버 함수 문서화

◆ bind()

nbool by::instancer::bind ( const instance & it)

Binds instance for lifecycle management

반환값
true on success, false if already bound or binding fails
주의
Allocates life object from watcher for reference counting

◆ get()

static me * by::instancer::get ( )
static
반환값
singleton instance. this returns nul of reference if app is about to be terminated.

◆ rel()

nbool by::instancer::rel ( const instance & old)

Releases instance from lifecycle management

반환값
true on success, false if not bound or release fails
주의
Decrements reference count. Destroys instance when count reaches 0.

이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: