Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
EMAM2Middleware
Commits
de02d20c
Commit
de02d20c
authored
Aug 02, 2019
by
Jannis Joachim Tölle
Browse files
willAccept now checks for mqtt port
parent
05ae65cf
Pipeline
#167529
failed with stages
in 25 minutes and 26 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
de02d20c
...
...
@@ -19,7 +19,7 @@
<!-- .. SE-Libraries .................................................. -->
<se-commons.version>
1.7.7
</se-commons.version>
<embedded-montiarc.version>
0.1.
9
-SNAPSHOT
</embedded-montiarc.version>
<embedded-montiarc.version>
0.1.
11
-SNAPSHOT
</embedded-montiarc.version>
<Embedded-montiarc-math-generator.version>
0.1.12-SNAPSHOT
</Embedded-montiarc-math-generator.version>
<Embedded-montiarc-math-roscpp-generator.version>
0.1.6-SNAPSHOT
</Embedded-montiarc-math-roscpp-generator.version>
<EMADL2CPP.version>
0.2.8
</EMADL2CPP.version>
...
...
src/main/java/de/monticore/lang/monticar/generator/middleware/impls/MqttGenImpl.java
View file @
de02d20c
...
...
@@ -38,7 +38,7 @@ public class MqttGenImpl implements GeneratorImpl {
@Override
public
boolean
willAccept
(
EMAComponentInstanceSymbol
componentInstanceSymbol
)
{
boolean
result
=
componentInstanceSymbol
.
getPortInstanceList
().
stream
().
anyMatch
(
EMAPortInstanceSymbol:
:
is
Ros
Port
);
// Should be adapted to Mqtt !!!
boolean
result
=
componentInstanceSymbol
.
getPortInstanceList
().
stream
().
anyMatch
(
EMAPortInstanceSymbol:
:
is
Mqtt
Port
);
if
(!
result
){
Log
.
warn
(
"GeneratorMqttCpp: No MQTT Ports found! Ignoring component "
+
componentInstanceSymbol
.
getName
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment