Wyatt  1.0.1
Public Member Functions | List of all members
ISensorManager Class Referenceabstract

#include <ISensorManager.h>

Inheritance diagram for ISensorManager:
Inheritance graph
[legend]

Public Member Functions

virtual ~ISensorManager ()
 
virtual void addSensor (Hardware hardware, ISensor *sensor)=0
 
virtual void updateSensors (std::list< IMessage * > *messages)=0
 

Detailed Description

Distribution class for messages. Receives messages from the updateSensors function and distributes them to their respective sensors.

Definition at line 11 of file ISensorManager.h.

Constructor & Destructor Documentation

virtual ISensorManager::~ISensorManager ( )
inlinevirtual

Destructor. Deletes pointer references.

Definition at line 17 of file ISensorManager.h.

Member Function Documentation

virtual void ISensorManager::addSensor ( Hardware  hardware,
ISensor sensor 
)
pure virtual

Adds a sensor to be managed

Parameters
hardwareThe Hardware type of the sensor
sensorA pointer to the ISensor object

Implemented in SensorManager, and MockSensorManager.

virtual void ISensorManager::updateSensors ( std::list< IMessage * > *  messages)
pure virtual

Receives data and distributes it to the respective sensors. Deletes the messages upon completion.

Parameters
messagesA list of Messages

Implemented in SensorManager, and MockSensorManager.


The documentation for this class was generated from the following file: