Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 7ce89ce52ea1ec8962bd3ed6fa0e7fc69d6c9328 (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
37
38
39
40
41
42
43
/*******************************************************************************
 * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * CONTRIBUTORS:
 * 		Thomas Schuetz (initial contribution)
 *
 *******************************************************************************/

#include "etLogger.h"

typedef struct SubSystem {
	char *name;
} SubSystem;

static SubSystem SubSystemInst = {"SubSystem"};

void SubSystem_init(void){
	etLogger_logInfoF("%s_init", SubSystemInst.name);
}

void SubSystem_start(void){
	etLogger_logInfoF("%s_start", SubSystemInst.name);
}

void SubSystem_Scheduler(void){
	int32 i;
	for (i=0; i<100; i++){
		etLogger_logInfoF("%s Scheduler tick %d", SubSystemInst.name, i);
	}
}

void SubSystem_stop(void){
	etLogger_logInfoF("%s_stop", SubSystemInst.name);
}

void SubSystem_destroy(void){
	etLogger_logInfoF("%s_destroy", SubSystemInst.name);
}

Back to the top