GenModelC.sgen 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. GeneratorModel for yakindu::c {
  2. statechart InterfaceTest {
  3. feature Debug {
  4. dumpSexec = true
  5. }
  6. feature Outlet {
  7. targetProject = "TestScenarios"
  8. targetFolder = "src-gen-c/InterfaceTest"
  9. }
  10. feature CCodeFeature {
  11. InterfaceEventListener = true
  12. Singleton = false
  13. DebugType = "cout"
  14. }
  15. feature LicenseHeader {
  16. licenseText = "
  17. # Copyright (c) 2011 committers of YAKINDU and others.
  18. # All rights reserved. This program and the accompanying materials
  19. # are made available under the terms of the Eclipse Public License v1.0
  20. # which accompanies this distribution, and is available at
  21. # http://www.eclipse.org/legal/epl-v10.html
  22. #
  23. # Contributors:
  24. # committers of YAKINDU - initial API and implementation
  25. "
  26. }
  27. // feature FunctionInlining {
  28. // inlineChoices = false
  29. // inlineEnterSequences = false
  30. // inlineEntryActions = false
  31. // inlineExitActions = false
  32. // inlineExitSequences = false
  33. // inlineReactions = false
  34. // }
  35. }
  36. statechart Test_DeepHistory {
  37. feature Outlet {
  38. targetProject = "TestScenarios"
  39. targetFolder = "src-gen-c/Test_DeepHistory"
  40. }
  41. feature CCodeFeature {
  42. DebugType = "cout"
  43. InterfaceEventListener = true
  44. Singleton = false
  45. }
  46. feature LicenseHeader {
  47. licenseText = "
  48. # Copyright (c) 2011 committers of YAKINDU and others.
  49. # All rights reserved. This program and the accompanying materials
  50. # are made available under the terms of the Eclipse Public License v1.0
  51. # which accompanies this distribution, and is available at
  52. # http://www.eclipse.org/legal/epl-v10.html
  53. #
  54. # Contributors:
  55. # committers of YAKINDU - initial API and implementation
  56. "
  57. }
  58. }
  59. statechart Test_Expression {
  60. feature Outlet {
  61. targetProject = "TestScenarios"
  62. targetFolder = "src-gen-c/Test_Expression"
  63. }
  64. feature Debug {
  65. dumpSexec = true
  66. }
  67. feature CCodeFeature {
  68. DebugType = "cout"
  69. InterfaceEventListener = true
  70. Singleton = false
  71. }
  72. feature LicenseHeader {
  73. licenseText = "
  74. # Copyright (c) 2011 committers of YAKINDU and others.
  75. # All rights reserved. This program and the accompanying materials
  76. # are made available under the terms of the Eclipse Public License v1.0
  77. # which accompanies this distribution, and is available at
  78. # http://www.eclipse.org/legal/epl-v10.html
  79. #
  80. # Contributors:
  81. # committers of YAKINDU - initial API and implementation
  82. "
  83. }
  84. }
  85. statechart Test_Hierarchy {
  86. feature Outlet {
  87. targetProject = "TestScenarios"
  88. targetFolder = "src-gen-c/Test_Hierarchy"
  89. }
  90. feature CCodeFeature {
  91. DebugType = "cout"
  92. InterfaceEventListener = true
  93. Singleton = false
  94. }
  95. feature FunctionInlining {
  96. inlineEnterSequences = false
  97. inlineExitSequences = false
  98. inlineEnterRegion = false
  99. inlineExitRegion = false
  100. }
  101. feature LicenseHeader {
  102. licenseText = "
  103. # Copyright (c) 2011 committers of YAKINDU and others.
  104. # All rights reserved. This program and the accompanying materials
  105. # are made available under the terms of the Eclipse Public License v1.0
  106. # which accompanies this distribution, and is available at
  107. # http://www.eclipse.org/legal/epl-v10.html
  108. #
  109. # Contributors:
  110. # committers of YAKINDU - initial API and implementation
  111. "
  112. }
  113. }
  114. statechart Test_LocalActions {
  115. feature Debug {
  116. dumpSexec = true
  117. }
  118. feature Outlet {
  119. targetProject = "TestScenarios"
  120. targetFolder = "src-gen-c/Test_LocalActions"
  121. }
  122. feature CCodeFeature {
  123. DebugType = "cout"
  124. InterfaceEventListener = true
  125. Singleton = false
  126. }
  127. feature LicenseHeader {
  128. licenseText = "
  129. # Copyright (c) 2011 committers of YAKINDU and others.
  130. # All rights reserved. This program and the accompanying materials
  131. # are made available under the terms of the Eclipse Public License v1.0
  132. # which accompanies this distribution, and is available at
  133. # http://www.eclipse.org/legal/epl-v10.html
  134. #
  135. # Contributors:
  136. # committers of YAKINDU - initial API and implementation
  137. "
  138. }
  139. }
  140. statechart Test_ParallelRegions {
  141. feature Outlet {
  142. targetProject = "TestScenarios"
  143. targetFolder = "src-gen-c/Test_ParallelRegions"
  144. }
  145. feature CCodeFeature {
  146. DebugType = "cout"
  147. InterfaceEventListener = true
  148. Singleton = false
  149. }
  150. feature LicenseHeader {
  151. licenseText = "
  152. # Copyright (c) 2011 committers of YAKINDU and others.
  153. # All rights reserved. This program and the accompanying materials
  154. # are made available under the terms of the Eclipse Public License v1.0
  155. # which accompanies this distribution, and is available at
  156. # http://www.eclipse.org/legal/epl-v10.html
  157. #
  158. # Contributors:
  159. # committers of YAKINDU - initial API and implementation
  160. "
  161. }
  162. }
  163. statechart Test_ShallowHistory {
  164. feature Outlet {
  165. targetProject = "TestScenarios"
  166. targetFolder = "src-gen-c/Test_ShallowHistory"
  167. }
  168. feature CCodeFeature {
  169. DebugType = "cout"
  170. InterfaceEventListener = true
  171. Singleton = false
  172. }
  173. feature LicenseHeader {
  174. licenseText = "
  175. # Copyright (c) 2011 committers of YAKINDU and others.
  176. # All rights reserved. This program and the accompanying materials
  177. # are made available under the terms of the Eclipse Public License v1.0
  178. # which accompanies this distribution, and is available at
  179. # http://www.eclipse.org/legal/epl-v10.html
  180. #
  181. # Contributors:
  182. # committers of YAKINDU - initial API and implementation
  183. "
  184. }
  185. }
  186. statechart Test_DeepHistory {
  187. feature Outlet {
  188. targetProject = "TestScenarios"
  189. targetFolder = "src-gen-c/Test_DeepHistory"
  190. }
  191. feature CCodeFeature {
  192. DebugType = "cout"
  193. InterfaceEventListener = true
  194. Singleton = false
  195. }
  196. feature Debug {
  197. dumpSexec = true
  198. }
  199. feature LicenseHeader {
  200. licenseText = "
  201. # Copyright (c) 2011 committers of YAKINDU and others.
  202. # All rights reserved. This program and the accompanying materials
  203. # are made available under the terms of the Eclipse Public License v1.0
  204. # which accompanies this distribution, and is available at
  205. # http://www.eclipse.org/legal/epl-v10.html
  206. #
  207. # Contributors:
  208. # committers of YAKINDU - initial API and implementation
  209. "
  210. }
  211. }
  212. statechart Test_Transition {
  213. feature Outlet {
  214. targetProject = "TestScenarios"
  215. targetFolder = "src-gen-c/Test_Transition"
  216. }
  217. feature CCodeFeature {
  218. DebugType = "cout"
  219. InterfaceEventListener = true
  220. Singleton = false
  221. }
  222. feature LicenseHeader {
  223. licenseText = "
  224. # Copyright (c) 2011 committers of YAKINDU and others.
  225. # All rights reserved. This program and the accompanying materials
  226. # are made available under the terms of the Eclipse Public License v1.0
  227. # which accompanies this distribution, and is available at
  228. # http://www.eclipse.org/legal/epl-v10.html
  229. #
  230. # Contributors:
  231. # committers of YAKINDU - initial API and implementation
  232. "
  233. }
  234. }
  235. statechart InterfaceTest {
  236. feature Outlet {
  237. targetProject = "TestScenarios"
  238. targetFolder = "src-gen-c-sgltn/InterfaceTest"
  239. }
  240. feature CCodeFeature {
  241. DebugType = "cout"
  242. InterfaceEventListener = true
  243. Singleton = true
  244. }
  245. feature LicenseHeader {
  246. licenseText = "
  247. # Copyright (c) 2011 committers of YAKINDU and others.
  248. # All rights reserved. This program and the accompanying materials
  249. # are made available under the terms of the Eclipse Public License v1.0
  250. # which accompanies this distribution, and is available at
  251. # http://www.eclipse.org/legal/epl-v10.html
  252. #
  253. # Contributors:
  254. # committers of YAKINDU - initial API and implementation
  255. "
  256. }
  257. }
  258. statechart Test_DeepHistory {
  259. feature Outlet {
  260. targetProject = "TestScenarios"
  261. targetFolder = "src-gen-c-sgltn/Test_DeepHistory"
  262. }
  263. feature CCodeFeature {
  264. DebugType = "cout"
  265. InterfaceEventListener = true
  266. Singleton = true
  267. }
  268. feature LicenseHeader {
  269. licenseText = "
  270. # Copyright (c) 2011 committers of YAKINDU and others.
  271. # All rights reserved. This program and the accompanying materials
  272. # are made available under the terms of the Eclipse Public License v1.0
  273. # which accompanies this distribution, and is available at
  274. # http://www.eclipse.org/legal/epl-v10.html
  275. #
  276. # Contributors:
  277. # committers of YAKINDU - initial API and implementation
  278. "
  279. }
  280. }
  281. statechart Test_Expression {
  282. feature Outlet {
  283. targetProject = "TestScenarios"
  284. targetFolder = "src-gen-c-sgltn/Test_Expression"
  285. }
  286. feature CCodeFeature {
  287. DebugType = "cout"
  288. InterfaceEventListener = true
  289. Singleton = true
  290. }
  291. feature LicenseHeader {
  292. licenseText = "
  293. # Copyright (c) 2011 committers of YAKINDU and others.
  294. # All rights reserved. This program and the accompanying materials
  295. # are made available under the terms of the Eclipse Public License v1.0
  296. # which accompanies this distribution, and is available at
  297. # http://www.eclipse.org/legal/epl-v10.html
  298. #
  299. # Contributors:
  300. # committers of YAKINDU - initial API and implementation
  301. "
  302. }
  303. }
  304. statechart Test_Hierarchy {
  305. feature Outlet {
  306. targetProject = "TestScenarios"
  307. targetFolder = "src-gen-c-sgltn/Test_Hierarchy"
  308. }
  309. feature CCodeFeature {
  310. DebugType = "cout"
  311. InterfaceEventListener = true
  312. Singleton = true
  313. }
  314. feature LicenseHeader {
  315. licenseText = "
  316. # Copyright (c) 2011 committers of YAKINDU and others.
  317. # All rights reserved. This program and the accompanying materials
  318. # are made available under the terms of the Eclipse Public License v1.0
  319. # which accompanies this distribution, and is available at
  320. # http://www.eclipse.org/legal/epl-v10.html
  321. #
  322. # Contributors:
  323. # committers of YAKINDU - initial API and implementation
  324. "
  325. }
  326. }
  327. statechart Test_LocalActions {
  328. feature Outlet {
  329. targetProject = "TestScenarios"
  330. targetFolder = "src-gen-c-sgltn/Test_LocalActions"
  331. }
  332. feature CCodeFeature {
  333. DebugType = "cout"
  334. InterfaceEventListener = true
  335. Singleton = true
  336. }
  337. feature LicenseHeader {
  338. licenseText = "
  339. # Copyright (c) 2011 committers of YAKINDU and others.
  340. # All rights reserved. This program and the accompanying materials
  341. # are made available under the terms of the Eclipse Public License v1.0
  342. # which accompanies this distribution, and is available at
  343. # http://www.eclipse.org/legal/epl-v10.html
  344. #
  345. # Contributors:
  346. # committers of YAKINDU - initial API and implementation
  347. "
  348. }
  349. }
  350. statechart Test_ParallelRegions {
  351. feature Outlet {
  352. targetProject = "TestScenarios"
  353. targetFolder = "src-gen-c-sgltn/Test_ParallelRegions"
  354. }
  355. feature CCodeFeature {
  356. DebugType = "cout"
  357. InterfaceEventListener = true
  358. Singleton = true
  359. }
  360. feature LicenseHeader {
  361. licenseText = "
  362. # Copyright (c) 2011 committers of YAKINDU and others.
  363. # All rights reserved. This program and the accompanying materials
  364. # are made available under the terms of the Eclipse Public License v1.0
  365. # which accompanies this distribution, and is available at
  366. # http://www.eclipse.org/legal/epl-v10.html
  367. #
  368. # Contributors:
  369. # committers of YAKINDU - initial API and implementation
  370. "
  371. }
  372. }
  373. statechart Test_ShallowHistory {
  374. feature Outlet {
  375. targetProject = "TestScenarios"
  376. targetFolder = "src-gen-c-sgltn/Test_ShallowHistory"
  377. }
  378. feature CCodeFeature {
  379. DebugType = "cout"
  380. InterfaceEventListener = true
  381. Singleton = true
  382. }
  383. feature LicenseHeader {
  384. licenseText = "
  385. # Copyright (c) 2011 committers of YAKINDU and others.
  386. # All rights reserved. This program and the accompanying materials
  387. # are made available under the terms of the Eclipse Public License v1.0
  388. # which accompanies this distribution, and is available at
  389. # http://www.eclipse.org/legal/epl-v10.html
  390. #
  391. # Contributors:
  392. # committers of YAKINDU - initial API and implementation
  393. "
  394. }
  395. }
  396. statechart Test_DeepHistory {
  397. feature Outlet {
  398. targetProject = "TestScenarios"
  399. targetFolder = "src-gen-c-sgltn/Test_DeepHistory"
  400. }
  401. feature CCodeFeature {
  402. DebugType = "cout"
  403. InterfaceEventListener = true
  404. Singleton = true
  405. }
  406. feature LicenseHeader {
  407. licenseText = "
  408. # Copyright (c) 2011 committers of YAKINDU and others.
  409. # All rights reserved. This program and the accompanying materials
  410. # are made available under the terms of the Eclipse Public License v1.0
  411. # which accompanies this distribution, and is available at
  412. # http://www.eclipse.org/legal/epl-v10.html
  413. #
  414. # Contributors:
  415. # committers of YAKINDU - initial API and implementation
  416. "
  417. }
  418. }
  419. statechart Test_Transition {
  420. feature Outlet {
  421. targetProject = "TestScenarios"
  422. targetFolder = "src-gen-c-sgltn/Test_Transition"
  423. }
  424. feature CCodeFeature {
  425. DebugType = "cout"
  426. InterfaceEventListener = true
  427. Singleton = true
  428. }
  429. feature LicenseHeader {
  430. licenseText = "
  431. # Copyright (c) 2011 committers of YAKINDU and others.
  432. # All rights reserved. This program and the accompanying materials
  433. # are made available under the terms of the Eclipse Public License v1.0
  434. # which accompanies this distribution, and is available at
  435. # http://www.eclipse.org/legal/epl-v10.html
  436. #
  437. # Contributors:
  438. # committers of YAKINDU - initial API and implementation
  439. "
  440. }
  441. }
  442. }