A B C D G I L M N P Q R S T W

A

AbstractDevice - class cork.device.AbstractDevice.
All devices should use this base class.
AbstractDevice() - Constructor for class cork.device.AbstractDevice
Constructor for the AbstractDevice object
AbstractI2CDevice - class cork.net.i2c.AbstractI2CDevice.
All I2C capable devices should use this base class for communitcating with the I2C bus.
AbstractI2CDevice(int) - Constructor for class cork.net.i2c.AbstractI2CDevice
Constructor for the AbstractDevice object
AbstractLineDriver - class cork.net.i2c.AbstractLineDriver.
Description of the Class
AbstractLineDriver() - Constructor for class cork.net.i2c.AbstractLineDriver
Constructor for the AbstractLineDriver object
add(DataEventListener) - Method in class cork.event.ThreadedDataEventMulticaster
 
add(DeviceEventListener) - Static method in class cork.event.DeviceEventMulticaster
Description of the Method
add(InterruptEventListener) - Method in class cork.event.ThreadedInterruptEventMulticaster
Description of the Method
add(Object) - Method in interface cork.util.Queue
Adds and object to the queue.
add(Object) - Method in class cork.util.BlockingQueue
Adds and object to the queue.
addEventListener(DeviceEventListener) - Method in class cork.device.AbstractDevice
This is a convenience method to allow a listener to add itself to the event queue in order to be notified of an event.
addListener(DeviceEventListener) - Method in class cork.module.sharp.GP2D15
Adds a listener to the GP2D15 object.
addMotorPair(Motor, Motor) - Method in class cork.device.control.PolynomicDrive
Adds another motor.
addResouceDevice(Device) - Method in interface cork.device.DeviceContainer
Adds another device to this so that device so that this device can use it's resources.
addResouceDevice(Device) - Method in class cork.module.devantech.SRF04
Adds another device to this so that device so that this device can use it's resources.
ADDRESS_56 - Static variable in class cork.module.ti.PCF8574
Description of the Field
ADDRESS_57 - Static variable in class cork.module.ti.PCF8574
Description of the Field
ADDRESS_58 - Static variable in class cork.module.ti.PCF8574
Description of the Field
ADDRESS_59 - Static variable in class cork.module.ti.PCF8574
Description of the Field
ADDRESS_60 - Static variable in class cork.module.ti.PCF8574
Description of the Field
ADDRESS_61 - Static variable in class cork.module.ti.PCF8574
Description of the Field
ADDRESS_62 - Static variable in class cork.module.ti.PCF8574
Description of the Field
ADDRESS_63 - Static variable in class cork.module.ti.PCF8574
Description of the Field
ADDRESS_E0 - Static variable in class cork.module.devantech.SRF08
This is the DEFAULT SHIPPING ADDRESS.
ADDRESS_E2 - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_E4 - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_E6 - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_E8 - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_EA - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_EC - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_EE - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_F0 - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_F2 - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_F4 - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_F6 - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_F8 - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_FA - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_FC - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_FE - Static variable in class cork.module.devantech.SRF08
Possible address for the SRF08
ADDRESS_GENERAL_BROADCAST - Static variable in class cork.module.devantech.SRF08
General broadcast address for all SRF08's on the bus.
AIR_TEMPERATURE_CELSIUS_0 - Static variable in class cork.module.devantech.SRF04
The 0 degrees celsius (C) for speed-of-sound calculations: 0C Water freezes at 0C.
AIR_TEMPERATURE_CELSIUS_100 - Static variable in class cork.module.devantech.SRF04
The 100 degrees celsius (C) for speed-of-sound calculations: 0C Water boils at 0C (at sea level).
assertEvent(boolean) - Method in class cork.module.sharp.GP2D15
Used internally to signal a device event when the sensors logic leve changes.
assertEvent(boolean) - Method in class cork.net.i2c.I2CLineDriver
Line change even listener.

B

BlockingQueue - class cork.util.BlockingQueue.
A simple thread-safe blocking FIFO queue.
calls to next(), peek(), skip() will block until there are one or more.
BlockingQueue() - Constructor for class cork.util.BlockingQueue
BlockingQueue constructor comment.

C

capture() - Method in class cork.net.i2c.AbstractI2CDevice
Captures the BusMaster for exclusive access by a specific device.
capture(I2CDevice) - Method in interface cork.net.i2c.I2CBusMaster
Captures the BusMaster for exclusive access by a specific device.
capture(I2CDevice) - Method in class cork.net.i2c.AbstractLineDriver
Captures the line driver for exclusive access by a specific device.
capturePin(Device, GpioPin) - Static method in class cork.util.CorkRuntime
Captures a GPIO pin for use by a particular class.
clear() - Method in interface cork.util.Queue
Clears the queue of all object it is holding.
clear() - Method in class cork.util.BlockingQueue
Clears the queue of all object it is holding.
CMPS03 - class cork.module.devantech.CMPS03.
Driver for controlling a Devantech CMPS03 compass module.
CMPS03() - Constructor for class cork.module.devantech.CMPS03
Constructor for the CMPS03 object
COMMAND_ANN_IN_CENTIMETERS - Static variable in class cork.module.devantech.SRF08
Possible range units for the SRF08
COMMAND_ANN_IN_INCHES - Static variable in class cork.module.devantech.SRF08
Possible range units for the SRF08
COMMAND_ANN_IN_MICROSECONDS - Static variable in class cork.module.devantech.SRF08
Possible range units for the SRF08
COMMAND_RANGE_IN_CENTIMETERS - Static variable in class cork.module.devantech.SRF08
Possible range units for the SRF08
COMMAND_RANGE_IN_INCHES - Static variable in class cork.module.devantech.SRF08
Possible range units for the SRF08
COMMAND_RANGE_IN_MICROSECONDS - Static variable in class cork.module.devantech.SRF08
Possible range units for the SRF08
ContinuousRotationServo - class cork.device.control.ContinuousRotationServo.
Driver for Continuous Rotation Servos.
ContinuousRotationServo(GpioPin) - Constructor for class cork.device.control.ContinuousRotationServo
Constructor for the ContinuousRotationServo object
cork.device - package cork.device
 
cork.device.control - package cork.device.control
 
cork.event - package cork.event
 
cork.module.devantech - package cork.module.devantech
 
cork.module.sharp - package cork.module.sharp
 
cork.module.ti - package cork.module.ti
 
cork.net.i2c - package cork.net.i2c
 
cork.util - package cork.util
 
CorkRuntime - class cork.util.CorkRuntime.
Runtime methods for use by the entire Cork library.

D

dataEvent(int) - Method in class cork.event.ThreadedDataEventMulticaster
 
DEFAULT_AIR_TEMPERATURE_CELSIUS - Static variable in class cork.module.devantech.SRF04
The default air temperature in celsius (C) for speed-of-sound calculations: 25C
DEFAULT_BUS_TIMEOUT - Static variable in class cork.net.i2c.I2CBusMasterFactory
The defualt bus timeout value is: 500 millis.
DEFAULT_INTERRUPT_PIN_ID - Static variable in class cork.net.i2c.I2CBusMasterFactory
The defualt INT (interrupt) pin is InterruptController.GPIOA_BIT0_INTERRUPT
DEFAULT_SCL_PIN_ID - Static variable in class cork.net.i2c.I2CBusMasterFactory
The defualt SCL pin is GpioPin.GPIOB_BIT4
DEFAULT_SDA_PIN_ID - Static variable in class cork.net.i2c.I2CBusMasterFactory
The defualt SDA pin is GpioPin.GPIOB_BIT5
destroy() - Method in class cork.device.control.ContinuousRotationServo
Destroyes this object.
destroy() - Method in class cork.device.control.MillisecondPWM
called to destroy the object and release it's pin.
destroy() - Method in class cork.event.DeviceEventMulticaster
Description of the Method
destroy() - Method in class cork.event.ThreadedDataEventMulticaster
 
