Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-02-23 15:00:11 +0000
committerHenrik Rentz-Reichert2012-02-23 15:00:11 +0000
commit2eef2a2c385bd5a3716cd390f7c14e6374f8cd5d (patch)
tree110a7e1d8a56674e681be17902538c65280a0a63 /runtime
parent5cbe79fbf4dc676551eecd754a0a18a6844da71c (diff)
downloadorg.eclipse.etrice-2eef2a2c385bd5a3716cd390f7c14e6374f8cd5d.tar.gz
org.eclipse.etrice-2eef2a2c385bd5a3716cd390f7c14e6374f8cd5d.tar.xz
org.eclipse.etrice-2eef2a2c385bd5a3716cd390f7c14e6374f8cd5d.zip
[generator, generator.*] implemented code translation (in general) and replicated ports for C
Diffstat (limited to 'runtime')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/etPort.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/etPort.h b/runtime/org.eclipse.etrice.runtime.c/src/etPort.h
index 3e7bd617b..ff2e1759f 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/etPort.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/etPort.h
@@ -33,6 +33,25 @@ typedef struct {
#endif
} etPort;
+typedef struct {
+ void* myActor;
+ etActorReceiveMessage receiveMessageFunc;
+ etMessageService* msgService;
+ etAddressId peerAddress;
+ etAddressId localId;
+ etAddressId index;
+
+ #ifdef etDEBUG
+ etAddressId address;
+ /* thread ID from msg service: msgService->threadId */
+ #endif
+} etReplSubPort;
+
+typedef struct {
+ etInt16 size;
+ const etReplSubPort* ports;
+} etReplPort;
+
typedef etPort* InterfaceItemBase;
void etPort_receive(const etPort* self, const etMessage* msg);

Back to the top