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