GitLab update scheduled for Friday, January 21th between 08:15 and 08:45 CET. If unpleasant, please contact René or Martin.

mqtt.tt 842 Bytes
Newer Older
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
Ros2Rag.mqtt [[
aspect MQTT {
  private MqttUpdater $rootNodeName.#(mqttUpdaterField) = new MqttUpdater();
  public void $rootNodeName.#(mqttSetHostMethod)(String host) throws java.io.IOException {
    #(mqttUpdaterField).setHost(host);
  }
  public void $rootNodeName.#(mqttSetHostMethod)(String host, int port) throws java.io.IOException {
    #(mqttUpdaterField).setHost(host, port);
  }

  public boolean $rootNodeName.#(mqttWaitUntilReadyMethod)(long time, java.util.concurrent.TimeUnit unit) {
    return #(mqttUpdaterField).waitUntilReady(time, unit);
  }

  public void $rootNodeName.#(mqttCloseMethod)() {
    #(mqttUpdaterField).close();
  }

  inh MqttUpdater ASTNode.#(mqttUpdaterAttribute)();
  $RootTypeChildrenMqtt
}
]]

TypeComponent.mqtt [[
  eq $rootNodeName.get$(Name)().#(mqttUpdaterAttribute)() = #(mqttUpdaterField);
]]