Wyatt
1.0.1
Main Page
Classes
Files
File List
include
sensors
SensorManager.h
1
#pragma once
2
#include "sensors/ISensorManager.h"
3
#include "sensors/ISensor.h"
4
#include <list>
5
#include <map>
6
#include "Hardware.h"
7
#include "messages/IMessage.h"
8
#include <iostream>
9
#include "exceptions/NonexistentHardwareException.h"
10
#include "exceptions/DuplicateHardwareException.h"
11
15
class
SensorManager
:
public
ISensorManager
{
16
public
:
20
SensorManager
();
21
25
~SensorManager
()
override
;
26
32
void
addSensor
(
Hardware
hardware,
ISensor
* sensor)
override
;
33
38
void
updateSensors
(std::list<IMessage*>* messages)
override
;
39
40
private
:
41
std::map<Hardware, ISensor*>* sensorMap;
42
};
SensorManager
Definition:
SensorManager.h:15
SensorManager::SensorManager
SensorManager()
Definition:
SensorManager.cpp:3
Hardware
Definition:
Hardware.h:11
SensorManager::addSensor
void addSensor(Hardware hardware, ISensor *sensor) override
Definition:
SensorManager.cpp:11
SensorManager::updateSensors
void updateSensors(std::list< IMessage * > *messages) override
Definition:
SensorManager.cpp:20
ISensor
Definition:
ISensor.h:7
ISensorManager
Definition:
ISensorManager.h:11
SensorManager::~SensorManager
~SensorManager() override
Definition:
SensorManager.cpp:7
Generated by
1.8.11