Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2012-01-16 08:19:31 -0500
committerThomas Schuetz2012-01-16 08:19:31 -0500
commit71c6f6b4ee634bf094ec5e97bf2cfc15d7027803 (patch)
treef8672a64de1626a8a9760017df3e142ed88821db /examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/DataClass2.h
parent112cbb3dd645b3f91f573290e94d0499da0705c1 (diff)
downloadorg.eclipse.etrice-71c6f6b4ee634bf094ec5e97bf2cfc15d7027803.tar.gz
org.eclipse.etrice-71c6f6b4ee634bf094ec5e97bf2cfc15d7027803.tar.xz
org.eclipse.etrice-71c6f6b4ee634bf094ec5e97bf2cfc15d7027803.zip
[generator, runtime.c.reference] removed initialization for attributes, fixed tests after renaming runtime
Diffstat (limited to 'examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/DataClass2.h')
-rw-r--r--examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/DataClass2.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/DataClass2.h b/examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/DataClass2.h
new file mode 100644
index 000000000..2d8cbb74f
--- /dev/null
+++ b/examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/DataClass2.h
@@ -0,0 +1,25 @@
+#ifndef _DataClass2_H_
+#define _DataClass2_H_
+
+#include "etDatatypes.h"
+
+/* TODO: includes only for used DataClasses, also for other models */
+
+
+typedef struct {
+ //--------------------- attributes
+ int32 Attr1;
+ float32 Attr2;
+ int32 Attr3;
+} DataClass2;
+
+// TODO: do we need setters and getters for C and C++ ?
+
+//--------------------- operations
+void DataClass2_Operation1(DataClass2* self);
+
+// deep copy
+void DataClass2_deepCopy(DataClass2* source, DataClass2* target);
+
+#endif /* _DataClass2_H_ */
+

Back to the top