org.ros.android.view
Class RosCameraPreviewView

java.lang.Object
  extended by ViewGroup
      extended by org.ros.android.view.CameraPreviewView
          extended by org.ros.android.view.RosCameraPreviewView
All Implemented Interfaces:
org.ros.node.NodeListener, org.ros.node.NodeMain

public class RosCameraPreviewView
extends CameraPreviewView
implements org.ros.node.NodeMain


Constructor Summary
RosCameraPreviewView(Context context)
           
RosCameraPreviewView(Context context, AttributeSet attrs)
           
RosCameraPreviewView(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)
           
 
Methods inherited from class org.ros.android.view.CameraPreviewView
onLayout, releaseCamera, setCamera, setPreviewCallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RosCameraPreviewView

public RosCameraPreviewView(Context context)

RosCameraPreviewView

public RosCameraPreviewView(Context context,
                            AttributeSet attrs)

RosCameraPreviewView

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

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