destroy() - Method in class cork.event.ThreadedInterruptEventMulticaster
Description of the Method
destroy() - Method in class cork.net.i2c.AbstractI2CDevice
Provides notification that bus is about to be destroyed.
Device - interface cork.device.Device.
All devices should implement this interface.
DeviceContainer - interface cork.device.DeviceContainer.
All devices that can contain other devices should implement this interface.
DeviceEvent - class cork.event.DeviceEvent.
An even generated by a device.
DeviceEvent(Device) - Constructor for class cork.event.DeviceEvent
Constructor for the DeviceEvent object
deviceEvent(DeviceEvent) - Method in interface cork.event.DeviceEventListener
Description of the Method
DeviceEvent(Device, int) - Constructor for class cork.event.DeviceEvent
Constructor for the DeviceEvent object
DeviceEvent(Device, int, String) - Constructor for class cork.event.DeviceEvent
Constructor for the DeviceEvent object
DeviceEvent(Device, String) - Constructor for class cork.event.DeviceEvent
Constructor for the DeviceEvent object
DeviceEventListener - interface cork.event.DeviceEventListener.
Implemented by classes that wish to recive events from a device.
DeviceEventMulticaster - class cork.event.DeviceEventMulticaster.
Description of the Class
DeviceException - exception cork.device.DeviceException.
The abstract class is the basis for all device specific exception classes.
DeviceException() - Constructor for class cork.device.DeviceException
Constructs an Exception with no specified detail message.
DeviceException(String) - Constructor for class cork.device.DeviceException
Constructs an Exception with the specified detail message.
DeviceManager - interface cork.device.DeviceManager.
All device manager must extend this interface.
DIRECTION_FORWARD - Static variable in interface cork.device.Motor
Direction identifier for "forward".
DIRECTION_REVERSE - Static variable in interface cork.device.Motor
Direction identifier for "reverse".

G

