7 #ifndef DYNAMIC_GRAPH_COMMAND_SETTER_T_CPP
8 #define DYNAMIC_GRAPH_COMMAND_SETTER_T_CPP
12 #include <boost/assign/list_of.hpp>
41 const std::string &docString)
42 :
Command(entity, boost::assign::list_of(
Value::BOOL), docString),
43 setterMethod_(setterMethod) {}
49 bool value = values[0].value();
50 E &entity =
static_cast<E &
>(
owner());
75 const std::string &docString)
76 :
Command(entity, boost::assign::list_of(
Value::UNSIGNED), docString),
77 setterMethod_(setterMethod) {}
83 unsigned value = values[0].value();
84 E &entity =
static_cast<E &
>(
owner());
109 const std::string &docString)
110 :
Command(entity, boost::assign::list_of(
Value::UNSIGNEDLONGINT),
112 setterMethod_(setterMethod) {}
118 std::uint64_t value = values[0].value();
119 E &entity =
static_cast<E &
>(
owner());
144 const std::string &docString)
145 :
Command(entity, boost::assign::list_of(
Value::INT), docString),
146 setterMethod_(setterMethod) {}
152 int value = values[0].value();
153 E &entity =
static_cast<E &
>(
owner());
178 const std::string &docString)
179 :
Command(entity, boost::assign::list_of(
Value::LONGINT), docString),
180 setterMethod_(setterMethod) {}
186 std::int64_t value = values[0].value();
187 E &entity =
static_cast<E &
>(
owner());
212 const std::string &docString)
213 :
Command(entity, boost::assign::list_of(
Value::FLOAT), docString),
214 setterMethod_(setterMethod) {}
220 float value = values[0].value();
221 E &entity =
static_cast<E &
>(
owner());
246 const std::string &docString)
247 :
Command(entity, boost::assign::list_of(
Value::DOUBLE), docString),
248 setterMethod_(setterMethod) {}
254 double value = values[0].value();
255 E &entity =
static_cast<E &
>(
owner());
280 const std::string &docString)
281 :
Command(entity, boost::assign::list_of(
Value::STRING), docString),
282 setterMethod_(setterMethod) {}
288 std::string value = values[0].value();
289 E &entity =
static_cast<E &
>(
owner());
314 const std::string &docString)
315 :
Command(entity, boost::assign::list_of(
Value::VECTOR), docString),
316 setterMethod_(setterMethod) {}
322 Vector value = values[0].value();
323 E &entity =
static_cast<E &
>(
owner());
348 const std::string &docString)
349 :
Command(entity, boost::assign::list_of(
Value::MATRIX), docString),
350 setterMethod_(setterMethod) {}
356 Matrix value = values[0].value();
357 E &entity =
static_cast<E &
>(
owner());
365 #endif // DYNAMIC_GRAPH_COMMAND_SETTER_T_CPP