Wyatt  1.0.1
Public Member Functions | List of all members
SensorManager Class Reference

#include <SensorManager.h>

Inheritance diagram for SensorManager:
Inheritance graph
[legend]
Collaboration diagram for SensorManager:
Collaboration graph
[legend]

Public Member Functions

 SensorManager ()
 
 ~SensorManager () override
 
void addSensor (Hardware hardware, ISensor *sensor) override
 
void updateSensors (std::list< IMessage * > *messages) override
 
- Public Member Functions inherited from ISensorManager
virtual ~ISensorManager ()
 

Detailed Description

Implementation header of ISensorManager.

Definition at line 15 of file SensorManager.h.

Constructor & Destructor Documentation

SensorManager::SensorManager ( )

Constructor.

Definition at line 3 of file SensorManager.cpp.

SensorManager::~SensorManager ( )
override

Destructor. Must override. Deletes all pointers.

Definition at line 7 of file SensorManager.cpp.

Member Function Documentation

void SensorManager::addSensor ( Hardware  hardware,
ISensor sensor 
)
overridevirtual

Adds a sensor to be managed

Parameters
hardwareThe hardware struct associated with the sensor object
sensorAn ISensor object to manage

Implements ISensorManager.

Definition at line 11 of file SensorManager.cpp.

void SensorManager::updateSensors ( std::list< IMessage * > *  messages)
overridevirtual

Updates sensors with new measurement data

Parameters
messagesA list of messages containing new measurement data

Implements ISensorManager.

Definition at line 20 of file SensorManager.cpp.


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