getAirTemperature() - Method in class cork.module.devantech.SRF04
The speed of sound in air are is effected by many variables, among them is the temperature of the air.
getBearingByte() - Method in class cork.module.devantech.CMPS03
Gets the bearing of the compass as a value between 0-255.
getBearingDegrees() - Method in class cork.module.devantech.CMPS03
Gets the bearing of the compass in degrees.
getBits(boolean[]) - Method in class cork.module.ti.PCF8574
Gets the bits of the PCF8574 object.
getBusMaster() - Method in class cork.net.i2c.AbstractI2CDevice
Gets the bus master this device is using.
getBusMaster() - Method in interface cork.net.i2c.I2CDevice
Gets the bus master this device is using.
getBusMasterInstance(int) - Static method in class cork.net.i2c.I2CBusMasterFactory
Returns a singleton instance of the bus master for all devices.
getByte() - Method in class cork.module.ti.PCF8574
Gets the bits of the PCF8574 object.
getCode() - Method in class cork.event.DeviceEvent
Gets the code attribute of the DeviceEvent object
getDebugMode() - Static method in class cork.util.CorkRuntime
Checks to see if the system is in debug mode.
getDevice() - Method in class cork.event.DeviceEvent
Gets the device attribute of the DeviceEvent object
getDeviceAddress() - Method in class cork.net.i2c.AbstractI2CDevice
Gets the I2C device address for this device.
getDeviceAddress() - Method in interface cork.net.i2c.I2CDevice
Gets the I2C device address for this device.
getDeviceDestription() - Method in interface cork.device.Device
Gets the destription attribute of the Device object
getDeviceDestription() - Method in class cork.device.control.ContinuousRotationServo
Gets the destription attribute of the Device object
getDeviceDestription() - Method in class cork.device.control.PolynomicDrive
Gets the destription attribute of the Device object
getDeviceDestription() - Method in class cork.device.control.MillisecondPWM
Gets the destription attribute of the Device object
getDeviceDestription() - Method in class cork.module.devantech.SRF08
Gets the destription attribute of the Device object
getDeviceDestription() - Method in class cork.module.devantech.CMPS03
Gets the deviceDestription attribute of the CMPS03 object
getDeviceDestription() - Method in class cork.module.devantech.SRF04
Gets the destription attribute of the Device object
getDeviceDestription() - Method in class cork.module.sharp.GP2D15
Gets the destription attribute of the Device object
getDeviceDestription() - Method in class cork.module.ti.PCF8574
Gets the deviceDestription attribute of the CMPS03 object
getDeviceDestription() - Method in class cork.net.i2c.I2CLineDriver
Gets the destription attribute of the Device object
getDeviceDestription() - Method in class cork.net.i2c.I2CBusMasterFactory
Gets the destription attribute of the Device object
getDeviceName() - Method in interface cork.device.Device
Gets the title attribute of the Device object
getDeviceName() - Method in class cork.device.control.ContinuousRotationServo
Gets the title attribute of the Device object
getDeviceName() - Method in class cork.device.control.PolynomicDrive
Gets the title attribute of the Device object
getDeviceName() - Method in class cork.device.control.MillisecondPWM
Gets the title attribute of the Device object
getDeviceName() - Method in class cork.module.devantech.SRF08
Gets the name attribute of the Device object
getDeviceName() - Method in class cork.module.devantech.CMPS03
Gets the deviceName attribute of the CMPS03 object
getDeviceName() - Method in class cork.module.devantech.SRF04
Gets the title attribute of the Device object
getDeviceName() - Method in class cork.module.sharp.GP2D15
Gets the title attribute of the Device object
getDeviceName() - Method in class cork.module.ti.PCF8574
Gets the deviceName attribute of the CMPS03 object
getDeviceName() - Method in class cork.net.i2c.I2CLineDriver
Gets the title attribute of the Device object
getDeviceName() - Method in class cork.net.i2c.I2CBusMasterFactory
Gets the title attribute of the Device object
getDirection() - Method in interface cork.device.Motor
Returns the direction attribute.
getDirection() - Method in class cork.device.control.ContinuousRotationServo
Get the direction the servo will rotate in.
getDirection() - Method in class cork.device.control.PolynomicDrive
Returns the direction attribute of the entire drive system.
getDirection(int) - Method in class cork.device.control.PolynomicDrive
Returns the direction attribute of the specified pair index.
getEchoTimeInMicroseconds() - Method in class cork.module.devantech.SRF04
Gets the round-trip echo time in microseconds attribute of the SRF04 object
getHighPulseWidth() - Method in class cork.device.control.MillisecondPWM
Gets the high pulse width attribute in milliseconds.
getI2CDevice() - Method in class cork.module.devantech.SRF08
This must be implemented by all I2C devices, and must return it's own instance.
getI2CDevice() - Method in class cork.module.devantech.CMPS03
Gets the i2CDevice attribute of the CMPS03 object
getI2CDevice() - Method in class cork.module.ti.PCF8574
Gets this instance.
getI2CDevice() - Method in class cork.net.i2c.AbstractI2CDevice
This must be implemented by all I2C devices, and must return it's own instance.
getIndex() - Method in class cork.module.sharp.GP2D15
Returns the index of the device.
getIOPin() - Method in class cork.module.sharp.GP2D15
Gets the GPIO pin that the divice is attached to.
getLightLevel() - Method in class cork.module.devantech.SRF08
Gets the light level that the SRF08 detected.
getLowPulseWidth() - Method in class cork.device.control.MillisecondPWM
Gets the low pulse width attribute in milliseconds.
getManagedDevices() - Method in interface cork.device.DeviceManager
Returns a list of all devices this manager is managing.
getMessage() - Method in class cork.event.DeviceEvent
Gets the message attribute of the DeviceEvent object
getOppositBearingDegrees() - Method in class cork.module.devantech.CMPS03
Gets the opposit bearing from the bearing in degrees.
getOwnedPins(Device) - Static method in class cork.util.CorkRuntime
Gets all the pins owned by a particular device.
getPin() - Method in class cork.device.control.MillisecondPWM
Gets the pin attribute of the PWM object
getPinOwner(GpioPin) - Static method in class cork.util.CorkRuntime
Finds the owner of a captured pin.
getRange(int) - Method in class cork.module.devantech.SRF08
Gets the range of the last ping.
getRangeInCentimetres() - Method in class cork.module.devantech.SRF04
Gets the range from the SRF04 to the target in centimetres (cm).
getRangeInCentimetres(double) - Method in class cork.module.devantech.SRF04
Gets the range from the SRF04 to the target in centimetres calculated with the termperature supplied.
getRangeMaximumInCentimetres() - Method in class cork.module.devantech.SRF04
Gets the maximum range measured in centimetres out of 10 pulses.
getRangeMinimumInCentimetres() - Method in class cork.module.devantech.SRF04
Gets the minimum range measured in centimetres out of 10 pulses.
getRangeVariationInCentimetres() - Method in class cork.module.devantech.SRF04
Gets the error variation that was observed in centimetres.
getSoftwareRevision() - Method in class cork.module.devantech.SRF08
Gets the softwareRevision attribute of the SRF08 object
getSoftwareRevision() - Method in class cork.module.devantech.CMPS03
Gets the softwareRevisionNumber attribute of the CMPS03 object
getSpeed() - Method in interface cork.device.Motor
Gets the speed attribute of the Motor object.
getSpeed() - Method in class cork.device.control.ContinuousRotationServo
Speed has no meaning in this context.
getSpeed() - Method in class cork.device.control.PolynomicDrive
Gets the *average* speed of all motors in the drive system.
getSpeed(int) - Method in class cork.device.control.PolynomicDrive
Gets the speed attribute of the specified group.
getTimerID() - Method in class cork.module.devantech.SRF04
Gets the Timer ID of the SRF04 object.
GP2D15 - class cork.module.sharp.GP2D15.
Driver for the Sharp GP2D15 IR Proximity detector.
GP2D15(GpioPin) - Constructor for class cork.module.sharp.GP2D15
Constructor for the GP2D15 object
GP2D15(GpioPin, int) - Constructor for class cork.module.sharp.GP2D15
Constructor for the GP2D15 object

