F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
interface for memory implementation More...
#include <Os/Memory.hpp>
Public Types | |
using | Status = Os::Generic::Status |
using | Usage = Os::Generic::UsedTotal |
Public Member Functions | |
MemoryInterface ()=default | |
Default constructor. More... | |
virtual | ~MemoryInterface ()=default |
Default destructor. More... | |
MemoryInterface (const MemoryInterface &other)=delete | |
copy constructor is forbidden More... | |
virtual MemoryInterface & | operator= (const MemoryInterface &other)=delete |
assignment operator is forbidden More... | |
virtual Status | _getUsage (Usage &memory_usage)=0 |
get system memory usage More... | |
virtual MemoryHandle * | getHandle ()=0 |
return the underlying memory handle (implementation specific). More... | |
Static Public Member Functions | |
static MemoryInterface * | getDelegate (MemoryHandleStorage &aligned_new_memory) |
provide a pointer to a Mutex delegate object More... | |
interface for memory implementation
Definition at line 16 of file Memory.hpp.
Definition at line 18 of file Memory.hpp.
Definition at line 19 of file Memory.hpp.
|
default |
Default constructor.
|
virtualdefault |
Default destructor.
|
delete |
copy constructor is forbidden
get system memory usage
memory_usage | (output) data structure used to store memory usage |
Implemented in Os::Stub::Memory::StubMemory, Os::Memory, Os::Linux::Memory::LinuxMemory, and Os::Darwin::Memory::DarwinMemory.
|
static |
provide a pointer to a Mutex delegate object
Definition at line 10 of file DefaultMemory.cpp.
|
pure virtual |
return the underlying memory handle (implementation specific).
Implemented in Os::Stub::Memory::StubMemory, Os::Memory, Os::Linux::Memory::LinuxMemory, and Os::Darwin::Memory::DarwinMemory.
|
virtualdelete |
assignment operator is forbidden
Reimplemented in Os::Stub::Memory::StubMemory, Os::Memory, Os::Linux::Memory::LinuxMemory, and Os::Darwin::Memory::DarwinMemory.