AgIsoStack++
A control-function-focused implementation of the major ISOBUS and J1939 protocols
|
A storage class for holding PGN callbacks and their associated PGN. More...
Public Member Functions | |
PGNRequestCallbackInfo (PGNRequestCallback callback, std::uint32_t parameterGroupNumber, void *parentPointer) | |
Constructor for PGNRequestCallbackInfo. | |
bool | operator== (const PGNRequestCallbackInfo &obj) const |
A utility function for determining if the data in the object is equal to another object. | |
Public Attributes | |
PGNRequestCallback | callbackFunction |
The actual callback. | |
std::uint32_t | pgn |
The PGN associated with the callback. | |
void * | parent |
Pointer to the class that registered the callback, or nullptr | |
A storage class for holding PGN callbacks and their associated PGN.
Definition at line 100 of file can_parameter_group_number_request_protocol.hpp.
isobus::ParameterGroupNumberRequestProtocol::PGNRequestCallbackInfo::PGNRequestCallbackInfo | ( | PGNRequestCallback | callback, |
std::uint32_t | parameterGroupNumber, | ||
void * | parentPointer ) |
Constructor for PGNRequestCallbackInfo.
[in] | callback | A PGNRequestCallback |
[in] | parameterGroupNumber | The PGN associated with the callback |
[in] | parentPointer | Pointer to the class that registered the callback, or nullptr |
Definition at line 141 of file can_parameter_group_number_request_protocol.cpp.
bool isobus::ParameterGroupNumberRequestProtocol::PGNRequestCallbackInfo::operator== | ( | const PGNRequestCallbackInfo & | obj | ) | const |
A utility function for determining if the data in the object is equal to another object.
The objects are the same if the pgn and callbackFunction both match
[in] | obj | The object to compare against |
Definition at line 155 of file can_parameter_group_number_request_protocol.cpp.
PGNRequestCallback isobus::ParameterGroupNumberRequestProtocol::PGNRequestCallbackInfo::callbackFunction |
The actual callback.
Definition at line 115 of file can_parameter_group_number_request_protocol.hpp.
void* isobus::ParameterGroupNumberRequestProtocol::PGNRequestCallbackInfo::parent |
Pointer to the class that registered the callback, or nullptr
Definition at line 117 of file can_parameter_group_number_request_protocol.hpp.
std::uint32_t isobus::ParameterGroupNumberRequestProtocol::PGNRequestCallbackInfo::pgn |
The PGN associated with the callback.
Definition at line 116 of file can_parameter_group_number_request_protocol.hpp.