Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjung2012-09-30 16:00:16 +0000
committertjung2012-09-30 16:00:16 +0000
commit82f24cc8bc66fa3b0bf06692c1cb5f9094597937 (patch)
treed6c05d33d131ff0887f9441f7a24def3ca744846 /examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.h
parentadc175faa0be64f584a48c4e1b2509f4b3f86b8e (diff)
downloadorg.eclipse.etrice-82f24cc8bc66fa3b0bf06692c1cb5f9094597937.tar.gz
org.eclipse.etrice-82f24cc8bc66fa3b0bf06692c1cb5f9094597937.tar.xz
org.eclipse.etrice-82f24cc8bc66fa3b0bf06692c1cb5f9094597937.zip
[tutorials.c] added
Diffstat (limited to 'examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.h')
-rw-r--r--examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.h b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.h
new file mode 100644
index 000000000..588fa2fff
--- /dev/null
+++ b/examples/org.eclipse.etrice.tutorials.c/src-gen/RemoveComment/FileReaderProtocol.h
@@ -0,0 +1,54 @@
+/**
+ * @author generated by eTrice
+ *
+ * Header File of ProtocolClass FileReaderProtocol
+ *
+ */
+
+#ifndef _FILEREADERPROTOCOL_H_
+#define _FILEREADERPROTOCOL_H_
+
+#include "etDatatypes.h"
+#include "modelbase/etPort.h"
+
+
+
+
+/* message IDs */
+enum FileReaderProtocol_msg_ids {
+ FileReaderProtocol_MSG_MIN = 0,
+ FileReaderProtocol_OUT_nextChar = 1,
+ FileReaderProtocol_IN_getNextChar = 2,
+ FileReaderProtocol_MSG_MAX = 3
+};
+
+/*--------------------- port structs and methods */
+typedef etPort FileReaderProtocolPort;
+typedef etReplPort FileReaderProtocolReplPort;
+
+
+void FileReaderProtocolPort_nextChar(const FileReaderProtocolPort* self, char data);
+void FileReaderProtocolReplPort_nextChar_broadcast(const FileReaderProtocolReplPort* self, char data);
+void FileReaderProtocolReplPort_nextChar(const FileReaderProtocolReplPort* self, int idx, char data);
+
+
+etInt32 FileReaderProtocolReplPort_getReplication(const FileReaderProtocolReplPort* self);
+typedef etPort FileReaderProtocolConjPort;
+typedef etReplPort FileReaderProtocolConjReplPort;
+
+
+void FileReaderProtocolConjPort_getNextChar(const FileReaderProtocolConjPort* self);
+void FileReaderProtocolConjReplPort_getNextChar_broadcast(const FileReaderProtocolConjReplPort* self);
+void FileReaderProtocolConjReplPort_getNextChar(const FileReaderProtocolConjReplPort* self, int idx);
+
+
+etInt32 FileReaderProtocolConjReplPort_getReplication(const FileReaderProtocolConjReplPort* self);
+
+/*--------------------- debug helpers */
+
+/* get message string for message id */
+const char* FileReaderProtocol_getMessageString(int msg_id);
+
+
+#endif /* _FILEREADERPROTOCOL_H_ */
+

Back to the top