|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcat.context.ContextManager
This class is the Manager of all CAT components. It initializes and sets up the main CAT components such as Sensor, SIG, History.
Field Summary | |
private HistoryManager |
historyManager
This manages the access to the history of sensor data. |
private SensorManager |
sensorManager
This manages all the CAT sensors. |
private SigManager |
sigManager
This manages the sigs in CAT. |
Constructor Summary | |
ContextManager()
This constructor initializes create the tools/other managers in the constructor. |
Method Summary | |
void |
addSensor(Sensor s)
This method is for adding a sensor to the CAT system. |
HistoryManager |
getHistoryManager()
Returns the history manger for CAT apps to access. |
SensorManager |
getSensorManager()
Returns the sensor manger for CAT apps to access. |
SigManager |
getSigManager()
Returns the sig manger for CAT apps to access. |
void |
init()
This method just links the other managers by having them listen to the sensors from the sensor manager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private SensorManager sensorManager
private HistoryManager historyManager
private SigManager sigManager
Constructor Detail |
public ContextManager()
Method Detail |
public void init()
public void addSensor(Sensor s)
s
- The sensor to add to CAT.public SensorManager getSensorManager()
public HistoryManager getHistoryManager()
public SigManager getSigManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |