org.ros.android.view
Class RosImageView<T>

java.lang.Object
  extended by ImageView
      extended by org.ros.android.view.RosImageView<T>
All Implemented Interfaces:
org.ros.node.NodeListener, org.ros.node.NodeMain

public class RosImageView<T>
extends ImageView
implements org.ros.node.NodeMain

A camera node that publishes images and camera_info


Constructor Summary
RosImageView(Context context)
           
RosImageView(Context context, AttributeSet attrs)
           
RosImageView(Context context, AttributeSet attrs, int defStyle)
           
 
Method Summary
 org.ros.namespace.GraphName getDefaultNodeName()
           
 void onError(org.ros.node.Node node, java.lang.Throwable throwable)
           
 void onShutdown(org.ros.node.Node node)
           
 void onShutdownComplete(org.ros.node.Node node)
           
 void onStart(org.ros.node.ConnectedNode connectedNode)
           
 void setMessageToBitmapCallable(MessageCallable<Bitmap,T> callable)
           
 void setMessageType(java.lang.String messageType)
           
 void setTopicName(java.lang.String topicName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RosImageView

public RosImageView(Context context)

RosImageView

public RosImageView(Context context,
                    AttributeSet attrs)

RosImageView

public RosImageView(Context context,
                    AttributeSet attrs,
                    int defStyle)
Method Detail

setTopicName

public void setTopicName(java.lang.String topicName)

setMessageType

public void setMessageType(java.lang.String messageType)

setMessageToBitmapCallable

public void setMessageToBitmapCallable(MessageCallable<Bitmap,T> callable)

getDefaultNodeName

public org.ros.namespace.GraphName getDefaultNodeName()
Specified by:
getDefaultNodeName in interface org.ros.node.NodeMain

onStart

public void onStart(org.ros.node.ConnectedNode connectedNode)
Specified by:
onStart in interface org.ros.node.NodeListener

onShutdown

public void onShutdown(org.ros.node.Node node)
Specified by:
onShutdown in interface org.ros.node.NodeListener

onShutdownComplete

public void onShutdownComplete(org.ros.node.Node node)
Specified by:
onShutdownComplete in interface org.ros.node.NodeListener

onError

public void onError(org.ros.node.Node node,
                    java.lang.Throwable throwable)
Specified by:
onError in interface org.ros.node.NodeListener