27 return this->m_delegate.
_getUsage(memory_usage);
Memory variable handle parent.
Memory()
default constructor
static Status getUsage(Usage &memory)
get system memory usage
static void init()
initialize the singleton
~Memory() final
default virtual destructor
MemoryHandle * getHandle() override
return the underlying memory handle (implementation specific).
Status _getUsage(Usage &memory_usage) override
get system memory usage
static Memory & getSingleton()
return singleton
interface for memory implementation
virtual MemoryHandle * getHandle()=0
return the underlying memory handle (implementation specific).
virtual Status _getUsage(Usage &memory_usage)=0
get system memory usage
virtual ~MemoryInterface()=default
Default destructor.
Status
Generic OK/ERROR status.
Generic used/total struct.