[openrtm-commit:03077] r1104 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/Throughput
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 1月 18日 (木) 15:22:59 JST
Author: t-katami
Date: 2018-01-18 15:22:59 +0900 (Thu, 18 Jan 2018)
New Revision: 1104
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/Throughput/ThroughputImpl.java
Log:
[FSM4RTC,example,] Fixed Throughput. refs #4397
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/Throughput/ThroughputImpl.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/Throughput/ThroughputImpl.java 2018-01-18 06:14:08 UTC (rev 1103)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/Throughput/ThroughputImpl.java 2018-01-18 06:22:59 UTC (rev 1104)
@@ -12,7 +12,7 @@
import jp.go.aist.rtm.RTC.DataFlowComponentBase;
import jp.go.aist.rtm.RTC.Manager;
-//import jp.go.aist.rtm.RTC.connectorListener.ReturnCode;
+import jp.go.aist.rtm.RTC.connectorListener.ReturnCode;
import jp.go.aist.rtm.RTC.port.InPort;
import jp.go.aist.rtm.RTC.port.OutPort;
import jp.go.aist.rtm.RTC.port.ConnectorBase;
@@ -773,8 +773,7 @@
throughputComp = comp;
}
@Override
- //public ReturnCode operator(ConnectorBase.ConnectorInfo arg,
- public void operator(ConnectorBase.ConnectorInfo arg,
+ public ReturnCode operator(ConnectorBase.ConnectorInfo arg,
DataType data) {
ConnectorBase.ConnectorInfo info =(ConnectorBase.ConnectorInfo)arg;
Class cl = data.getClass();
@@ -793,7 +792,7 @@
//set throws
}
throughputComp.receiveData(tim, leng);
- //return ReturnCode.NO_CHANGE;
+ return ReturnCode.NO_CHANGE;
}
public ThroughputImpl throughputComp;
}
@@ -804,8 +803,7 @@
}
@Override
- //public ReturnCode operator(ConnectorBase.ConnectorInfo arg){
- public void operator(ConnectorBase.ConnectorInfo arg){
+ public ReturnCode operator(ConnectorBase.ConnectorInfo arg){
System.out.println("------------------------------");
//System.out.println(" Connected !!");
//System.out.println("------------------------------");
@@ -821,7 +819,7 @@
System.out.println(str);
System.out.println("------------------------------");
throughputComp.setConnectorProfile(arg);
- //return ReturnCode.NO_CHANGE;
+ return ReturnCode.NO_CHANGE;
}
public ThroughputImpl throughputComp;
}
More information about the openrtm-commit
mailing list