Class JRosClientSubscriber<T extends id.jrosmessages.Message>
java.lang.Object
edu.tufts.hrilab.ros2.ros2jrosclient.JRosClientSubscriber<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
Ros2Subscriber<T>
public class JRosClientSubscriber<T extends id.jrosmessages.Message>
extends Object
implements Ros2Subscriber<T>
Wrapper on JROSClient's TopicSubscriber. Both for convenience and interactions with
the BaseNode class. May eventually be extracted to an interface for different ros2 java
implementations.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.slf4j.Logger
id.jrosclient.TopicSubscriber<T>
-
Constructor Summary
ConstructorsConstructorDescriptionJRosClientSubscriber
(Class<T> messageType, String topic, SubscriberCallback<T> callback) -
Method Summary
-
Field Details
-
log
protected static org.slf4j.Logger log -
subscriber
-
-
Constructor Details
-
JRosClientSubscriber
-