ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::core::Cacher Class Reference

Public Member Functions

 ~Cacher ()
 
 Cacher (const Cacher &)=delete
 
Cacheroperator= (Cacher &)=delete
 
void * Malloc (size_t byte_size, const Device &device, const std::shared_ptr< MemoryManagerDevice > &device_mm)
 
void Free (void *ptr, const Device &device)
 
void Clear (const Device &device)
 
void Clear ()
 

Static Public Member Functions

static CacherGetInstance ()
 

Detailed Description

Definition at line 344 of file MemoryManagerCached.cpp.

Constructor & Destructor Documentation

◆ ~Cacher()

cloudViewer::core::Cacher::~Cacher ( )
inline

Definition at line 362 of file MemoryManagerCached.cpp.

References Clear(), and LogError.

◆ Cacher()

cloudViewer::core::Cacher::Cacher ( const Cacher )
delete

Member Function Documentation

◆ Clear() [1/2]

void cloudViewer::core::Cacher::Clear ( )
inline

Definition at line 439 of file MemoryManagerCached.cpp.

Referenced by ~Cacher().

◆ Clear() [2/2]

void cloudViewer::core::Cacher::Clear ( const Device device)
inline

◆ Free()

void cloudViewer::core::Cacher::Free ( void *  ptr,
const Device device 
)
inline

◆ GetInstance()

◆ Malloc()

void* cloudViewer::core::Cacher::Malloc ( size_t  byte_size,
const Device device,
const std::shared_ptr< MemoryManagerDevice > &  device_mm 
)
inline

◆ operator=()

Cacher& cloudViewer::core::Cacher::operator= ( Cacher )
delete

The documentation for this class was generated from the following file: