Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 948491f86255c35663c072c892cfe8867fe74bc8 (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
/**
 * @author generated by eTrice
 *
 * Header File of DataClass DataClass1
 * 
 */

#ifndef _DATACLASS1_H_
#define _DATACLASS1_H_

#include "etDatatypes.h"

/* TODO: includes only for used DataClasses, also for other models */
#include "DataClass2.h"

//--------------------- begin user code
	// usercode1
//--------------------- end user code
		
typedef struct {
	//--------------------- begin user code
		// usercode2
	//--------------------- end user code
	//--------------------- attributes
	int32 Attr1;
	DataClass2 ComplexAttr;
	float32 Attr3;
} DataClass1;

// TODO: do we need setters and getters for C and C++ ?

//--------------------- operations
int32 DataClass1_MultiplyWithAttr1(DataClass1* self, int32 value);
float32 DataClass1_MultiplyWithAttr3(DataClass1* self, float32 value);

// deep copy
void DataClass1_deepCopy(DataClass1* source, DataClass1* target);

#endif /* _DATACLASS1_H_ */

Back to the top