3#ifndef IV_SRC_COMMS_CAN_WATCHCALLMESSAGEPROCESSOR_HPP_
4#define IV_SRC_COMMS_CAN_WATCHCALLMESSAGEPROCESSOR_HPP_
14 public std::enable_shared_from_this<WatchCallMessageProcessor>
19 const std::shared_ptr<iv::alarms::WatchcallManager> &repeaterManager);
28 std::shared_ptr<iv::comms::can::LomCommunicationController>
m_controller;
32 void processCommand(
const std::shared_ptr<CMessageCan> &message)
const;
Definition AbstractMessageProcessor.hpp:14
Definition WatchCallMessageProcessor.hpp:15
WatchCallMessageProcessor(const std::shared_ptr< iv::comms::can::LomCommunicationController > &controller, iv::comms::eLomLine line, const std::shared_ptr< iv::alarms::WatchcallManager > &repeaterManager)
Definition WatchCallMessageProcessor.cpp:34
void processCommand(const std::shared_ptr< CMessageCan > &message) const
Definition WatchCallMessageProcessor.cpp:87
iv::comms::eLomLine m_line
Definition WatchCallMessageProcessor.hpp:35
std::shared_ptr< iv::comms::can::LomCommunicationController > m_controller
Definition WatchCallMessageProcessor.hpp:28
~WatchCallMessageProcessor() override
Definition WatchCallMessageProcessor.cpp:46
bool receiveFrame() const
Definition WatchCallMessageProcessor.cpp:171
bool sendFrame() const
Definition WatchCallMessageProcessor.cpp:139
std::unique_ptr< iv::threads::Thread > m_thread
Definition WatchCallMessageProcessor.hpp:30
iv::types::timestamp startTime
Definition WatchCallMessageProcessor.hpp:39
iv::model::eShipArea stationArea
Definition WatchCallMessageProcessor.hpp:37
iv::types::unitId stationUnitId
Definition WatchCallMessageProcessor.hpp:36
void processHeartbeat(const std::shared_ptr< CMessageCan > &message) const
Definition WatchCallMessageProcessor.cpp:113
std::shared_ptr< iv::alarms::WatchcallManager > m_repeaterManager
Definition WatchCallMessageProcessor.hpp:29
bool frameProcess() const
Definition WatchCallMessageProcessor.cpp:76
void initialize() override
Definition WatchCallMessageProcessor.cpp:54
void updateSlimStatus(const std::shared_ptr< CMessageCan > &message) const
Definition WatchCallMessageProcessor.cpp:62
Definition AbstractMessageProcessor.hpp:12
eLomLine
Definition enums.hpp:231
eShipArea
Definition enums.hpp:11
uint64_t timestamp
Definition types.hpp:21
uint16_t unitId
Definition types.hpp:77