jAER project on SourceForge

net.sf.jaer.hardwareinterface
Interface HardwareInterface

All Known Subinterfaces:
AEMonitorInterface, AEMonitorSequencerInterface, AESequencerInterface, BiasgenHardwareInterface, MotionChipInterface, ServoInterface, USBInterface
All Known Implementing Classes:
Biasgen, CochleaAMS1b.Biasgen, CochleaAMS1bHardwareInterface, CochleaAMSWithBiasgen.Biasgen, CypressFX2, CypressFX2AEX, CypressFX2Biasgen, CypressFX2DVS128HardwareInterface, CypressFX2Mapper, CypressFX2MonitorSequencer, CypressFX2RetinaLinux, CypressFX2StereoBoard, CypressFX2TmpdiffRetinaHardwareInterface, Dollbrain1.DollBrainBiasgen, DVS128.Biasgen, DVS320.DVS320Biasgen, DVS320HardwareInterface, Motion18.Motion18Biasgen, SiLabsC8051F320, SiLabsC8051F320_OpticalFlowHardwareInterface, SiLabsC8051F320_USBIO_AeSequencer, SiLabsC8051F320_USBIO_CarServoController, SiLabsC8051F320_USBIO_ServoController, StereoBiasgenHardwareInterface, StereoHardwareInterface, TestchipARCsPixelTestArray.Biasgen, Tmpdiff128.Biasgen, Tmpdiff128StereoPair.Biasgen, ToradexOakG3AxisAccelerationSensor, WowWeeAliveHardwareInterface, WowWeeRSHardwareInterface, ZipZapControl

public interface HardwareInterface

General interface to hardware

Author:
tobi

Method Summary
 void close()
          Closes the device and frees the internal device handle.
 java.lang.String getTypeName()
          get text name of interface, e.g.
 boolean isOpen()
           
 void open()
          Opens the device driver and gets a handle to the device which is internally maintained.
 

Method Detail

getTypeName

java.lang.String getTypeName()
get text name of interface, e.g. "CypressFX2" or "SiLabsC8051F320"


close

void close()
Closes the device and frees the internal device handle. Never throws an exception.


open

void open()
          throws HardwareInterfaceException
Opens the device driver and gets a handle to the device which is internally maintained.

Throws:
HardwareInterfaceException - if there is a problem. Diagnostics are printeds.

isOpen

boolean isOpen()
Returns:
true if interface is open, false otherwise

jAER project on SourceForge