I

I2C_BUS_TIMEOUT - Static variable in class cork.net.i2c.I2CBusMasterFactory
The system property string to use in order the change the timeout for the I2C bus in milliseconds.
I2C_INT_PIN_ID - Static variable in class cork.net.i2c.I2CBusMasterFactory
The system property string to use in order the change the INT (interrupt line) pin for the I2C bus.
I2C_SCL_PIN_ID - Static variable in class cork.net.i2c.I2CBusMasterFactory
The system property string to use in order the change the SCL pin for the I2C bus.
I2C_SDA_PIN_ID - Static variable in class cork.net.i2c.I2CBusMasterFactory
The system property string to use in order the change the SDA pin for the I2C bus.
I2CBusMaster - interface cork.net.i2c.I2CBusMaster.
Provides a high level interface to the I2C bus master, allowing bytes to be written and read from the bus.
I2CBusMasterFactory - class cork.net.i2c.I2CBusMasterFactory.
The Factory knows how to create copies of the system BusMaster and how to set its properties.
I2CDevice - interface cork.net.i2c.I2CDevice.
All I2C devices should implement this interface.
I2CException - exception cork.net.i2c.I2CException.
I2C specific exception class.
I2CException() - Constructor for class cork.net.i2c.I2CException
Creates new I2CBusException without detail message.
I2CException(String) - Constructor for class cork.net.i2c.I2CException
Constructs an I2CBusException with the specified detail message.
I2CLineDriver - class cork.net.i2c.I2CLineDriver.
Default I2C Bus Master.
I2CSlave - interface cork.net.i2c.I2CSlave.
Though not implemented, this is a placeholder for future implementation of the slave device.
instance() - Static method in class cork.event.DeviceEventMulticaster
Description of the Method
interruptEvent() - Method in class cork.event.ThreadedInterruptEventMulticaster
Description of the Method
interruptEvent() - Method in class cork.module.devantech.SRF04
Internal use only!
The event handler, triggered by the trailing edge of the echo pulse.
isCaptured() - Method in class cork.net.i2c.AbstractI2CDevice
Indicated that the line driver is in use by another device.
isCaptured() - Method in interface cork.net.i2c.I2CBusMaster
Indicates that the line driver is in use by another device.
isCaptured() - Method in class cork.net.i2c.AbstractLineDriver
Indicated that the line driver is in use by another device.
isCaptured(GpioPin) - Static method in class cork.util.CorkRuntime
Tests if a GPIO pin has been catured.
isCapturedBy(I2CDevice) - Method in class cork.net.i2c.AbstractLineDriver
Gets the capturedBy attribute of the AbstractLineDriver object
isDebugMode() - Method in class cork.module.devantech.SRF04
Gets the debugMode attribute of the ConsoleDebug object
isMotor(Motor) - Method in class cork.device.control.PolynomicDrive
Checks to see if a Motor has already been bound..
isObjectDetected() - Method in class cork.module.sharp.GP2D15
Tests the state of the device.
isOutputOnLineA() - Method in class cork.module.devantech.SRF04
Gets the outputOnLineA attribute of the SRF04Ultrasonic object
isOutputOnLineB() - Method in class cork.module.devantech.SRF04
Gets the outputOnLineB attribute of the SRF04Ultrasonic object
isResourceDevice(Device) - Method in interface cork.device.DeviceContainer
Checks to see if a device has already been bound to this device.
isResourceDevice(Device) - Method in class cork.module.devantech.SRF04
Checks to see if a device has already been bound to this device.

