aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.h')
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.h b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.h
new file mode 100644
index 0000000..933ec22
--- /dev/null
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/AFileReader.h
@@ -0,0 +1,61 @@
+/**
+ * @author generated by eTrice
+ *
+ * Header File of ActorClass AFileReader
+ *
+ */
+
+#ifndef _AFILEREADER_H_
+#define _AFILEREADER_H_
+
+#include "etDatatypes.h"
+#include "messaging/etMessage.h"
+
+#include "FileReaderProtocol.h"
+
+
+typedef struct AFileReader AFileReader;
+
+/* const part of ActorClass (ROM) */
+typedef struct AFileReader_const {
+ /* simple ports */
+ const FileReaderProtocolPort outPort;
+
+ /* data receive ports */
+
+ /* saps */
+
+ /* replicated ports */
+
+ /* services */
+} AFileReader_const;
+
+
+/* constant for state machine data */
+#define AFILEREADER_HISTORY_SIZE 2
+
+/* variable part of ActorClass (RAM) */
+struct AFileReader {
+ const AFileReader_const* const constData;
+
+ /* data send ports */
+
+ /*--------------------- attributes ---------------------*/
+ FILE* f;
+
+
+ /* state machine variables */
+ etInt16 state;
+ etInt16 history[AFILEREADER_HISTORY_SIZE];
+};
+
+void AFileReader_init(AFileReader* self);
+
+void AFileReader_receiveMessage(void* self, void* ifitem, const etMessage* msg);
+
+
+/*--------------------- operations ---------------------*/
+
+
+#endif /* _AFILEREADER_H_ */
+