nz.ac.waikato.mcennis.rat.dataAquisition
Class DataAquisitionFactory

java.lang.Object
  extended by nz.ac.waikato.mcennis.rat.dataAquisition.DataAquisitionFactory

public class DataAquisitionFactory
extends java.lang.Object

Class for creating DataAquisition Objects


Method Summary
 DataAquisition create(java.util.Properties props)
          Creates a new DataAquisition object using the 'aquisition' property.
 java.lang.String[] getKnownModules()
           
static DataAquisitionFactory newInstance()
          acquire a reference to this singleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static DataAquisitionFactory newInstance()
acquire a reference to this singleton

Returns:
this class's static instance object initialized

create

public DataAquisition create(java.util.Properties props)
Creates a new DataAquisition object using the 'aquisition' property. See the init() function of each object for parameter info.

Parameters:
props - key-value pairs used to configure
Returns:
DataAquisition object requested

getKnownModules

public java.lang.String[] getKnownModules()