@@ -27,13 +27,13 @@ class SOT_CORE_EXPORT NamedVector {
2727 NamedVector () {}
2828 ~NamedVector () {}
2929
30- const std::string & getName () const { return name_; }
30+ const std::string& getName () const { return name_; }
3131
32- void setName (const std::string & aname) { name_ = aname; }
32+ void setName (const std::string& aname) { name_ = aname; }
3333
34- const std::vector<double > & getValues () const { return values_; }
34+ const std::vector<double >& getValues () const { return values_; }
3535
36- void setValues (const std::vector<double > & values) { values_ = values; }
36+ void setValues (const std::vector<double >& values) { values_ = values; }
3737};
3838typedef NamedVector SensorValues;
3939typedef NamedVector ControlValues;
@@ -45,31 +45,31 @@ class SOT_CORE_EXPORT AbstractSotExternalInterface {
4545 virtual ~AbstractSotExternalInterface () {}
4646
4747 virtual void setupSetSensors (
48- std::map<std::string, SensorValues> & sensorsIn) = 0;
48+ std::map<std::string, SensorValues>& sensorsIn) = 0;
4949
5050 virtual void nominalSetSensors (
51- std::map<std::string, SensorValues> & sensorsIn) = 0;
51+ std::map<std::string, SensorValues>& sensorsIn) = 0;
5252
5353 virtual void cleanupSetSensors (
54- std::map<std::string, SensorValues> & sensorsIn) = 0;
54+ std::map<std::string, SensorValues>& sensorsIn) = 0;
5555
5656 // Get control vector
5757 // \param map map string to vector of doubles. This method is expected to
5858 // fill in entry "control"
5959 // \param period time since last call.
60- virtual void getControl (std::map<std::string, ControlValues> &,
61- const double & period = 0 ) = 0;
60+ virtual void getControl (std::map<std::string, ControlValues>&,
61+ const double & period = 0 ) = 0;
6262 virtual void setSecondOrderIntegration (void ) = 0;
6363 virtual void setNoIntegration (void ) = 0;
6464 // Set the number of joints that are controlled
65- virtual void setControlSize (const size_type &) = 0;
65+ virtual void setControlSize (const size_type&) = 0;
6666};
6767} // namespace sot
6868} // namespace dynamicgraph
6969
70- typedef dynamicgraph::sot::AbstractSotExternalInterface *
70+ typedef dynamicgraph::sot::AbstractSotExternalInterface*
7171createSotExternalInterface_t ();
7272typedef void destroySotExternalInterface_t (
73- dynamicgraph::sot::AbstractSotExternalInterface *);
73+ dynamicgraph::sot::AbstractSotExternalInterface*);
7474
7575#endif // ABSTRACT_SOT_EXTERNAL_INTERFACE_HH
0 commit comments