MADARA
3.4.1
|
Interface for knowledge update streaming. More...
#include <BaseStreamer.h>
Public Member Functions | |
virtual | ~BaseStreamer ()=default |
virtual void | enqueue (std::string name, KnowledgeRecord record)=0 |
When attached to a KnowledgeBase, this will be called every time a KnowledgeRecord held within is modified. More... | |
Interface for knowledge update streaming.
Objects which implement this interface can be attachecd to a KnowledgeBase with the attach_streamer method to receive copies of every modification of knowledge.
Definition at line 23 of file BaseStreamer.h.
|
virtualdefault |
|
pure virtual |
When attached to a KnowledgeBase, this will be called every time a KnowledgeRecord held within is modified.
name | the variable name of the KnowledgeRecord |
record | a copy of the new value |
Implemented in madara::knowledge::CheckpointStreamer.