diff options
author | Thomas Schuetz | 2012-02-26 14:58:40 +0000 |
---|---|---|
committer | Thomas Schuetz | 2012-02-26 14:58:40 +0000 |
commit | afc4b117aab39c0f6f726c4efdaa83f441faf61c (patch) | |
tree | daaef66ac1629df2d828aff1559434fe67f55d13 /tests/org.eclipse.etrice.generator.c.tests/src-gen/cGenRef/DataClass1.h | |
parent | 724f46d55b352c16731b46a332b13d436b536aae (diff) | |
download | org.eclipse.etrice-afc4b117aab39c0f6f726c4efdaa83f441faf61c.tar.gz org.eclipse.etrice-afc4b117aab39c0f6f726c4efdaa83f441faf61c.tar.xz org.eclipse.etrice-afc4b117aab39c0f6f726c4efdaa83f441faf61c.zip |
[runtime.c] reorganized runtime.c for separation of common and platform specific parts, adapted include pathes, C-generator and tests
Diffstat (limited to 'tests/org.eclipse.etrice.generator.c.tests/src-gen/cGenRef/DataClass1.h')
-rw-r--r-- | tests/org.eclipse.etrice.generator.c.tests/src-gen/cGenRef/DataClass1.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/tests/org.eclipse.etrice.generator.c.tests/src-gen/cGenRef/DataClass1.h b/tests/org.eclipse.etrice.generator.c.tests/src-gen/cGenRef/DataClass1.h index 948491f86..f1d7a6fb0 100644 --- a/tests/org.eclipse.etrice.generator.c.tests/src-gen/cGenRef/DataClass1.h +++ b/tests/org.eclipse.etrice.generator.c.tests/src-gen/cGenRef/DataClass1.h @@ -10,31 +10,30 @@ #include "etDatatypes.h"
-/* TODO: includes only for used DataClasses, also for other models */
#include "DataClass2.h"
-//--------------------- begin user code
+/*--------------------- begin user code ---------------------*/
// usercode1
-//--------------------- end user code
+/*--------------------- end user code ---------------------*/
typedef struct {
- //--------------------- begin user code
- // usercode2
- //--------------------- end user code
- //--------------------- attributes
+ /*--------------------- attributes ---------------------*/
int32 Attr1;
DataClass2 ComplexAttr;
float32 Attr3;
} DataClass1;
-// TODO: do we need setters and getters for C and C++ ?
-//--------------------- operations
+/*--------------------- operations ---------------------*/
int32 DataClass1_MultiplyWithAttr1(DataClass1* self, int32 value);
float32 DataClass1_MultiplyWithAttr3(DataClass1* self, float32 value);
-// deep copy
+/* deep copy */
void DataClass1_deepCopy(DataClass1* source, DataClass1* target);
+/*--------------------- begin user code ---------------------*/
+ // usercode2
+/*--------------------- end user code ---------------------*/
+
#endif /* _DATACLASS1_H_ */
|