|
#include <RobotAPI/libraries/armem/server/ltm/detail/mixins/BufferedMemoryMixin.h>
Public Member Functions | |
BufferedMemoryMixin (const MemoryID &id) | |
void | bufferFinished () |
void | directlyStore (const armem::wm::Memory &memory) |
virtual | ~BufferedMemoryMixin ()=default |
Protected Member Functions | |
virtual void | _directlyStore (const armem::wm::Memory &memory)=0 |
void | addToBuffer (const armem::wm::Memory &memory) |
void | configureMixin (const nlohmann::json &json) |
configuration More... | |
void | createPropertyDefinitions (PropertyDefinitionsPtr &defs, const std::string &prefix) |
armem::wm::Memory | getBuffer () const |
void | setMixinMemoryID (const MemoryID &id) |
void | start () |
void | stop () |
void | storeBuffer () |
Protected Attributes | |
std::unique_ptr< armem::wm::Memory > | buffer |
Internal memory for data consolidated from wm to ltm (double-buffer) The to-put-to-ltm buffer (contains data in plain text) This buffer may still be filtered (e.g. More... | |
std::atomic_flag | storeFlag = ATOMIC_FLAG_INIT |
float | storeFrequency = 10 |
The frequency (Hz) to store data to the ltm. More... | |
std::unique_ptr< armem::wm::Memory > | to_store |
Definition at line 16 of file BufferedMemoryMixin.h.
|
inline |
Definition at line 20 of file BufferedMemoryMixin.h.
|
virtualdefault |
|
protectedpure virtual |
|
inlineprotected |
Definition at line 132 of file BufferedMemoryMixin.h.
|
inline |
Definition at line 39 of file BufferedMemoryMixin.h.
|
inlineprotected |
configuration
Definition at line 113 of file BufferedMemoryMixin.h.
|
inlineprotected |
Definition at line 124 of file BufferedMemoryMixin.h.
|
inline |
|
inlineprotected |
Definition at line 81 of file BufferedMemoryMixin.h.
|
inlineprotected |
Definition at line 46 of file BufferedMemoryMixin.h.
|
inlineprotected |
Definition at line 55 of file BufferedMemoryMixin.h.
|
inlineprotected |
Definition at line 70 of file BufferedMemoryMixin.h.
|
inlineprotected |
|
protected |
Internal memory for data consolidated from wm to ltm (double-buffer) The to-put-to-ltm buffer (contains data in plain text) This buffer may still be filtered (e.g.
snapshot filters). This means that it is not guaranteed that all data in the buffer will be stored in the ltm
Definition at line 144 of file BufferedMemoryMixin.h.
|
protected |
Definition at line 146 of file BufferedMemoryMixin.h.
|
protected |
The frequency (Hz) to store data to the ltm.
Definition at line 149 of file BufferedMemoryMixin.h.
|
protected |
Definition at line 145 of file BufferedMemoryMixin.h.