L

loop() - Method in class cork.util.BlockingQueue
Force the pool to allow any listening threads to run their run() loops...

M

markCardinalPoint() - Method in class cork.module.devantech.CMPS03
Used to calibrate the CMPS03 module.
MillisecondPWM - class cork.device.control.MillisecondPWM.
PWM generator in teh millisecond range.
MillisecondPWM(GpioPin) - Constructor for class cork.device.control.MillisecondPWM
Constructor for the MillisecondPWM object.
MillisecondPWM(GpioPin, int, int) - Constructor for class cork.device.control.MillisecondPWM
Constructor for the PWM object taht alows pre-setting of the pulse width.
Motor - interface cork.device.Motor.
Represents a generic motor.

N

next() - Method in interface cork.util.Queue
Returns the next object in the queue, removing it in the process.
next() - Method in class cork.util.BlockingQueue
Returns the next object in the queue, removing it in the process.

P

PCF8574 - class cork.module.ti.PCF8574.
Driver for controlling a Texas Instruments PCF8574 Remote 8-Bit I/O Expander chip.
PCF8574(int) - Constructor for class cork.module.ti.PCF8574
Constructor for the PCF8574 object.
peek() - Method in interface cork.util.Queue
Returns the next object in the queue without removing it in the process.
peek() - Method in class cork.util.BlockingQueue
Returns the next object in the queue without removing it in the process.
ping() - Method in class cork.module.devantech.SRF04
Use this method to "ping" a target.
ping(int) - Method in class cork.module.devantech.SRF08
Causes the SRF08 to ping.
pingAndListen() - Method in class cork.module.devantech.SRF04
This method does nothing.
PolynomicDrive - class cork.device.control.PolynomicDrive.
A Polynomic Drive (a word I just invented off the top of my head) is a drive with independant drove groups.
PolynomicDrive() - Constructor for class cork.device.control.PolynomicDrive
Constructor for the PolynomicDrive object
PULSE_INTERVAL - Static variable in class cork.device.control.ContinuousRotationServo
Description of the Field

Q

Queue - interface cork.util.Queue.
All queue's must implement this interface, regardless of type.

R

read(I2CDevice, int, int[], int) - Method in class cork.net.i2c.I2CLineDriver
Reads data from the specified ID.
read(I2CDevice, int, int[], int) - Method in interface cork.net.i2c.I2CBusMaster
Reads data from the specified ID.
read(int, int[], int) - Method in class cork.net.i2c.AbstractI2CDevice
Reads data from the specified ID.
release() - Method in class cork.net.i2c.AbstractI2CDevice
Releases and frees the BusMaster for capture by another device.
release(I2CDevice) - Method in interface cork.net.i2c.I2CBusMaster
Releases and frees the BusMaster for capture by another device.
release(I2CDevice) - Method in class cork.net.i2c.AbstractLineDriver
Releases and frees the line driver for capture by another device.
releaseAllPins(Device) - Static method in class cork.util.CorkRuntime
Releases all pins captured by the specified device.
releasePin(Device, GpioPin) - Static method in class cork.util.CorkRuntime
Releases a pin captured with the capturePin() method.
remove(DataEventListener) - Method in class cork.event.ThreadedDataEventMulticaster
 
