16 const std::string&
name)
const {
24 const std::string&
name,
25 Eigen::Ref<Eigen::VectorX<T>> value)
const {
28 value.size() != expectedSize,
29 "In {}::getInput({}): expected size {} but got {}",
40 const std::string&
name,
41 Eigen::Ref<
const Eigen::VectorX<T>> value) {
44 value.size() != expectedSize,
45 "In {}::setInput({}): expected size {} but got {}",
virtual Eigen::Index getInputSize(const std::string &name) const =0
virtual const char * name() const =0
void setInput(const std::string &name, Eigen::Ref< const Eigen::VectorX< T > > value)
Eigen::VectorX< T > getInput(const std::string &name) const
virtual void setInputImp(const std::string &name, Eigen::Ref< const Eigen::VectorX< T > > value)=0
virtual void getInputImp(const std::string &name, Eigen::Ref< Eigen::VectorX< T > > value) const =0
#define MT_THROW_IF(Condition,...)
Conditionally throws a std::runtime_error with a formatted message if the condition is true.