Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0fdf715764479d309fb0c8844c1882d92b2b42a9 (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
44
/**
 * @author generated by eTrice
 *
 * Header File of ActorClass TrafficlightExampleApplication
 * 
 */

#ifndef _TRAFFICLIGHT_EXAMPLE_TRAFFICLIGHTEXAMPLEAPPLICATION_H_
#define _TRAFFICLIGHT_EXAMPLE_TRAFFICLIGHTEXAMPLEAPPLICATION_H_

#include "etDatatypes.h"
#include "messaging/etMessage.h"

#include "room/basic/service/tcp/PTcpControl.h"
#include "room/basic/service/tcp/PTcpPayload.h"
#include "room/basic/service/timing/PTimer.h"
#include "trafficlight/example/PTrafficLight.h"


typedef struct TrafficlightExampleApplication TrafficlightExampleApplication;

/* const part of ActorClass (ROM) */
/* this actor class has no ports and thus no constant data */


/* variable part of ActorClass (RAM) */
struct TrafficlightExampleApplication {
	/* This actor class has no data at all.
	   But the private actor instance data is passed to all life cycle functions.
	   By introducing the dummy data we keep this case simple
	*/
	int dummy;
};

void TrafficlightExampleApplication_init(TrafficlightExampleApplication* self);

void TrafficlightExampleApplication_receiveMessage(void* self, void* ifitem, const etMessage* msg);


/*--------------------- operations ---------------------*/


#endif /* _TRAFFICLIGHT_EXAMPLE_TRAFFICLIGHTEXAMPLEAPPLICATION_H_ */

Back to the top