|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fosstrak.ale.server.readers.hal.HALManager
public class HALManager
the HALManager creates and maintains instances of the HAL readers.
Method Summary | |
---|---|
org.fosstrak.hal.HardwareAbstraction |
define(java.lang.String halName,
java.lang.String propFile,
java.lang.String ImplementingClass)
define a new HardwareAbstraction reader. if the reader already exists a reference to the reader is returned. otherwise a new reader is created. |
static HALManager |
getInstance()
create the singleton instance of the HALManager. |
void |
undefine(java.lang.String halName)
removes a HAL reader. if there is no other adaptor using the instance of this HAL reader, the HAL will be destroyed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public org.fosstrak.hal.HardwareAbstraction define(java.lang.String halName, java.lang.String propFile, java.lang.String ImplementingClass)
halName
- the name of the HAL reader that shall be created.propFile
- the properties file for the reader.ImplementingClass
- the class to invoke that implements the hal
(eg. org.fosstrak.hal.impl.sim.SimulatorController).
public void undefine(java.lang.String halName)
halName
- the name of the HAL reader that shall be undefined.public static HALManager getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |