biocell
Interface BioDevice

All Superinterfaces:
java.util.EventListener, MNSListener
All Known Implementing Classes:
AliceBasedInterface, AliceDecoder, BioSensor, DanceGenerator, Milford5120, NetDecoder, PMotionCalculator, Servo, SpeechGenerator, SpeechRecognizer

public interface BioDevice
extends MNSListener, java.util.EventListener

* Created on Jan 1, 2004

Author:
Martin Lukac This is the basis of each Meta-Device such as Speech Movement, Sensors, Vision, In short it is just a functional implementation of an interface however to force the subsequent code all abstract methods must be implemented in the devices in order to provide a common command interface

Field Summary
static int BLOCKED
          Robot Part is blocked somewhere
static int BUSY
          RobotPart is processing some commands
static int CYCLING
          Inidicator of the fact that at least one Cycling command is active
static int DONE
          state declaration
static int END
          Robot Part finnished
static int PAUSED
          Robot Part is temporarily paused
static int RESUMED
          Robot Part is resumed
static int START
          Robot Part is being initiatedt
static int WAIT
          Robot Part is waiting
 
Method Summary
 void addListener(BioDeviceListener rP)
           
 java.lang.String getControls()
           
 int getCurrentPosition()
           
 int getCurrentState()
           
 java.lang.String getname()
           
 void load(MNSEvent cnE)
          simple interface to control all Devices
 void loadCNTR(MNSEvent cnE)
           
 
Methods inherited from interface mns.MNSListener
process
 

Field Detail

DONE

static final int DONE
state declaration

See Also:
Constant Field Values

PAUSED

static final int PAUSED
Robot Part is temporarily paused

See Also:
Constant Field Values

END

static final int END
Robot Part finnished

See Also:
Constant Field Values

CYCLING

static final int CYCLING
Inidicator of the fact that at least one Cycling command is active

See Also:
Constant Field Values

START

static final int START
Robot Part is being initiatedt

See Also:
Constant Field Values

BUSY

static final int BUSY
RobotPart is processing some commands

See Also:
Constant Field Values

RESUMED

static final int RESUMED
Robot Part is resumed

See Also:
Constant Field Values

BLOCKED

static final int BLOCKED
Robot Part is blocked somewhere

See Also:
Constant Field Values

WAIT

static final int WAIT
Robot Part is waiting

See Also:
Constant Field Values
Method Detail

load

void load(MNSEvent cnE)
simple interface to control all Devices


loadCNTR

void loadCNTR(MNSEvent cnE)
Parameters:
cnE -

addListener

void addListener(BioDeviceListener rP)
Parameters:
rP -

getCurrentPosition

int getCurrentPosition()
Returns:

getCurrentState

int getCurrentState()
Returns:

getControls

java.lang.String getControls()
Returns:

getname

java.lang.String getname()
Returns: