Public Member Functions | |
GraphName | getDefaultNodeName () |
T | getLastMessage () |
ListenerNode (String topic, String type) | |
void | onStart (ConnectedNode connectedNode) |
void | setMessageToStringCallable (MessageCallable< String, T > callable) |
void | setMessageType (String messageType) |
void | setTopicName (String topicName) |
void | waitForResponse () throws RosException |
Private Attributes | |
MessageCallable< String, T > | callable |
T | lastMessage |
String | messageType |
String | topicName |
Created by jorge on 10/30/13.
Definition at line 16 of file ListenerNode.java.
com.github.rosjava.android_remocons.common_tools.ListenerNode< T >.ListenerNode | ( | String | topic, |
String | type | ||
) | [inline] |
Definition at line 23 of file ListenerNode.java.
GraphName com.github.rosjava.android_remocons.common_tools.ListenerNode< T >.getDefaultNodeName | ( | ) | [inline] |
Definition at line 50 of file ListenerNode.java.
T com.github.rosjava.android_remocons.common_tools.ListenerNode< T >.getLastMessage | ( | ) | [inline] |
Definition at line 29 of file ListenerNode.java.
void com.github.rosjava.android_remocons.common_tools.ListenerNode< T >.onStart | ( | ConnectedNode | connectedNode | ) | [inline] |
Definition at line 55 of file ListenerNode.java.
void com.github.rosjava.android_remocons.common_tools.ListenerNode< T >.setMessageToStringCallable | ( | MessageCallable< String, T > | callable | ) | [inline] |
Definition at line 44 of file ListenerNode.java.
void com.github.rosjava.android_remocons.common_tools.ListenerNode< T >.setMessageType | ( | String | messageType | ) | [inline] |
Definition at line 39 of file ListenerNode.java.
void com.github.rosjava.android_remocons.common_tools.ListenerNode< T >.setTopicName | ( | String | topicName | ) | [inline] |
Definition at line 34 of file ListenerNode.java.
void com.github.rosjava.android_remocons.common_tools.ListenerNode< T >.waitForResponse | ( | ) | throws RosException [inline] |
Utility function to block until subscriber receives the first message.
org.ros.exception.RosException | : when it times out waiting for the service. |
Definition at line 73 of file ListenerNode.java.
MessageCallable<String, T> com.github.rosjava.android_remocons.common_tools.ListenerNode< T >.callable [private] |
Definition at line 21 of file ListenerNode.java.
T com.github.rosjava.android_remocons.common_tools.ListenerNode< T >.lastMessage [private] |
Definition at line 20 of file ListenerNode.java.
String com.github.rosjava.android_remocons.common_tools.ListenerNode< T >.messageType [private] |
Definition at line 19 of file ListenerNode.java.
String com.github.rosjava.android_remocons.common_tools.ListenerNode< T >.topicName [private] |
Definition at line 18 of file ListenerNode.java.