DDS  ver. 2.0
Classes | Namespaces | Enumerations | Functions
KeyValueManager.h File Reference
#include "DeleteKeyCmd.h"
#include "Topology.h"
#include "UpdateKeyCmd.h"
#include <map>
#include <mutex>

Go to the source code of this file.

Classes

struct  dds::commander_cmd::SKeyValueRecord
 TODO: Key-Value has to provide a possibility to properly react on the errors. If Key-Value was not saved by the Commander because of the version mismatch, we have to send back the information about it to the user, providing error code, error message, user record and server record. Based on this information user can properly construct a new record and save it back to server. More...
 
struct  dds::commander_cmd::SPropertyRecord
 Container for the key-value records with the same property ID. More...
 
class  dds::commander_cmd::CKeyValueManager
 Key-value manager for the DDS commander. More...
 

Namespaces

 dds
 
 dds::commander_cmd
 

Enumerations

enum  dds::commander_cmd::EKeyUpdateResult { dds::commander_cmd::EKeyUpdateResult::Correct, dds::commander_cmd::EKeyUpdateResult::VersionMismatchError, dds::commander_cmd::EKeyUpdateResult::KeyNotFoundError }
 

Functions

std::ostream & dds::commander_cmd::operator<< (std::ostream &_stream, const SKeyValueRecord &_value)
 
std::ostream & dds::commander_cmd::operator<< (std::ostream &_stream, const SPropertyRecord &_value)
 
std::ostream & dds::commander_cmd::operator<< (std::ostream &_stream, const CKeyValueManager &_value)