[openrtm-commit:01142] r452 - branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.rtcbuilder.safety/src/jp/go/aist/rtm/rtcbuilder/safety/manager
openrtm @ openrtm.org
openrtm @ openrtm.org
2014年 1月 5日 (日) 03:20:58 JST
Author: win-ei
Date: 2014-01-05 03:20:58 +0900 (Sun, 05 Jan 2014)
New Revision: 452
Modified:
branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.rtcbuilder.safety/src/jp/go/aist/rtm/rtcbuilder/safety/manager/SafetyGenerateManager.java
Log:
Daily work.
Modified: branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.rtcbuilder.safety/src/jp/go/aist/rtm/rtcbuilder/safety/manager/SafetyGenerateManager.java
===================================================================
--- branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.rtcbuilder.safety/src/jp/go/aist/rtm/rtcbuilder/safety/manager/SafetyGenerateManager.java 2014-01-04 17:56:26 UTC (rev 451)
+++ branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.rtcbuilder.safety/src/jp/go/aist/rtm/rtcbuilder/safety/manager/SafetyGenerateManager.java 2014-01-04 18:20:58 UTC (rev 452)
@@ -127,6 +127,8 @@
GeneratedResult gr;
gr = generateCompSource(contextMap);
result.add(gr);
+ gr = generateRTCHeader(contextMap);
+ result.add(gr);
gr = generateRTCSource(contextMap);
result.add(gr);
gr = generateRTCImplSource(contextMap);
@@ -170,6 +172,20 @@
return generate(infile, outfile, contextMap);
}
+ public GeneratedResult generateRTCHeader(Map<String, Object> contextMap) {
+ RtcParam rtcParam = (RtcParam) contextMap.get("rtcParam");
+ String outfile = null;
+ //if( rtcParam.enableOldBuildEnv() ) {
+ // outfile = rtcParam.getName() + ".h";
+ //} else {
+ outfile = "include/" + rtcParam.getName() + "/" + rtcParam.getName() + ".h";
+ //}
+ String infile = "safety/Safety_RTC.h.vsl";
+ return generate(infile, outfile, contextMap);
+ }
+
+
+
public GeneratedResult generateRTCImplSource(Map<String, Object> contextMap) {
RtcParam rtcParam = (RtcParam) contextMap.get("rtcParam");
String outfile = "src/" + rtcParam.getName() + "Impl.c";
More information about the openrtm-commit
mailing list