Removed unused method

parent 5a18c204
......@@ -28,7 +28,6 @@ public class DistributedTargetGenerator extends CMakeGenerator {
public DistributedTargetGenerator() {
rosMsgImpl = new RosMsgImpl("struct_msgs");
//this.add(rosMsgImpl,"rosmsg/");
}
@Override
......@@ -44,7 +43,6 @@ public class DistributedTargetGenerator extends CMakeGenerator {
Map<ExpandedComponentInstanceSymbol, GeneratorImpl> generatorMap = new HashMap<>();
fixComponentInstance(componentInstanceSymbol);
Collection<ExpandedComponentInstanceSymbol> subComps = getSubComponentInstances(componentInstanceSymbol);
List<ExpandedComponentInstanceSymbol> clusterSubcomponents = ClusterHelper.getClusterSubcomponents(componentInstanceSymbol);
if (clusterSubcomponents.size() > 0) {
......@@ -167,12 +165,6 @@ public class DistributedTargetGenerator extends CMakeGenerator {
targetRosConnection.setMsgField(sourceRosConnection.getMsgField().get());
}
private Collection<ExpandedComponentInstanceSymbol> getSubComponentInstances(ExpandedComponentInstanceSymbol componentInstanceSymbol) {
//TODO: check which subcomponents are mw only
//TODO: (build clusters?)
return componentInstanceSymbol.getSubComponents();
}
//TODO: refactor
private File generateCMake() throws IOException {
FileContent fileContent = new FileContent();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment