Generalized getAxisParam

This commit is contained in:
2025-06-16 15:24:28 +02:00
parent 43df40aaea
commit 31ff26cb78
2 changed files with 92 additions and 75 deletions

View File

@@ -502,9 +502,9 @@ asynStatus setAxisParam(A *axis, C *controller, const char *indexName,
* @return asynStatus
*/
template <typename A, typename C, typename T>
asynStatus getAxisParam(A *axis, const char *indexName, int (C::*func)(),
T *readValue, const char *callerFunctionName,
int lineNumber);
asynStatus getAxisParam(A *axis, C *controller, const char *indexName,
int (C::*func)(), T *readValue,
const char *callerFunctionName, int lineNumber);
/**
* @brief Macro to get an paramLib parameter and error checking the return value