Skip to content

Commit

Permalink
A class for the interface for communication.
Browse files Browse the repository at this point in the history
  • Loading branch information
iridin committed Jun 16, 2015
1 parent fc191e2 commit 20ebee9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions jdeeco-ros/src/cz/cuni/mff/d3s/jdeeco/ros/Communication.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package cz.cuni.mff.d3s.jdeeco.ros;

import org.ros.node.ConnectedNode;

public class Communication extends TopicSubscriber {

private static Communication INSTANCE;

private Communication(){}

public static Communication getInstance(){
if(INSTANCE == null){
INSTANCE = new Communication();
}
return INSTANCE;
}

@Override
void subscribe(ConnectedNode connectedNode) {
// TODO Auto-generated method stub

}

}

0 comments on commit 20ebee9

Please sign in to comment.