Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Belle2017-08-24 08:41:36 +0000
committerJan Belle2017-08-24 08:41:36 +0000
commitb8b2a3a244635c2528167699a30a82cdc0ef4890 (patch)
tree2232c8803b843f667791c24e1c217ce7ff6e40a7 /runtime
parentc46d3a1a1b6d03bfa5f6cb17e0f5e7e3955e0085 (diff)
downloadorg.eclipse.etrice-b8b2a3a244635c2528167699a30a82cdc0ef4890.tar.gz
org.eclipse.etrice-b8b2a3a244635c2528167699a30a82cdc0ef4890.tar.xz
org.eclipse.etrice-b8b2a3a244635c2528167699a30a82cdc0ef4890.zip
Bug 521350 - [runtime.java] The method start of actor classes is not
Diffstat (limited to 'runtime')
-rw-r--r--runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/SubSystemClassBase.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/SubSystemClassBase.java b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/SubSystemClassBase.java
index ddbd9f66a..428036964 100644
--- a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/SubSystemClassBase.java
+++ b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/SubSystemClassBase.java
@@ -83,12 +83,17 @@ public abstract class SubSystemClassBase extends RTObject implements IEventRecei
public void start() {
- // start all actors instances
+ // execute initial transition of all actor instances
RTSystemPort.executeInitialTransition();
// start all message services
RTServices.getInstance().getMsgSvcCtrl().start();
+ // start all actors
+ for(IRTObject child : getChildren()) {
+ if(child instanceof ActorClassBase)
+ ((ActorClassBase) child).start();
+ }
}
public void stop() {

Back to the top