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
EMAM2Cpp
Commits
2791387e
Commit
2791387e
authored
Jan 07, 2020
by
Ahmed
Browse files
add isCVMathCommand function to MathCommand
parent
326f3df8
Changes
8
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/generator/MathCommand.java
View file @
2791387e
...
...
@@ -66,4 +66,7 @@ public abstract class MathCommand {
return
false
;
}
public
boolean
isCVMathCommand
(){
return
false
;
}
}
src/main/java/de/monticore/lang/monticar/generator/cpp/commands/CvtColorCommand.java
View file @
2791387e
...
...
@@ -34,6 +34,11 @@ public class CvtColorCommand extends ArgumentReturnMathCommand{
}
}
@Override
public
boolean
isCVMathCommand
(){
return
true
;
}
public
void
convertUsingOctaveBackend
(
MathExpressionSymbol
mathExpressionSymbol
,
BluePrint
bluePrint
)
{
Log
.
error
(
"No implementation for Octave Backend"
);
}
...
...
src/main/java/de/monticore/lang/monticar/generator/cpp/commands/DilateCommand.java
View file @
2791387e
...
...
@@ -33,6 +33,11 @@ public class DilateCommand extends ArgumentReturnMathCommand{
}
}
@Override
public
boolean
isCVMathCommand
(){
return
true
;
}
public
void
convertUsingOctaveBackend
(
MathExpressionSymbol
mathExpressionSymbol
,
BluePrint
bluePrint
)
{
Log
.
error
(
"No implementation for Octave Backend"
);
}
...
...
src/main/java/de/monticore/lang/monticar/generator/cpp/commands/ErodeCommand.java
View file @
2791387e
...
...
@@ -33,6 +33,11 @@ public class ErodeCommand extends ArgumentReturnMathCommand{
}
}
@Override
public
boolean
isCVMathCommand
(){
return
true
;
}
public
void
convertUsingOctaveBackend
(
MathExpressionSymbol
mathExpressionSymbol
,
BluePrint
bluePrint
)
{
Log
.
error
(
"No implementation for Octave Backend"
);
}
...
...
@@ -97,4 +102,6 @@ public class ErodeCommand extends ArgumentReturnMathCommand{
}
};
}
}
src/main/java/de/monticore/lang/monticar/generator/cpp/commands/FindContoursCommand.java
View file @
2791387e
...
...
@@ -34,6 +34,11 @@ public class FindContoursCommand extends ArgumentReturnMathCommand{
}
}
@Override
public
boolean
isCVMathCommand
(){
return
true
;
}
public
void
convertUsingOctaveBackend
(
MathExpressionSymbol
mathExpressionSymbol
,
BluePrint
bluePrint
)
{
Log
.
error
(
"No implementation for Octave Backend"
);
}
...
...
src/main/java/de/monticore/lang/monticar/generator/cpp/commands/GaussianBlurCommand.java
View file @
2791387e
...
...
@@ -34,6 +34,11 @@ public class GaussianBlurCommand extends ArgumentReturnMathCommand{
}
}
@Override
public
boolean
isCVMathCommand
(){
return
true
;
}
public
void
convertUsingOctaveBackend
(
MathExpressionSymbol
mathExpressionSymbol
,
BluePrint
bluePrint
)
{
Log
.
error
(
"No implementation for Octave Backend"
);
}
...
...
src/main/java/de/monticore/lang/monticar/generator/cpp/commands/InRangeCommand.java
View file @
2791387e
...
...
@@ -33,6 +33,11 @@ public class InRangeCommand extends ArgumentReturnMathCommand{
}
}
@Override
public
boolean
isCVMathCommand
(){
return
true
;
}
public
void
convertUsingOctaveBackend
(
MathExpressionSymbol
mathExpressionSymbol
,
BluePrint
bluePrint
)
{
Log
.
error
(
"No implementation for Octave Backend"
);
}
...
...
src/main/java/de/monticore/lang/monticar/generator/cpp/commands/ThresholdCommand.java
View file @
2791387e
...
...
@@ -34,6 +34,11 @@ public class ThresholdCommand extends MathCommand{
}
}
@Override
public
boolean
isCVMathCommand
(){
return
true
;
}
public
void
convertUsingOctaveBackend
(
MathExpressionSymbol
mathExpressionSymbol
,
BluePrint
bluePrint
)
{
Log
.
error
(
"No implementation for Octave Backend"
);
}
...
...
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