storage_backend.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Pavel Kirienko <pavel.kirienko@gmail.com>
3  */
4 
5 #ifndef UAVCAN_PROTOCOL_DYNAMIC_NODE_ID_SERVER_STORAGE_BACKEND_HPP_INCLUDED
6 #define UAVCAN_PROTOCOL_DYNAMIC_NODE_ID_SERVER_STORAGE_BACKEND_HPP_INCLUDED
7 
10 
11 namespace uavcan
12 {
13 namespace dynamic_node_id_server
14 {
23 {
24 public:
28  enum { MaxStringLength = 32 };
29 
34  enum { MaxKeyValuePairs = 512 };
35 
41 
47  virtual String get(const String& key) const = 0;
48 
54  virtual void set(const String& key, const String& value) = 0;
55 
56  virtual ~IStorageBackend() { }
57 };
58 
59 }
60 }
61 
62 #endif // Include guard
MakeString< MaxStringLength >::Type String


uavcan_communicator
Author(s):
autogenerated on Wed Jan 11 2023 03:59:39