BowlerKernel
Public Member Functions | List of all members
com.neuronrobotics.sdk.common.NonBowlerDevice Class Referenceabstract
Inheritance diagram for com.neuronrobotics.sdk.common.NonBowlerDevice:
Inheritance graph
[legend]
Collaboration diagram for com.neuronrobotics.sdk.common.NonBowlerDevice:
Collaboration graph
[legend]

Public Member Functions

abstract void disconnectDeviceImp ()
 
abstract boolean connectDeviceImp ()
 
abstract ArrayList< String > getNamespacesImp ()
 
boolean connect ()
 
boolean isAvailable () throws InvalidConnectionException
 
void disconnect ()
 
void onAsyncResponse (BowlerDatagram data)
 
ArrayList< String > getNamespaces ()
 
- Public Member Functions inherited from com.neuronrobotics.sdk.common.BowlerAbstractDevice
void addConnectionEventListener (final IDeviceConnectionEventListener l)
 
void removeConnectionEventListener (IDeviceConnectionEventListener l)
 
void setConnection (BowlerAbstractConnection connection)
 
BowlerAbstractConnection getConnection ()
 
void setAddress (MACAddress address)
 
MACAddress getAddress ()
 
BowlerDatagram send (BowlerAbstractCommand command) throws NoConnectionAvailableException, InvalidResponseException
 
BowlerDatagram send (BowlerAbstractCommand command, int retry) throws NoConnectionAvailableException, InvalidResponseException
 
Object[] send (String namespace, BowlerMethod method, String rpcString, Object[] arguments, int retry) throws DeviceConnectionException
 
Object[] send (String namespace, BowlerMethod method, String rpcString, Object[] arguments) throws DeviceConnectionException
 
boolean ping ()
 
boolean ping (boolean switchParser)
 
ArrayList< ByteListgetRevisions ()
 
boolean hasNamespace (String string)
 
void startHeartBeat ()
 
void startHeartBeat (long msHeartBeatTime)
 
void stopHeartBeat ()
 
void setThreadedUpstreamPackets (boolean up)
 
ArrayList< RpcEncapsulationgetRpcList (String namespace)
 
void loadRpcList ()
 
void onAllResponse (BowlerDatagram data)
 
boolean isKeepAlive ()
 
void setKeepAlive (boolean keepAlive)
 
long getLastPacketTime ()
 
void setLastPacketTime (long lastPacketTime)
 
String getScriptingName ()
 
void setScriptingName (String scriptingName)
 
ArrayList< IDeviceConnectionEventListenergetDisconnectListeners ()
 

Additional Inherited Members

- Protected Member Functions inherited from com.neuronrobotics.sdk.common.BowlerAbstractDevice
void fireDisconnectEvent ()
 
void fireConnectEvent ()
 

Detailed Description

The Class NonBowlerDevice.

Definition at line 11 of file NonBowlerDevice.java.

Member Function Documentation

◆ connect()

boolean com.neuronrobotics.sdk.common.NonBowlerDevice.connect ( )

This method tells the connection object to start and connects the up and down streams pipes. Once this method is called and returns without exception, the device is ready to communicate with

Returns
true, if successful
Exceptions
InvalidConnectionExceptionthe invalid connection exception

Reimplemented from com.neuronrobotics.sdk.common.BowlerAbstractDevice.

Reimplemented in com.neuronrobotics.imageprovider.AbstractImageProvider, and com.neuronrobotics.sdk.addons.kinematics.MobileBase.

Definition at line 37 of file NonBowlerDevice.java.

References com.neuronrobotics.sdk.common.NonBowlerDevice.connectDeviceImp(), com.neuronrobotics.sdk.common.BowlerAbstractDevice.fireConnectEvent(), and com.neuronrobotics.sdk.common.NonBowlerDevice.isAvailable().

Referenced by com.neuronrobotics.sdk.addons.gamepad.BowlerJInputDevice.main(), and com.neuronrobotics.bowlerstudio.opencv.OpenCVManager.OpenCVManager().

Here is the call graph for this function:

◆ connectDeviceImp()

abstract boolean com.neuronrobotics.sdk.common.NonBowlerDevice.connectDeviceImp ( )
abstract

◆ disconnect()

void com.neuronrobotics.sdk.common.NonBowlerDevice.disconnect ( )

◆ disconnectDeviceImp()

abstract void com.neuronrobotics.sdk.common.NonBowlerDevice.disconnectDeviceImp ( )
abstract

◆ getNamespaces()

ArrayList<String> com.neuronrobotics.sdk.common.NonBowlerDevice.getNamespaces ( )

Get all the namespaces.

Returns
the namespaces

Reimplemented from com.neuronrobotics.sdk.common.BowlerAbstractDevice.

Definition at line 79 of file NonBowlerDevice.java.

References com.neuronrobotics.sdk.common.NonBowlerDevice.getNamespacesImp().

Here is the call graph for this function:

◆ getNamespacesImp()

abstract ArrayList<String> com.neuronrobotics.sdk.common.NonBowlerDevice.getNamespacesImp ( )
abstract

◆ isAvailable()

boolean com.neuronrobotics.sdk.common.NonBowlerDevice.isAvailable ( ) throws InvalidConnectionException

◆ onAsyncResponse()

void com.neuronrobotics.sdk.common.NonBowlerDevice.onAsyncResponse ( BowlerDatagram  data)

On async response.

Parameters
datathe data

Implements com.neuronrobotics.sdk.common.IBowlerDatagramListener.

Reimplemented in com.neuronrobotics.imageprovider.AbstractImageProvider.

Definition at line 68 of file NonBowlerDevice.java.


The documentation for this class was generated from the following file: