Developer World
Spresense SDK Library v3.2.0-ebc0364
MemMgrLite Namespace Reference

namespace for "Memory Manager". More...

Classes

class  Manager
 Memory Management Class for "Memory Manager Lite". User can create only one instance. More...
 
class  MemHandle
 Memory Handler Class for "Memory Manager Lite". This is only wrapper class for convert project-specific address. More...
 
class  MemHandleBase
 Memory Handler Base Class for Memory Handler Base Class. This class`s methods can called only from MemHandle.(Cannot call this class directory.) More...
 
class  MemPool
 
struct  PoolAttr
 
struct  PoolId
 
struct  PoolSectionAttr
 

Typedefs

typedef uint32_t MemHandleProxy
 
typedef uint8_t NumLayout
 
typedef uint8_t NumSection
 
typedef uint8_t PoolType
 
typedef uint32_t PoolAddr
 
typedef uint32_t PoolSize
 
typedef uint8_t NumSeg
 
typedef uint8_t SegRefCnt
 

Enumerations

enum  { BasicType , RingBufType , NumPoolTypes }
 

Functions

 S_ASSERT (sizeof(MemHandleBase)==4)
 
 S_ASSERT (sizeof(MemHandle)==4)
 
bool operator== (PoolId id1, PoolId id2)
 
bool operator!= (PoolId id1, PoolId id2)
 

Variables

const NumLayout BadLayoutNo = 0xff
 
const NumSection BadSectionNo = 0xff
 
const PoolId NullPoolId = {0,0}
 
const PoolAddr BadPoolAddr = 0xffffffff
 
const NumSeg NullSegNo = 0
 

Detailed Description

namespace for "Memory Manager".

Typedef Documentation

◆ NumLayout

typedef uint8_t NumLayout

Number of Memory Layouts

◆ PoolType

typedef uint8_t PoolType

Type of segment pools

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
BasicType 

the type number of fixed pools. (Now only support this type.)

NumPoolTypes 

Number of types.