remove(DeviceEventListener) - Static method in class cork.event.DeviceEventMulticaster
Description of the Method
remove(InterruptEventListener) - Method in class cork.event.ThreadedInterruptEventMulticaster
Description of the Method
removeEventListener(DeviceEventListener) - Method in class cork.device.AbstractDevice
This is a convenience method to allow listener to remove itself from the event queue so that it no longer receives events.
removeListener(DeviceEventListener) - Method in class cork.module.sharp.GP2D15
Removes a listener to the GP2D15 object.
removeMotorPair(int) - Method in class cork.device.control.PolynomicDrive
Removes the motor.
removeResouceDevice(Device) - Method in interface cork.device.DeviceContainer
Removes another device from this device so that this device can no longer use it's resources.
removeResouceDevice(Device) - Method in class cork.module.devantech.SRF04
Removes another device from this device so that this device can no longer use it's resources.
rotate(int, int) - Method in class cork.device.control.PolynomicDrive
Causes the two specified groups to move in opposit directions.
run() - Method in class cork.device.control.ContinuousRotationServo
Main processing method for the ContinuousRotationServo object
run() - Method in class cork.device.control.MillisecondPWM
Main processing method for the PWM object
run() - Method in class cork.event.DeviceEventMulticaster
Main processing method for the DeviceEventMulticaster object
run() - Method in class cork.event.ThreadedDataEventMulticaster
 
run() - Method in class cork.event.ThreadedInterruptEventMulticaster
Main processing method for the InterruptEventMulticaster object
RUNTIME_PROPERTY_DEBUG - Static variable in class cork.util.CorkRuntime
The system property that puts teh cork library in debug mode.

S

sendDeviceEvent(DeviceEvent) - Method in class cork.device.AbstractDevice
This method sends an event out to all classes who are listening for events in the VM.
sendDeviceEvent(DeviceEvent) - Static method in class cork.event.DeviceEventMulticaster
 
