Added accessor for maxSubsequentTimeoutsExceeded flag
This commit is contained in:
@ -626,6 +626,10 @@ asynStatus sinqController::setMaxSubsequentTimeouts(int maxSubsequentTimeouts) {
|
||||
return asynSuccess;
|
||||
}
|
||||
|
||||
bool sinqController::maxSubsequentTimeoutsExceeded() {
|
||||
return pSinqC_->maxSubsequentTimeoutsExceeded;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get a reference to the map used to control the maximum number of
|
||||
* message repetitions. See the documentation of `printRepetitionWatchdog`
|
||||
|
@ -210,6 +210,15 @@ class epicsShareClass sinqController : public asynMotorController {
|
||||
*/
|
||||
asynStatus setMaxSubsequentTimeouts(int maxSubsequentTimeouts);
|
||||
|
||||
/**
|
||||
* @brief If true, the maximum number of subsequent communication timeouts
|
||||
* set in `setMaxSubsequentTimeouts` has been exceeded
|
||||
*
|
||||
* @return true
|
||||
* @return false
|
||||
*/
|
||||
bool maxSubsequentTimeoutsExceeded();
|
||||
|
||||
/**
|
||||
* @brief Get a reference to the map used to control the maximum number of
|
||||
* message repetitions. See the documentation of `printRepetitionWatchdog`
|
||||
|
Reference in New Issue
Block a user