Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::comms::can::PcanGatewayCommunicationProtocol Class Referencefinal

#include <PcanGatewayCommunicationProtocol.hpp>

Inheritance diagram for iv::comms::can::PcanGatewayCommunicationProtocol:
[legend]
Collaboration diagram for iv::comms::can::PcanGatewayCommunicationProtocol:
[legend]

Public Member Functions

 PcanGatewayCommunicationProtocol ()=delete
 
 PcanGatewayCommunicationProtocol (std::shared_ptr< iv::comms::ICommunicationDriver > driver, const std::weak_ptr< iv::model::comms::NetworkData > &networkData)
 
 PcanGatewayCommunicationProtocol (const PcanGatewayCommunicationProtocol &other)=delete
 
 PcanGatewayCommunicationProtocol (PcanGatewayCommunicationProtocol &&other)=delete
 
 ~PcanGatewayCommunicationProtocol () override=default
 
PcanGatewayCommunicationProtocoloperator= (const PcanGatewayCommunicationProtocol &other)=delete
 
PcanGatewayCommunicationProtocoloperator= (PcanGatewayCommunicationProtocol &&other)=delete
 
iv::comms::eResponse read (std::shared_ptr< CMessageCan > &message) override
 
iv::comms::eResponse send (const CMessageCan &message) override
 
bool isOnline () override
 

Protected Attributes

std::shared_ptr< iv::comms::ICommunicationDriverm_driver
 

Private Attributes

iv::types::ipAddress m_gatewayIp
 
iv::types::ipPort m_gatewayPort
 

Constructor & Destructor Documentation

◆ PcanGatewayCommunicationProtocol() [1/4]

iv::comms::can::PcanGatewayCommunicationProtocol::PcanGatewayCommunicationProtocol ( )
delete

◆ PcanGatewayCommunicationProtocol() [2/4]

iv::comms::can::PcanGatewayCommunicationProtocol::PcanGatewayCommunicationProtocol ( std::shared_ptr< iv::comms::ICommunicationDriver > driver,
const std::weak_ptr< iv::model::comms::NetworkData > & networkData )

◆ PcanGatewayCommunicationProtocol() [3/4]

iv::comms::can::PcanGatewayCommunicationProtocol::PcanGatewayCommunicationProtocol ( const PcanGatewayCommunicationProtocol & other)
delete

◆ PcanGatewayCommunicationProtocol() [4/4]

iv::comms::can::PcanGatewayCommunicationProtocol::PcanGatewayCommunicationProtocol ( PcanGatewayCommunicationProtocol && other)
delete

◆ ~PcanGatewayCommunicationProtocol()

iv::comms::can::PcanGatewayCommunicationProtocol::~PcanGatewayCommunicationProtocol ( )
overridedefault

Member Function Documentation

◆ isOnline()

bool iv::comms::can::PcanGatewayCommunicationProtocol::isOnline ( )
inlinenodiscardoverridevirtual

◆ operator=() [1/2]

PcanGatewayCommunicationProtocol & iv::comms::can::PcanGatewayCommunicationProtocol::operator= ( const PcanGatewayCommunicationProtocol & other)
delete

◆ operator=() [2/2]

PcanGatewayCommunicationProtocol & iv::comms::can::PcanGatewayCommunicationProtocol::operator= ( PcanGatewayCommunicationProtocol && other)
delete

◆ read()

iv::comms::eResponse iv::comms::can::PcanGatewayCommunicationProtocol::read ( std::shared_ptr< CMessageCan > & message)
nodiscardoverridevirtual

◆ send()

iv::comms::eResponse iv::comms::can::PcanGatewayCommunicationProtocol::send ( const CMessageCan & message)
overridevirtual

Member Data Documentation

◆ m_driver

std::shared_ptr<iv::comms::ICommunicationDriver> iv::comms::ICommunicationProtocol::m_driver
protectedinherited

◆ m_gatewayIp

iv::types::ipAddress iv::comms::can::PcanGatewayCommunicationProtocol::m_gatewayIp
private

◆ m_gatewayPort

iv::types::ipPort iv::comms::can::PcanGatewayCommunicationProtocol::m_gatewayPort
private

The documentation for this class was generated from the following files: