Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
WiredDigital.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_CHANNELS_WIREDDIGITAL_HPP_
2#define IV_SRC_CHANNELS_WIREDDIGITAL_HPP_
3
7
8namespace iv::channels
9{
10
12{
14
15public:
17 WiredDigital(const WiredDigital &other);
18
19 ~WiredDigital() override = default;
20
21 void update(AbstractChannel &other) override;
22 bool load(const iv::file::xml::node &nodeChannel) override;
23
24 bool save(iv::file::xml::node &nodeChannel) const override;
25
26 std::shared_ptr<AbstractChannel> clone() override;
27
28 //TODO: [IV_MODEL] Descomentar private
29 //private:
30 void processValue() override;
31 void processAlarm(std::shared_ptr<iv::alarms::AlarmsManager> alarmManager) override;
32
34};
35
36}// namespace iv::channels
37
38#endif//IV_SRC_CHANNELS_WIREDDIGITAL_HPP_
Definition AbstractChannel.hpp:24
Definition DigitalChannel.hpp:11
Definition WiredAttributes.hpp:12
Definition WiredDigital.hpp:12
void update(AbstractChannel &other) override
Definition WiredDigital.cpp:109
~WiredDigital() override=default
bool save(iv::file::xml::node &nodeChannel) const override
Definition WiredDigital.cpp:55
void processValue() override
Definition WiredDigital.cpp:69
void processAlarm(std::shared_ptr< iv::alarms::AlarmsManager > alarmManager) override
Definition WiredDigital.cpp:82
friend class iv::channels::controller::WiredDigital
Definition WiredDigital.hpp:13
bool load(const iv::file::xml::node &nodeChannel) override
Definition WiredDigital.cpp:33
iv::channels::WiredAttributes m_wiredAttributes
Definition WiredDigital.hpp:33
std::shared_ptr< AbstractChannel > clone() override
Definition WiredDigital.cpp:64
Definition WiredDigital.hpp:10
Definition xmlFile.hpp:15
Definition AlarmsManager.hpp:17