Commit d79b07b3 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

move doc/make CommandVoid 5-8 to dynamic-graph

ref. https://github.com/stack-of-tasks/dynamic-graph/issues/36
parent 193dcef9
......@@ -17,14 +17,15 @@
#ifndef __sot_talos_balance_commands_helper_H__
#define __sot_talos_balance_commands_helper_H__
#include <boost/function.hpp>
/* --- COMMON INCLUDE -------------------------------------------------- */
#include <dynamic-graph/config.hh>
#include <dynamic-graph/command.h>
#include <dynamic-graph/command-direct-setter.h>
#include <dynamic-graph/command-direct-getter.h>
#include <dynamic-graph/command-bind.h>
#include <boost/function.hpp>
/* --- HELPER ---------------------------------------------------------- */
namespace dynamicgraph {
namespace sot {
......@@ -33,18 +34,40 @@ using ::dynamicgraph::command::docCommandVerbose;
using ::dynamicgraph::command::docCommandVoid0;
using ::dynamicgraph::command::docCommandVoid1;
using ::dynamicgraph::command::docCommandVoid2;
using ::dynamicgraph::command::docCommandVoid3;
using ::dynamicgraph::command::docCommandVoid4;
using ::dynamicgraph::command::docDirectGetter;
using ::dynamicgraph::command::docDirectSetter;
using ::dynamicgraph::command::makeCommandVerbose;
using ::dynamicgraph::command::makeCommandVoid0;
using ::dynamicgraph::command::makeCommandVoid1;
using ::dynamicgraph::command::makeCommandVoid2;
using ::dynamicgraph::command::makeCommandVoid3;
using ::dynamicgraph::command::makeCommandVoid4;
using ::dynamicgraph::command::makeDirectGetter;
using ::dynamicgraph::command::makeDirectSetter;
} // namespace talos_balance
} // namespace sot
} // namespace dynamicgraph
#if DYNAMIC_GRAPH_VERSION_AT_LEAST(4, 4, 0)
namespace dynamicgraph {
namespace sot {
namespace dg = dynamicgraph;
namespace torquecontrol {
using ::dynamicgraph::command::docCommandVoid5;
using ::dynamicgraph::command::docCommandVoid6;
using ::dynamicgraph::command::docCommandVoid7;
using ::dynamicgraph::command::docCommandVoid8;
using ::dynamicgraph::command::makeCommandVoid5;
using ::dynamicgraph::command::makeCommandVoid6;
using ::dynamicgraph::command::makeCommandVoid7;
using ::dynamicgraph::command::makeCommandVoid8;
} // namespace torquecontrol
} // namespace sot
} // namespace dynamicgraph
#else
namespace dynamicgraph {
namespace command {
......@@ -239,5 +262,6 @@ inline std::string docCommandVoid7(const std::string& doc, const std::string& ty
} // namespace command
} // namespace dynamicgraph
#endif
#endif // __sot_talos_balance_commands_helper_H__
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment