Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <ModbusCommunicationController.hpp>
Public Member Functions | |
ModbusCommunicationController ()=delete | |
ModbusCommunicationController (const std::shared_ptr< iv::comms::ICommunicationDriver > &driver, const std::shared_ptr< iv::model::comms::NetworkData > &networkData, iv::comms::modbus::eType type) | |
ModbusCommunicationController (const ModbusCommunicationController &other)=delete | |
ModbusCommunicationController (ModbusCommunicationController &&other)=delete | |
~ModbusCommunicationController () override=default | |
ModbusCommunicationController & | operator= (const ModbusCommunicationController &other)=delete |
ModbusCommunicationController & | operator= (ModbusCommunicationController &&other)=delete |
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 () |
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 Member Functions | |
void | addChannel (const std::shared_ptr< iv::channels::AbstractChannel > &channel) override |
void | initialize () override |
bool | frame () override |
std::vector< std::optional< iv::types::comms::modbus::registerValue > > | obtainChannelValues (const iv::channels::ModbusRegisterInfo &modbusInfo) const |
Private Attributes | |
iv::comms::modbus::eType | m_type |
std::map< iv::types::comms::modbus::modbusAddressAndFunction, std::vector< std::shared_ptr< iv::channels::AbstractChannel > > > | m_channelsOrderedByModbusAddress |
iv::model::comms::modbus::Settings | m_modbusSettings |
Friends | |
class | ModbusCommunicationControllerFrame |
|
delete |
iv::comms::modbus::ModbusCommunicationController::ModbusCommunicationController | ( | const std::shared_ptr< iv::comms::ICommunicationDriver > & | driver, |
const std::shared_ptr< iv::model::comms::NetworkData > & | networkData, | ||
iv::comms::modbus::eType | type ) |
|
delete |
|
delete |
|
overridedefault |
|
overrideprivatevirtual |
Implements iv::comms::ICommunicationController.
|
overrideprivatevirtual |
check si está el address en el grid.
comprobar si reinterpreta
Implements iv::comms::ICommunicationController.
|
inlinenodiscardinherited |
|
inlinenodiscardinherited |
|
inlinenodiscardinherited |
|
inlinenodiscardinherited |
|
overrideprivatevirtual |
Implements iv::comms::ICommunicationController.
|
inlinenodiscardinherited |
|
private |
|
delete |
|
delete |
|
inlineinherited |
|
inlineinherited |
|
friend |
|
protectedinherited |
|
protectedinherited |
|
private |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
private |
|
protectedinherited |
|
protectedinherited |
|
private |