[openrtm-commit:00454] r2234 - trunk/OpenRTM-aist/src/lib/rtm

openrtm @ openrtm.org openrtm @ openrtm.org
2011年 10月 11日 (火) 23:21:56 JST


Author: n-ando
Date: 2011-10-11 23:21:56 +0900 (Tue, 11 Oct 2011)
New Revision: 2234

Modified:
   trunk/OpenRTM-aist/src/lib/rtm/ConfigAdmin.cpp
Log:
Clear changed parameterlist in update() functions.


Modified: trunk/OpenRTM-aist/src/lib/rtm/ConfigAdmin.cpp
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/ConfigAdmin.cpp	2011-10-11 14:20:17 UTC (rev 2233)
+++ trunk/OpenRTM-aist/src/lib/rtm/ConfigAdmin.cpp	2011-10-11 14:21:56 UTC (rev 2234)
@@ -121,6 +121,7 @@
    */
   void ConfigAdmin::update(void)
   {
+    m_changedParam.clear();
     if (m_changed && m_active)
       {
 	update(m_activeId.c_str());
@@ -165,6 +166,7 @@
    */
   void ConfigAdmin::update(const char* config_set, const char* config_param)
   {
+    m_changedParam.clear();
     if ((config_set == 0) || (config_param == 0)) { return; }
 
     std::string key(config_set);



openrtm-commit メーリングリストの案内