setAirTemperature(double) - Method in class cork.module.devantech.SRF04
The speed of sound in air are is effected by many variables, among them is the temperature of the air.
setBits(boolean[]) - Method in class cork.module.ti.PCF8574
Sets the bits of the PCF8574 object.
setBusIdalClockTick(boolean) - Method in class cork.net.i2c.I2CLineDriver
Sets the busIdalClockTick attribute of the I2CLineDriver object
setByte(int) - Method in class cork.module.ti.PCF8574
Sets the bits of the PCF8574 object.
setDebugMode(boolean) - Method in class cork.module.devantech.SRF04
Sets the debugMode attribute of the ConsoleDebug object.
setDirection(int) - Method in interface cork.device.Motor
Sets the direction attribute of the motor.
setDirection(int) - Method in class cork.device.control.ContinuousRotationServo
Sets the direction the servo will rotate in.
setDirection(int) - Method in class cork.device.control.PolynomicDrive
Sets the direction attribute of all the motors.
setDirection(int, int) - Method in class cork.device.control.PolynomicDrive
Sets the direction attribute of the motors in the specified group.
setHighPulseWidth(int) - Method in class cork.device.control.MillisecondPWM
Sets the high pulse width attribute in milliseconds.
setIndex(int) - Method in class cork.module.sharp.GP2D15
Sets the index of the device.
setLowPulseWidth(int) - Method in class cork.device.control.MillisecondPWM
Sets the low pulse width attribute in milliseconds.
setOutputOnLineA() - Method in class cork.module.devantech.SRF04
Sets the outputOnLineA attribute of the SRF04Ultrasonic object
setOutputOnLineB() - Method in class cork.module.devantech.SRF04
Sets the outputOnLineB attribute of the SRF04Ultrasonic object
setSpeed(int) - Method in interface cork.device.Motor
Sets the speed attribute of the Motor object.
setSpeed(int) - Method in class cork.device.control.ContinuousRotationServo
Speed has no meaning in this context.
setSpeed(int) - Method in class cork.device.control.PolynomicDrive
Sets the speed attribute for all motors.
setSpeed(int, int) - Method in class cork.device.control.PolynomicDrive
Sets the speed attribute of the motors in the specified group.
signalException(int) - Static method in class cork.util.CorkRuntime
Use this method to signal an exception by blinking the power LED on the JStamp module.
signalUnhandledException(Throwable) - Static method in class cork.util.CorkRuntime
This method can be entered into the "Uncaught Exception" field of the JemBuilder project (JVM0|Main property sheet).
size() - Method in class cork.device.control.PolynomicDrive
Returns the number of groups in the drive system.
size() - Method in interface cork.util.Queue
Returns the number of elements currently in the queue.
size() - Method in class cork.util.BlockingQueue
Returns the number of elements currently in the queue.
skip() - Method in interface cork.util.Queue
Skips the next object in the queue, removing it in the process.
skip() - Method in class cork.util.BlockingQueue
Skips the next object in the queue, removing it in the process.
SRF04 - class cork.module.devantech.SRF04.
Software driver for the Devontech SRF04 Range Finder.
SRF04(int) - Constructor for class cork.module.devantech.SRF04
Constructor for the SRF04Ultrasonic object
SRF08 - class cork.module.devantech.SRF08.
Software driver for the Devontech SRF08 Range Finder.
SRF08(int) - Constructor for class cork.module.devantech.SRF08
Constructor for the SRF08 object
start() - Method in interface cork.device.Motor
Starts the motor.
start() - Method in class cork.device.control.ContinuousRotationServo
Starts the servo rotating.
start() - Method in class cork.device.control.PolynomicDrive
Starts all motors.
start() - Method in class cork.net.i2c.AbstractI2CDevice
Start communication on the I2C bus.
start(I2CDevice) - Method in class cork.net.i2c.I2CLineDriver
Description of the Method
start(I2CDevice) - Method in interface cork.net.i2c.I2CBusMaster
Start communication on the I2C bus.
start(int) - Method in class cork.device.control.PolynomicDrive
Starts the motors in the specified group.
stop() - Method in interface cork.device.Motor
Stops the motor.
stop() - Method in class cork.device.control.ContinuousRotationServo
Stops the servo rotating.
stop() - Method in class cork.device.control.PolynomicDrive
Stops the motors.
stop() - Method in class cork.net.i2c.AbstractI2CDevice
Stops communication the I2C bus.
stop(I2CDevice) - Method in class cork.net.i2c.I2CLineDriver
Signals stop communication on the bus.
stop(I2CDevice) - Method in interface cork.net.i2c.I2CBusMaster
Stops communication the I2C bus.
stop(int) - Method in class cork.device.control.PolynomicDrive
Stops the motors in the specified group.
SYSTEM_UNHANDLED_EXCEPTION_PATTERN - Static variable in class cork.util.CorkRuntime
The blink pattern to use when the signalUnhandledException() method is called.

T

ThreadedDataEventMulticaster - class cork.event.ThreadedDataEventMulticaster.
Description of the Class
ThreadedDataEventMulticaster() - Constructor for class cork.event.ThreadedDataEventMulticaster
 
ThreadedInterruptEventMulticaster - class cork.event.ThreadedInterruptEventMulticaster.
Multicasts a n interrupt even in a thread so that classes listening for interrupts can't block the hardware putting it into a deadlock.
ThreadedInterruptEventMulticaster() - Constructor for class cork.event.ThreadedInterruptEventMulticaster
Constructor for the InterruptEventMulticaster object
ThreadedInterruptEventMulticaster(InterruptEventListener) - Constructor for class cork.event.ThreadedInterruptEventMulticaster
Constructor for the ThreadedInterruptEventMulticaster object
tick() - Method in class cork.net.i2c.AbstractI2CDevice
Ticks over the SCL line.
tick(I2CDevice) - Method in class cork.net.i2c.I2CLineDriver
ticks the SCL line once.
tick(I2CDevice) - Method in interface cork.net.i2c.I2CBusMaster
Ticks over the SCL line.
triggerEvent() - Method in class cork.net.i2c.I2CLineDriver
idle clock ticks...

W

write(I2CDevice, int, int[], int) - Method in class cork.net.i2c.I2CLineDriver
Writes data to the specified ID.
write(I2CDevice, int, int[], int) - Method in interface cork.net.i2c.I2CBusMaster
Writes data to the specified ID.
write(int, int[], int) - Method in class cork.net.i2c.AbstractI2CDevice
Writes data to the specified ID.

A B C D G I L M N P Q R S T W