Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <VdrCommunicationController.hpp>
Public Member Functions | |
VdrCommunicationController (const std::shared_ptr< ICommunicationDriver > &driver, const std::shared_ptr< iv::model::comms::NetworkData > &networkData) | |
void | addChannel (const std::shared_ptr< iv::channels::AbstractChannel > &channel) override |
void | initialize () override |
Initialize the thread for VDR communication. | |
bool | frame () override |
This functions is called periodically to send the events contained in the alarmQueue through the serial driver. | |
void | pause () const |
void | resume () const |
iv::types::networkId | getNetworkId () const |
std::shared_ptr< iv::model::comms::NetworkData > | getCommConfig () const |
std::shared_ptr< iv::comms::ICommunicationDriver > | getDriver () const |
bool | hasChannel (const iv::types::channelId &channelId) const |
bool | isEnabled () |
Public Attributes | |
std::unique_ptr< iv::containers::CircularQueue< std::shared_ptr< iv::alarms::Event >, 5000 > > | m_vdrAlarmQueue |
Queue that contains all events processed by the alarmManager. | |
Protected Attributes | |
iv::types::networkId | m_networkId |
std::shared_ptr< bool > | m_isEnabled |
std::shared_ptr< iv::model::comms::NetworkData > | m_commConfig |
std::shared_ptr< iv::comms::ICommunicationProtocol > | m_protocol |
std::shared_ptr< iv::comms::ICommunicationDriver > | m_driver |
std::map< iv::types::channelId, std::shared_ptr< iv::channels::AbstractChannel > > | m_channels |
std::weak_ptr< iv::channels::AbstractChannel > | m_errorChannel |
std::weak_ptr< iv::channels::AbstractChannel > | m_heartbeatChannel |
std::weak_ptr< iv::comms::ICommunicationController > | m_fallbackComm |
std::weak_ptr< iv::diamar::AppFailuresLoggerManager > | m_appFailuresLoggerManager |
Private Attributes | |
std::map< iv::types::channelId, VdrChannelInfo > | m_channelsInVdr |
std::shared_ptr< iv::comms::serial::SerialCommunicationsDriver > | m_serialDriver |
Friends | |
class | VdrCommunicationControllerFrame |
iv::comms::vdr::VdrCommunicationController::VdrCommunicationController | ( | const std::shared_ptr< ICommunicationDriver > & | driver, |
const std::shared_ptr< iv::model::comms::NetworkData > & | networkData ) |
|
overridevirtual |
Implements iv::comms::ICommunicationController.
|
overridevirtual |
This functions is called periodically to send the events contained in the alarmQueue through the serial driver.
Implements iv::comms::ICommunicationController.
|
inlinenodiscardinherited |
|
inlinenodiscardinherited |
|
inlinenodiscardinherited |
|
inlinenodiscardinherited |
|
overridevirtual |
Initialize the thread for VDR communication.
Implements iv::comms::ICommunicationController.
|
inlinenodiscardinherited |
|
inlineinherited |
|
inlineinherited |
|
friend |
|
protectedinherited |
|
protectedinherited |
|
private |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
private |
std::unique_ptr<iv::containers::CircularQueue<std::shared_ptr<iv::alarms::Event>, 5000> > iv::comms::vdr::VdrCommunicationController::m_vdrAlarmQueue |
Queue that contains all events processed by the alarmManager.