9 #ifndef ABSTRACT_SOT_EXTERNAL_INTERFACE_HH
10 #define ABSTRACT_SOT_EXTERNAL_INTERFACE_HH
23 std::vector<double> values_;
29 const std::string &
getName()
const {
return name_; }
31 void setName(
const std::string &aname) { name_ = aname; }
33 const std::vector<double> &
getValues()
const {
return values_; }
35 void setValues(
const std::vector<double> &values) { values_ = values; }
47 std::map<std::string, SensorValues> &sensorsIn) = 0;
50 std::map<std::string, SensorValues> &sensorsIn) = 0;
53 std::map<std::string, SensorValues> &sensorsIn) = 0;
55 virtual void getControl(std::map<std::string, ControlValues> &) = 0;
dynamicgraph::sot::AbstractSotExternalInterface * createSotExternalInterface_t()
Definition: abstract-sot-external-interface.hh:63
void destroySotExternalInterface_t(dynamicgraph::sot::AbstractSotExternalInterface *)
Definition: abstract-sot-external-interface.hh:64
#define SOT_CORE_EXPORT
Definition: api.hh:20
Definition: abstract-sot-external-interface.hh:40
virtual void setupSetSensors(std::map< std::string, SensorValues > &sensorsIn)=0
AbstractSotExternalInterface()
Definition: abstract-sot-external-interface.hh:42
virtual void cleanupSetSensors(std::map< std::string, SensorValues > &sensorsIn)=0
virtual ~AbstractSotExternalInterface()
Definition: abstract-sot-external-interface.hh:44
virtual void setSecondOrderIntegration(void)=0
virtual void setNoIntegration(void)=0
virtual void getControl(std::map< std::string, ControlValues > &)=0
virtual void nominalSetSensors(std::map< std::string, SensorValues > &sensorsIn)=0
Definition: abstract-sot-external-interface.hh:20
const std::string & getName() const
Definition: abstract-sot-external-interface.hh:29
void setValues(const std::vector< double > &values)
Definition: abstract-sot-external-interface.hh:35
NamedVector()
Definition: abstract-sot-external-interface.hh:26
void setName(const std::string &aname)
Definition: abstract-sot-external-interface.hh:31
~NamedVector()
Definition: abstract-sot-external-interface.hh:27
const std::vector< double > & getValues() const
Definition: abstract-sot-external-interface.hh:33
NamedVector SensorValues
Definition: abstract-sot-external-interface.hh:37
NamedVector ControlValues
Definition: abstract-sot-external-interface.hh:38
Definition: abstract-sot-external-interface.hh:17