Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
RedundancyCommunicationController.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_COMMS_REDUNDANCY_REDUNDANCYCOMMUNICATIONCONTROLLER_HPP
2#define IV_SRC_COMMS_REDUNDANCY_REDUNDANCYCOMMUNICATIONCONTROLLER_HPP
3
6#include "diamar/Station.hpp"
7
9{
10
12 public std::enable_shared_from_this<RedundancyCommunicationController>
13{
15
16public:
18 RedundancyCommunicationController(const std::shared_ptr<iv::comms::ICommunicationDriver> &driver,
19 const std::shared_ptr<iv::model::comms::NetworkData> &networkData);
23
26
28
29private:
30 void addChannel(const std::shared_ptr<iv::channels::AbstractChannel> &channel) override;
31 bool frame() override;
32 void initialize() override;
33
35
36 std::shared_ptr<iv::diamar::Stations> m_stations;
37};
38
39}// namespace iv::comms::redundancy
40
41#endif//IV_SRC_COMMS_REDUNDANCY_REDUNDANCYCOMMUNICATIONCONTROLLER_HPP
Definition ICommunicationController.hpp:23
Definition RedundancyCommunicationController.cpp:19
Definition RedundancyCommunicationController.hpp:13
RedundancyCommunicationController(const RedundancyCommunicationController &other)=delete
void addChannel(const std::shared_ptr< iv::channels::AbstractChannel > &channel) override
Definition RedundancyCommunicationController.cpp:75
bool frame() override
Definition RedundancyCommunicationController.cpp:96
RedundancyCommunicationController(RedundancyCommunicationController &&other)=delete
RedundancyCommunicationController & operator=(RedundancyCommunicationController &&other)=delete
eRedundancyChannelDownloadSyncStatus m_channelDownloadSyncStatus
Definition RedundancyCommunicationController.hpp:27
std::shared_ptr< iv::diamar::Stations > m_stations
Definition RedundancyCommunicationController.hpp:36
RedundancyCommunicationController & operator=(const RedundancyCommunicationController &other)=delete
iv::types::timestamp m_lastReceivedMessageTimestamp
Definition RedundancyCommunicationController.hpp:34
void initialize() override
Definition RedundancyCommunicationController.cpp:80
Definition enums.hpp:7
eRedundancyChannelDownloadSyncStatus
Definition enums.hpp:55
uint64_t timestamp
Definition types.hpp:21