[openrtm-commit:03075] r1102 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/Throughput
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 1月 18日 (木) 15:00:38 JST
Author: t-katami
Date: 2018-01-18 15:00:37 +0900 (Thu, 18 Jan 2018)
New Revision: 1102
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/Throughput/ThroughputImpl.java
Log:
[compat,example,->RELENG_1_2] 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 01:17:52 UTC (rev 1101)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/Throughput/ThroughputImpl.java 2018-01-18 06:00:37 UTC (rev 1102)
@@ -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,7 +773,8 @@
throughputComp = comp;
}
@Override
- public ReturnCode operator(ConnectorBase.ConnectorInfo arg,
+ //public ReturnCode operator(ConnectorBase.ConnectorInfo arg,
+ public void operator(ConnectorBase.ConnectorInfo arg,
DataType data) {
ConnectorBase.ConnectorInfo info =(ConnectorBase.ConnectorInfo)arg;
Class cl = data.getClass();
@@ -792,7 +793,7 @@
//set throws
}
throughputComp.receiveData(tim, leng);
- return ReturnCode.NO_CHANGE;
+ //return ReturnCode.NO_CHANGE;
}
public ThroughputImpl throughputComp;
}
@@ -803,7 +804,8 @@
}
@Override
- public ReturnCode operator(ConnectorBase.ConnectorInfo arg){
+ //public ReturnCode operator(ConnectorBase.ConnectorInfo arg){
+ public void operator(ConnectorBase.ConnectorInfo arg){
System.out.println("------------------------------");
//System.out.println(" Connected !!");
//System.out.println("------------------------------");
@@ -819,7 +821,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