The key writer to write data elements associated with a given set of keys. More...
#include <DataStorm/DataStorm.h>
Public Member Functions | |
MultiKeyWriter (const Topic< Key, Value, UpdateTag > &topic, const std::vector< Key > &keys, std::string name=std::string(), const WriterConfig &config=WriterConfig()) | |
Constructs a new writer for the given keys. | |
MultiKeyWriter (MultiKeyWriter &&writer) noexcept | |
Move constructor. | |
void | add (const Key &key, const Value &value) |
Adds the data element. | |
MultiKeyWriter & | operator= (MultiKeyWriter &&writer) noexcept |
Move assignment operator. | |
template<typename UpdateValue> | |
std::function< void(const Key &, const UpdateValue &)> | partialUpdate (const UpdateTag &tag) |
Gets a partial update generator function for the given partial update tag. | |
void | remove (const Key &key) noexcept |
Removes the data element. | |
void | update (const Key &key, const Value &value) |
Updates the data element. |
The key writer to write data elements associated with a given set of keys.
Definition at line 776 of file DataStorm.h.