BowlerKernel
|
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 () |
![]() | |
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< ByteList > | getRevisions () |
boolean | hasNamespace (String string) |
void | startHeartBeat () |
void | startHeartBeat (long msHeartBeatTime) |
void | stopHeartBeat () |
void | setThreadedUpstreamPackets (boolean up) |
ArrayList< RpcEncapsulation > | getRpcList (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< IDeviceConnectionEventListener > | getDisconnectListeners () |
Additional Inherited Members | |
![]() | |
void | fireDisconnectEvent () |
void | fireConnectEvent () |
The Class NonBowlerDevice.
Definition at line 11 of file NonBowlerDevice.java.
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
InvalidConnectionException | the 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().
|
abstract |
Connect device imp.
Reimplemented in com.neuronrobotics.sdk.addons.gamepad.BowlerJInputDevice, com.neuronrobotics.imageprovider.URLImageProvider, com.neuronrobotics.imageprovider.StaticFileProvider, com.neuronrobotics.bowlerstudio.opencv.OpenCVManager, com.neuronrobotics.bowlerkernel.djl.UniquePersonFactory, com.neuronrobotics.sdk.common.DMDevice, com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GcodeDevice, and com.neuronrobotics.sdk.addons.kinematics.AbstractKinematicsNR.
Referenced by com.neuronrobotics.sdk.common.NonBowlerDevice.connect().
void com.neuronrobotics.sdk.common.NonBowlerDevice.disconnect | ( | ) |
This method tells the connection object to disconnect its pipes and close out the connection. Once this is called, it is safe to remove your device.
Reimplemented from com.neuronrobotics.sdk.common.BowlerAbstractDevice.
Definition at line 58 of file NonBowlerDevice.java.
References com.neuronrobotics.sdk.common.NonBowlerDevice.disconnectDeviceImp(), and com.neuronrobotics.sdk.common.BowlerAbstractDevice.fireDisconnectEvent().
Referenced by com.neuronrobotics.sdk.addons.gamepad.BowlerJInputDevice.connectDeviceImp(), com.neuronrobotics.sdk.addons.kinematics.DHParameterKinematics.DHParameterKinematics(), and com.neuronrobotics.bowlerstudio.BowlerKernel.processReturnedObjects().
|
abstract |
This method tells the connection object to disconnect its pipes and close out the connection. Once this is called, it is safe to remove your device.
Reimplemented in com.neuronrobotics.sdk.addons.gamepad.BowlerJInputDevice, com.neuronrobotics.imageprovider.URLImageProvider, com.neuronrobotics.imageprovider.StaticFileProvider, com.neuronrobotics.bowlerstudio.opencv.OpenCVManager, com.neuronrobotics.bowlerkernel.djl.UniquePersonFactory, com.neuronrobotics.sdk.common.DMDevice, com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GcodeDevice, and com.neuronrobotics.sdk.addons.kinematics.AbstractKinematicsNR.
Referenced by com.neuronrobotics.sdk.common.NonBowlerDevice.disconnect().
ArrayList<String> com.neuronrobotics.sdk.common.NonBowlerDevice.getNamespaces | ( | ) |
Get all the namespaces.
Reimplemented from com.neuronrobotics.sdk.common.BowlerAbstractDevice.
Definition at line 79 of file NonBowlerDevice.java.
References com.neuronrobotics.sdk.common.NonBowlerDevice.getNamespacesImp().
|
abstract |
Gets the namespaces imp.
Reimplemented in com.neuronrobotics.sdk.addons.gamepad.BowlerJInputDevice, com.neuronrobotics.imageprovider.URLImageProvider, com.neuronrobotics.imageprovider.StaticFileProvider, com.neuronrobotics.bowlerstudio.opencv.OpenCVManager, com.neuronrobotics.bowlerkernel.djl.UniquePersonFactory, com.neuronrobotics.sdk.common.DMDevice, com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GcodeDevice, and com.neuronrobotics.sdk.addons.kinematics.AbstractKinematicsNR.
Referenced by com.neuronrobotics.sdk.common.NonBowlerDevice.getNamespaces().
boolean com.neuronrobotics.sdk.common.NonBowlerDevice.isAvailable | ( | ) | throws InvalidConnectionException |
Determines if the device is available.
InvalidConnectionException | the invalid connection exception |
Reimplemented from com.neuronrobotics.sdk.common.BowlerAbstractDevice.
Reimplemented in com.neuronrobotics.imageprovider.AbstractImageProvider, and com.neuronrobotics.sdk.common.DMDevice.
Definition at line 50 of file NonBowlerDevice.java.
Referenced by com.neuronrobotics.sdk.addons.kinematics.MobileBase.connect(), com.neuronrobotics.sdk.common.NonBowlerDevice.connect(), com.neuronrobotics.bowlerstudio.creature.MobileBaseCadManager.generateBody(), com.neuronrobotics.sdk.addons.gamepad.BowlerJInputDevice.main(), and com.neuronrobotics.bowlerstudio.creature.MobileBaseCadManager.run().
void com.neuronrobotics.sdk.common.NonBowlerDevice.onAsyncResponse | ( | BowlerDatagram | data | ) |
On async response.
data | the data |
Implements com.neuronrobotics.sdk.common.IBowlerDatagramListener.
Reimplemented in com.neuronrobotics.imageprovider.AbstractImageProvider.
Definition at line 68 of file NonBowlerDevice.java.