GenModelC.sgen 13 KB

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