GenModelC.sgen 13 KB

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