jbotrace.base
Class Driver

java.lang.Object
  |
  +--jbotrace.base.Driver
Direct Known Subclasses:
BasicDriver, FantasticDriver

public abstract class Driver
extends java.lang.Object

Description: This interface describes the functions for a driver class.


Field Summary
protected  DriverInformation driverInformation
           
 
Constructor Summary
Driver()
           
 
Method Summary
 java.lang.String getAuthor()
          Returns the author of the driver
abstract  DriverCommand getDriverCommand()
          Returns the commands the driver gives in the current situation.
 java.lang.String getName()
          Returns the name of the driver
protected  void setAuthor(java.lang.String author)
          Sets the name of the drivers' author
 void setDriverInformation(DriverInformation driverInformation)
          Sets driverInformation
protected  void setName(java.lang.String name)
          Sets the drivers' name
 java.lang.String toString()
          Default toString-Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

driverInformation

protected DriverInformation driverInformation
Constructor Detail

Driver

public Driver()
Method Detail

getAuthor

public final java.lang.String getAuthor()
Returns the author of the driver


getName

public final java.lang.String getName()
Returns the name of the driver


getDriverCommand

public abstract DriverCommand getDriverCommand()
Returns the commands the driver gives in the current situation.


setAuthor

protected final void setAuthor(java.lang.String author)
Sets the name of the drivers' author


setDriverInformation

public final void setDriverInformation(DriverInformation driverInformation)
Sets driverInformation


setName

protected final void setName(java.lang.String name)
Sets the drivers' name


toString

public final java.lang.String toString()
Default toString-Method

Overrides:
toString in class java.lang.Object