blob: ad0e5aa4257a3e29349eea892ab451382f9105f7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package org.eclipse.etrice.examples.dynamicactors5;
import org.eclipse.etrice.runtime.java.debugging.DebuggingService;
import org.eclipse.etrice.runtime.java.modelbase.IEventReceiver;
import org.eclipse.etrice.runtime.java.modelbase.InterfaceItemBroker;
import org.eclipse.etrice.runtime.java.modelbase.ReplicatedOptionalActorInterfaceBase;
class OptionalReplicatedInterface extends ReplicatedOptionalActorInterfaceBase {
//--------------------- brokers for ports on the interface
protected InterfaceItemBroker p0 = null;
//--------------------- interface item IDs
public static final int IFITEM_p0 = 1;
//--------------------- construction
public OptionalReplicatedInterface (IEventReceiver parent, String name) {
super(parent, name, "Optional");
p0 = new InterfaceItemBroker(this, "p0", IFITEM_p0);
}
@Override
protected void logCreation(String actorClass, String name) {
DebuggingService.getInstance().addMessageActorCreate(this, actorClass, name);
}
@Override
protected void logDeletion(String name) {
DebuggingService.getInstance().addMessageActorDestroy(this, name);
}
}
|