Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 15189bbaa79e99ba73822eb9271bc68e54ca9a0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/**
 * @author generated by eTrice
 *
 * this class contains the main function running component SendingData_SubSystem
 * it instantiates SendingData_SubSystem and starts and ends the lifecycle
 */

package SendingData;

import org.eclipse.etrice.runtime.java.modelbase.SubSystemRunnerBase;

class SendingData_SubSystemRunner extends SubSystemRunnerBase {

	static SendingData_SubSystem main_component = new SendingData_SubSystem(null, "SendingData_SubSystem");

	/**
     * main function
     * creates component and starts and stops the lifecycle
     */
	public static void main(String[] args) {

		System.out.println("***   T H E   B E G I N   ***");
		
		main_component.init(); // lifecycle init
		main_component.start(); // lifecycle start

		// application runs until quit 
		waitForQuit();
		
		// end the lifecycle
		main_component.stop(); // lifecycle stop
		main_component.destroy(); // lifecycle destroy

		System.out.println("***   T H E   E N D   ***");
	}
};

Back to the top