[openrtm-users 02531] bindParameter が bool型に対応していない?

examples/ConfigSample/ConfigSample.cpp
をみても,
bindParameter("int_param0", m_int_param0, "0");
bindParameter("int_param1", m_int_param1, "1");
bindParameter("double_param0", m_double_param0, "0.11");
bindParameter("double_param1", m_double_param1, "9.9");
bindParameter("str_param0", m_str_param0, "hoge");
bindParameter("str_param1", m_str_param1, "dara");
bindParameter("vector_param0", m_vector_param0, "0.0,1.0,2.0,3.0,4.0");

となっているので,もしかしたら仕様かもしれませんが,第2引数がbool型の時に
うまく動かない気がします.理由は
http://stackoverflow.com/questions/3880927/num-get-facet-and-stringstream-conversion-to-boolean-fails-with-initialised-bo
でしょうか?
_______________________________________________
openrtm-users mailing list
openrtm-users@openrtm.org
http://www.openrtm.org/mailman/listinfo/openrtm-users

Undefined

Download

latest Releases : 2.0.0-RELESE

2.1.0-RELESE Download page
2.0.1-RELESE Download page

Number of Projects

Choreonoid

Motion editor/Dynamics simulator

OpenHRP3

Dynamics simulator

OpenRTP

Integrated Development Platform

AIST RTC collection

RT-Components collection by AIST

TORK

Tokyo Opensource Robotics Association

DAQ-Middleware

Middleware for DAQ (Data Aquisition) by KEK