AgIsoStack++
A control-function-focused implementation of the major ISOBUS and J1939 protocols
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations
can_callbacks.hpp File Reference

An object to represent common callbacks used within this CAN stack. More...

#include <functional>
#include "isobus/isobus/can_message.hpp"
Include dependency graph for can_callbacks.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  isobus::ParameterGroupNumberCallbackData
 A storage class to hold data about callbacks for a specific PGN. More...
 

Namespaces

namespace  isobus
 This namespace encompasses all of the ISO11783 stack's functionality to reduce global namespace pollution.
 

Typedefs

using isobus::CANLibCallback = void (*)(const CANMessage &message, void *parentPointer)
 A callback for control functions to get CAN messages.
 
using isobus::CANMessageCallback = std::function<void(const CANMessage &message)>
 A callback for communicating CAN messages.
 
using isobus::CANMessageFrameCallback
 A callback for communicating CAN message frames.
 
using isobus::ControlFunctionStateCallback = void (*)(std::shared_ptr<ControlFunction> controlFunction, ControlFunctionState state)
 A callback that can inform you when a control function changes state between online and offline.
 
using isobus::DataChunkCallback
 A callback to get chunks of data for transfer by a protocol.
 
using isobus::TransmitCompleteCallback
 A callback for when a transmit is completed by the stack.
 
using isobus::PGNRequestCallback
 A callback for handling a PGN request.
 
using isobus::PGNRequestForRepetitionRateCallback
 A callback for handling a request for repetition rate for a specific PGN.
 

Enumerations

enum class  isobus::AcknowledgementType : std::uint8_t { isobus::Positive = 0 , isobus::Negative = 1 , isobus::AccessDenied = 2 , isobus::CannotRespond = 3 }
 The types of acknowledgement that can be sent in the Ack PGN. More...
 
enum class  isobus::ControlFunctionState { isobus::Offline , isobus::Online }
 Enumerates the "online" states of a control function. More...
 

Detailed Description

An object to represent common callbacks used within this CAN stack.

Author
Adrian Del Grosso

Definition in file can_callbacks.hpp.