diff options
Diffstat (limited to 'examples/org.eclipse.etrice.tutorials/src-gen/PingPong/PingPongTop.java')
-rw-r--r-- | examples/org.eclipse.etrice.tutorials/src-gen/PingPong/PingPongTop.java | 132 |
1 files changed, 66 insertions, 66 deletions
diff --git a/examples/org.eclipse.etrice.tutorials/src-gen/PingPong/PingPongTop.java b/examples/org.eclipse.etrice.tutorials/src-gen/PingPong/PingPongTop.java index 58653cc27..d1a7ff9d7 100644 --- a/examples/org.eclipse.etrice.tutorials/src-gen/PingPong/PingPongTop.java +++ b/examples/org.eclipse.etrice.tutorials/src-gen/PingPong/PingPongTop.java @@ -1,66 +1,66 @@ -package PingPong; - -import org.eclipse.etrice.runtime.java.messaging.Address; -import org.eclipse.etrice.runtime.java.messaging.IRTObject; -import org.eclipse.etrice.runtime.java.messaging.IMessageReceiver; -import org.eclipse.etrice.runtime.java.modelbase.ActorClassBase; -import org.eclipse.etrice.runtime.java.modelbase.SubSystemClassBase; -import org.eclipse.etrice.runtime.java.modelbase.InterfaceItemBase; -import org.eclipse.etrice.runtime.java.debugging.DebuggingService; - - - - - -public class PingPongTop extends ActorClassBase { - - - //--------------------- ports - //--------------------- saps - //--------------------- services - - //--------------------- interface item IDs - - //--------------------- attributes - //--------------------- operations - - //--------------------- construction - public PingPongTop(IRTObject parent, String name, Address[][] port_addr, Address[][] peer_addr){ - super(parent, name, port_addr[0][0], peer_addr[0][0]); - setClassName("PingPongTop"); - - // initialize attributes - - // own ports - // own saps - // own service implementations - } - - - //--------------------- lifecycle functions - public void init(){ - initUser(); - } - - public void start(){ - startUser(); - } - - public void stop(){ - stopUser(); - } - - public void destroy(){ - destroyUser(); - } - - //--------------------- no state machine - @Override - public void receiveEvent(InterfaceItemBase ifitem, int evt, Object data) { - handleSystemEvent(ifitem, evt, data); - } - - @Override - public void executeInitTransition(){ - } -}; +package PingPong;
+
+import org.eclipse.etrice.runtime.java.messaging.Address;
+import org.eclipse.etrice.runtime.java.messaging.IRTObject;
+import org.eclipse.etrice.runtime.java.messaging.IMessageReceiver;
+import org.eclipse.etrice.runtime.java.modelbase.ActorClassBase;
+import org.eclipse.etrice.runtime.java.modelbase.SubSystemClassBase;
+import org.eclipse.etrice.runtime.java.modelbase.InterfaceItemBase;
+import org.eclipse.etrice.runtime.java.debugging.DebuggingService;
+
+
+
+
+
+public class PingPongTop extends ActorClassBase {
+
+
+ //--------------------- ports
+ //--------------------- saps
+ //--------------------- services
+
+ //--------------------- interface item IDs
+
+ //--------------------- attributes
+ //--------------------- operations
+
+ //--------------------- construction
+ public PingPongTop(IRTObject parent, String name, Address[][] port_addr, Address[][] peer_addr){
+ super(parent, name, port_addr[0][0], peer_addr[0][0]);
+ setClassName("PingPongTop");
+
+ // initialize attributes
+
+ // own ports
+ // own saps
+ // own service implementations
+ }
+
+
+ //--------------------- lifecycle functions
+ public void init(){
+ initUser();
+ }
+
+ public void start(){
+ startUser();
+ }
+
+ public void stop(){
+ stopUser();
+ }
+
+ public void destroy(){
+ destroyUser();
+ }
+
+ //--------------------- no state machine
+ @Override
+ public void receiveEvent(InterfaceItemBase ifitem, int evt, Object data) {
+ handleSystemEvent(ifitem, evt, data);
+ }
+
+ @Override
+ public void executeInitTransition(){
+ }
+};
|