1 #ifndef AUBO_SCOPE_DATA_MODEL_H 2 #define AUBO_SCOPE_DATA_MODEL_H 18 namespace aubo_scope {
85 void set(
const std::string &key,
bool value);
95 bool get(
const std::string &key,
bool default_value)
const;
110 void set(
const std::string &key,
int value);
120 int get(
const std::string &key,
int default_value)
const;
135 void set(
const std::string &key,
long value);
136 void set(
const std::string &key, uint64_t value);
146 long get(
const std::string &key,
long default_value)
const;
147 uint64_t
get(
const std::string &key, uint64_t default_value)
const;
162 void set(
const std::string &key,
float value);
172 float get(
const std::string &key,
float default_value)
const;
187 void set(
const std::string &key,
double value);
197 double get(
const std::string &key,
double default_value)
const;
212 void set(
const std::string &key,
const std::string &value);
222 std::string
get(
const std::string &key,
223 const std::string &default_value)
const;
237 void set(
const std::string &key, VariablePtr value);
238 void set(
const std::string &key, ExpressionPtr value);
239 void set(
const std::string &key, PayloadPtr value);
240 void set(
const std::string &key, IoPtr value);
241 void set(
const std::string &key, WaypointPtr value);
251 VariablePtr
get(
const std::string &key, VariablePtr default_value)
const;
252 ExpressionPtr
get(
const std::string &key,
253 ExpressionPtr default_value)
const;
254 PayloadPtr
get(
const std::string &key, PayloadPtr default_value)
const;
255 IoPtr
get(
const std::string &key, IoPtr default_value)
const;
256 WaypointPtr
get(
const std::string &key, WaypointPtr default_value)
const;
270 void set(
const std::string &key,
const std::vector<bool> &value);
280 std::vector<bool>
get(
const std::string &key,
281 const std::vector<bool> &default_value)
const;
296 void set(
const std::string &key,
const std::vector<int> &value);
306 std::vector<int>
get(
const std::string &key,
307 const std::vector<int> &default_value)
const;
322 void set(
const std::string &key,
const std::vector<long> &value);
323 void set(
const std::string &key,
const std::vector<uint64_t> &value);
333 std::vector<long>
get(
const std::string &key,
334 const std::vector<long> &default_value)
const;
335 std::vector<uint64_t>
get(
const std::string &key,
336 const std::vector<uint64_t> &default_value)
const;
351 void set(
const std::string &key,
const std::vector<float> &value);
361 std::vector<float>
get(
const std::string &key,
362 const std::vector<float> &default_value)
const;
377 void set(
const std::string &key,
const std::vector<double> &value);
387 std::vector<double>
get(
const std::string &key,
388 const std::vector<double> &default_value)
const;
403 void set(
const std::string &key,
const std::vector<std::string> &value);
414 std::vector<std::string>
get(
415 const std::string &key,
416 const std::vector<std::string> &default_value)
const;
431 void set(
const std::string &key, TCPPtr value);
441 TCPPtr
get(
const std::string &key, TCPPtr default_value)
const;
456 void set(
const std::string &key, FeaturePtr value);
466 FeaturePtr
get(
const std::string &key, FeaturePtr default_value)
const;
473 std::set<std::string> getKeys()
const;
482 bool isSet(
const std::string &key)
const;
494 bool remove(
const std::string &key);
497 friend class DataSwitch;
ARCS_CLASS_FORWARD(GripForceCapability)