[openrtm-commit:01583] r2650 - trunk/OpenRTM-aist/src/lib/rtm
openrtm @ openrtm.org
openrtm @ openrtm.org
2015年 7月 16日 (木) 11:42:12 JST
Author: n-ando
Date: 2015-07-16 11:42:12 +0900 (Thu, 16 Jul 2015)
New Revision: 2650
Modified:
trunk/OpenRTM-aist/src/lib/rtm/RTObject.cpp
trunk/OpenRTM-aist/src/lib/rtm/RTObject.h
Log:
[incompat,->RELENG_1_2] add getInPorts(), getOutPorts() to RTObject.
Modified: trunk/OpenRTM-aist/src/lib/rtm/RTObject.cpp
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/RTObject.cpp 2015-07-16 02:39:01 UTC (rev 2649)
+++ trunk/OpenRTM-aist/src/lib/rtm/RTObject.cpp 2015-07-16 02:42:12 UTC (rev 2650)
@@ -1626,7 +1626,7 @@
* @endif
*/
bool RTObject_impl::addInPort(const char* name,
- InPortBase& inport)
+ InPortBase& inport)
{
RTC_TRACE(("addInPort(%s)", name));
Modified: trunk/OpenRTM-aist/src/lib/rtm/RTObject.h
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/RTObject.h 2015-07-16 02:39:01 UTC (rev 2649)
+++ trunk/OpenRTM-aist/src/lib/rtm/RTObject.h 2015-07-16 02:42:12 UTC (rev 2650)
@@ -2577,6 +2577,8 @@
* @endif
*/
bool addInPort(const char* name, InPortBase& inport);
+ const std::vector<InPortBase*>& getInPorts() const {return m_inports;};
+ const std::vector<OutPortBase*>& getOutPorts() const {return m_outports;};
/*!
* @if jp
*
More information about the openrtm-commit
mailing list