MemoryItem Class Reference

Interface functions for the longterm memory classes. More...

#include <RobotAPI/libraries/armem/server/ltm/detail/MemoryItem.h>

+ Inheritance diagram for MemoryItem:

Public Member Functions

virtual std::string getExportName () const
 
MemoryID getMemoryID () const
 
MemoryID id () const
 
 MemoryItem (const std::string &exportName, const MemoryID &)
 
 MemoryItem (const std::string &exportName, const MemoryID &, const std::shared_ptr< Processors > &)
 
std::string name () const
 
void setExportName (const std::string &n)
 
void setMemoryID (const MemoryID &)
 
void setMemoryName (const std::string &memoryName)
 
virtual ~MemoryItem ()=default
 

Protected Member Functions

virtual void _setExportName (const std::string &)
 
virtual void _setMemoryID (const MemoryID &)
 

Protected Attributes

std::shared_ptr< Processorsprocessors
 

Detailed Description

Interface functions for the longterm memory classes.

Definition at line 13 of file MemoryItem.h.

Constructor & Destructor Documentation

◆ MemoryItem() [1/2]

MemoryItem ( const std::string &  exportName,
const MemoryID id 
)

Definition at line 10 of file MemoryItem.cpp.

◆ MemoryItem() [2/2]

MemoryItem ( const std::string &  exportName,
const MemoryID id,
const std::shared_ptr< Processors > &  p 
)

Definition at line 15 of file MemoryItem.cpp.

◆ ~MemoryItem()

virtual ~MemoryItem ( )
virtualdefault

Member Function Documentation

◆ _setExportName()

virtual void _setExportName ( const std::string &  )
inlineprotectedvirtual

Reimplemented in Memory, MemoryBase< _CoreSegmentT >, and MemoryBase< CoreSegment >.

Definition at line 44 of file MemoryItem.h.

◆ _setMemoryID()

virtual void _setMemoryID ( const MemoryID )
inlineprotectedvirtual

Reimplemented in Memory.

Definition at line 49 of file MemoryItem.h.

◆ getExportName()

virtual std::string getExportName ( ) const
inlinevirtual

Definition at line 26 of file MemoryItem.h.

+ Here is the caller graph for this function:

◆ getMemoryID()

MemoryID getMemoryID ( ) const
inline

Definition at line 33 of file MemoryItem.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ id()

MemoryID id ( ) const

Definition at line 37 of file MemoryItem.cpp.

+ Here is the caller graph for this function:

◆ name()

std::string name ( ) const

Definition at line 43 of file MemoryItem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setExportName()

void setExportName ( const std::string &  n)

Definition at line 23 of file MemoryItem.cpp.

+ Here is the caller graph for this function:

◆ setMemoryID()

void setMemoryID ( const MemoryID id)

Definition at line 30 of file MemoryItem.cpp.

+ Here is the caller graph for this function:

◆ setMemoryName()

void setMemoryName ( const std::string &  memoryName)

Definition at line 49 of file MemoryItem.cpp.

Member Data Documentation

◆ processors

std::shared_ptr<Processors> processors
protected

Definition at line 54 of file MemoryItem.h.


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