AgIsoStack++
A control-function-focused implementation of the major ISOBUS and J1939 protocols
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
isobus::TaskControllerClient::ProcessDataCallbackInfo Struct Reference

Stores data related to requests and commands from the TC. More...

Public Member Functions

bool operator== (const ProcessDataCallbackInfo &obj) const
 Allows easy comparison of callback data.
 

Public Attributes

std::int32_t processDataValue
 The value of the value set command.
 
std::int32_t lastValue
 Used for measurement commands to store timestamp or previous values.
 
std::uint16_t elementNumber
 The element number for the command.
 
std::uint16_t ddi
 The DDI for the command.
 
bool ackRequested
 Stores if the TC used the mux that also requires a PDACK.
 
bool thresholdPassed
 Used when the structure is being used to track measurement command thresholds to know if the threshold has been passed.
 

Detailed Description

Stores data related to requests and commands from the TC.

Definition at line 572 of file isobus_task_controller_client.hpp.

Member Function Documentation

◆ operator==()

bool isobus::TaskControllerClient::ProcessDataCallbackInfo::operator== ( const ProcessDataCallbackInfo & obj) const

Allows easy comparison of callback data.

Parameters
objthe object to compare against
Returns
true if the ddi and element numbers of the provided objects match, otherwise false

Definition at line 874 of file isobus_task_controller_client.cpp.

Member Data Documentation

◆ ackRequested

bool isobus::TaskControllerClient::ProcessDataCallbackInfo::ackRequested

Stores if the TC used the mux that also requires a PDACK.

Definition at line 582 of file isobus_task_controller_client.hpp.

◆ ddi

std::uint16_t isobus::TaskControllerClient::ProcessDataCallbackInfo::ddi

The DDI for the command.

Definition at line 581 of file isobus_task_controller_client.hpp.

◆ elementNumber

std::uint16_t isobus::TaskControllerClient::ProcessDataCallbackInfo::elementNumber

The element number for the command.

Definition at line 580 of file isobus_task_controller_client.hpp.

◆ lastValue

std::int32_t isobus::TaskControllerClient::ProcessDataCallbackInfo::lastValue

Used for measurement commands to store timestamp or previous values.

Definition at line 579 of file isobus_task_controller_client.hpp.

◆ processDataValue

std::int32_t isobus::TaskControllerClient::ProcessDataCallbackInfo::processDataValue

The value of the value set command.

Definition at line 578 of file isobus_task_controller_client.hpp.

◆ thresholdPassed

bool isobus::TaskControllerClient::ProcessDataCallbackInfo::thresholdPassed

Used when the structure is being used to track measurement command thresholds to know if the threshold has been passed.

Definition at line 583 of file isobus_task_controller_client.hpp.


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