Version FC
Dependencies: DmTftLibrary eeprom SX1280Lib filesystem mbed
Fork of MSNV2-Terminal_V1-5 by
Diff: Component.hpp
- Revision:
- 19:4b147d8f9164
- Parent:
- 13:5414193da1de
- Child:
- 20:b0281e8a375a
diff -r d5e7e56b0a0d -r 4b147d8f9164 Component.hpp --- a/Component.hpp Thu Aug 30 08:40:16 2018 +0000 +++ b/Component.hpp Thu Aug 30 08:48:19 2018 +0000 @@ -2,7 +2,7 @@ #define __COMPONENT_HPP__ #include <vector> -#include "Channel.hpp" +#include "Service.hpp" class Component { @@ -16,12 +16,12 @@ DS18B20 = 6 } ; - Component(COMPONENT_ID id, std::vector<Channel*>& channels) { + Component(COMPONENT_ID id, std::vector<Service*>& channels) { this->id = id; this->channels = channels; } - std::vector<Channel*>& getChannels() { + std::vector<Service*>& getServices() { return this->channels; } @@ -34,7 +34,7 @@ private: COMPONENT_ID id; - std::vector<Channel*> channels; + std::vector<Service*> channels; }; #endif // __COMPONENT_HPP__