#include <CanJ1939CommunicationController.hpp>
|
bool | frame () override |
|
bool | sendFrame () |
|
void | receiveFrame () |
|
void | trimOnGoingCommunications () |
| discard communications that have been inactive for too long
|
|
void | addChannel (const std::shared_ptr< iv::channels::AbstractChannel > &channel) override |
|
void | initialize () override |
|
void | sendMessage (const std::shared_ptr< CMessageCan > &message) |
|
void | handleSinglePacketMessage (const std::vector< std::byte > &data, const std::pair< iv::types::comms::pgn, iv::types::comms::j1939SourceAddress > &pgnAndAddress) |
|
void | handleConnectionManagementMessage (const std::shared_ptr< CMessageCan > &message, const std::pair< iv::types::comms::pgn, iv::types::comms::j1939SourceAddress > &pgnAndAddress) |
|
void | handleDataTransferMessage (const std::shared_ptr< CMessageCan > &message, const std::pair< iv::types::comms::pgn, iv::types::comms::j1939SourceAddress > &pgnAndAddress) |
|
void | bindToChannel (const std::pair< iv::types::comms::pgn, std::optional< iv::types::comms::j1939SourceAddress > > &pgnAndAddress, const std::vector< std::byte > &data) |
|
void | handleDm1Packet (std::pair< iv::types::comms::pgn, iv::types::comms::j1939SourceAddress > pgnAndAddress, const std::vector< std::byte > &data) |
|
void | handleDefaultStateDM1Channels () |
|
void | bindDTC (std::optional< iv::types::comms::j1939SourceAddress > address, iv::types::comms::dtc data) |
|
void | handleBamProtocolConnectionMessage (const std::shared_ptr< CMessageCan > &message, const std::pair< iv::types::comms::pgn, iv::types::comms::j1939SourceAddress > &pgnAndAddress) |
|
void | handleBamProtocolDataTransferMessage (const std::shared_ptr< CMessageCan > &message, onGoingCanJ1939MultiPacketCommunication &comm) |
|
◆ CanJ1939CommunicationController() [1/4]
iv::comms::canJ1939::CanJ1939CommunicationController::CanJ1939CommunicationController |
( |
| ) |
|
|
delete |
◆ CanJ1939CommunicationController() [2/4]
◆ CanJ1939CommunicationController() [3/4]
◆ CanJ1939CommunicationController() [4/4]
◆ ~CanJ1939CommunicationController()
iv::comms::canJ1939::CanJ1939CommunicationController::~CanJ1939CommunicationController |
( |
| ) |
|
|
overridedefault |
◆ addChannel()
◆ bindDTC()
◆ bindToChannel()
◆ frame()
bool iv::comms::canJ1939::CanJ1939CommunicationController::frame |
( |
| ) |
|
|
overrideprivatevirtual |
◆ getCommConfig()
◆ getDriver()
◆ getNetworkId()
◆ handleBamProtocolConnectionMessage()
◆ handleBamProtocolDataTransferMessage()
◆ handleConnectionManagementMessage()
◆ handleDataTransferMessage()
◆ handleDefaultStateDM1Channels()
void iv::comms::canJ1939::CanJ1939CommunicationController::handleDefaultStateDM1Channels |
( |
| ) |
|
|
private |
◆ handleDm1Packet()
◆ handleSinglePacketMessage()
◆ hasChannel()
bool iv::comms::ICommunicationController::hasChannel |
( |
const iv::types::channelId & | channelId | ) |
const |
|
inlinenodiscardinherited |
◆ initialize()
void iv::comms::canJ1939::CanJ1939CommunicationController::initialize |
( |
| ) |
|
|
overrideprivatevirtual |
◆ isEnabled()
bool iv::comms::ICommunicationController::isEnabled |
( |
| ) |
|
|
inlinenodiscardinherited |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ pause()
void iv::comms::ICommunicationController::pause |
( |
| ) |
const |
|
inlineinherited |
◆ receiveFrame()
void iv::comms::canJ1939::CanJ1939CommunicationController::receiveFrame |
( |
| ) |
|
|
private |
◆ resume()
void iv::comms::ICommunicationController::resume |
( |
| ) |
const |
|
inlineinherited |
◆ sendFrame()
bool iv::comms::canJ1939::CanJ1939CommunicationController::sendFrame |
( |
| ) |
|
|
private |
◆ sendMessage()
void iv::comms::canJ1939::CanJ1939CommunicationController::sendMessage |
( |
const std::shared_ptr< CMessageCan > & | message | ) |
|
|
private |
◆ trimOnGoingCommunications()
void iv::comms::canJ1939::CanJ1939CommunicationController::trimOnGoingCommunications |
( |
| ) |
|
|
private |
discard communications that have been inactive for too long
◆ CanJ1939CommunicationControllerFrame
◆ m_appFailuresLoggerManager
◆ m_canProtocol
◆ m_channels
◆ m_channelsOrderedByPgnAndAddress
◆ m_commConfig
◆ m_dm1ChannelsOrderedBySpnAndAddress
◆ m_driver
◆ m_eraseCommsMutex
std::mutex iv::comms::canJ1939::CanJ1939CommunicationController::m_eraseCommsMutex |
|
private |
◆ m_errorChannel
◆ m_fallbackComm
◆ m_heartbeatChannel
◆ m_isEnabled
std::shared_ptr<bool> iv::comms::ICommunicationController::m_isEnabled |
|
protectedinherited |
◆ m_lastHeartbeatTime
◆ m_lastTimestampReceived
◆ m_networkId
◆ m_onGoingMultiPacketCommunications
◆ m_protocol
◆ m_sendQueue
The documentation for this class was generated from the following files: