diff options
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.h | 25 |
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..6d7259267 --- /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 "datatypes.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_ */ + |