Made some functions virtual so they can be overwritten
This commit is contained in:
@ -49,7 +49,7 @@ class epicsShareClass sinqAxis : public asynMotorAxis {
|
|||||||
the parameter library operation fails (in that case, returns the status of
|
the parameter library operation fails (in that case, returns the status of
|
||||||
the failed operation.
|
the failed operation.
|
||||||
*/
|
*/
|
||||||
asynStatus poll(bool *moving);
|
virtual asynStatus poll(bool *moving);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Implementation of the "proper", device-specific poll method. This
|
* @brief Implementation of the "proper", device-specific poll method. This
|
||||||
@ -79,8 +79,8 @@ class epicsShareClass sinqAxis : public asynMotorAxis {
|
|||||||
the parameter library operation fails (in that case, returns the failed
|
the parameter library operation fails (in that case, returns the failed
|
||||||
operation status).
|
operation status).
|
||||||
*/
|
*/
|
||||||
asynStatus move(double position, int relative, double minVelocity,
|
virtual asynStatus move(double position, int relative, double minVelocity,
|
||||||
double maxVelocity, double acceleration);
|
double maxVelocity, double acceleration);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Implementation of the "proper", device-specific move method. This
|
* @brief Implementation of the "proper", device-specific move method. This
|
||||||
@ -143,8 +143,8 @@ class epicsShareClass sinqAxis : public asynMotorAxis {
|
|||||||
the parameter library operation fails (in that case, returns the failed
|
the parameter library operation fails (in that case, returns the failed
|
||||||
operation status).
|
operation status).
|
||||||
*/
|
*/
|
||||||
asynStatus home(double minVelocity, double maxVelocity, double acceleration,
|
virtual asynStatus home(double minVelocity, double maxVelocity,
|
||||||
int forwards);
|
double acceleration, int forwards);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Implementation of the "proper", device-specific home method. This
|
* @brief Implementation of the "proper", device-specific home method. This
|
||||||
@ -170,7 +170,7 @@ class epicsShareClass sinqAxis : public asynMotorAxis {
|
|||||||
*
|
*
|
||||||
* @return asynStatus
|
* @return asynStatus
|
||||||
*/
|
*/
|
||||||
asynStatus reset();
|
virtual asynStatus reset();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Implementation of the "proper", device-specific `reset` method.
|
* @brief Implementation of the "proper", device-specific `reset` method.
|
||||||
@ -240,7 +240,7 @@ class epicsShareClass sinqAxis : public asynMotorAxis {
|
|||||||
used to get the values for the timeout calculation failed, return that
|
used to get the values for the timeout calculation failed, return that
|
||||||
status, otherwise return asynSuccess.
|
status, otherwise return asynSuccess.
|
||||||
*/
|
*/
|
||||||
asynStatus startMovTimeoutWatchdog();
|
virtual asynStatus startMovTimeoutWatchdog();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Check if the watchdog timed out
|
* @brief Check if the watchdog timed out
|
||||||
@ -274,7 +274,7 @@ class epicsShareClass sinqAxis : public asynMotorAxis {
|
|||||||
* @return asynStatus Return asynError, if the watchdog timed out,
|
* @return asynStatus Return asynError, if the watchdog timed out,
|
||||||
and asynSuccess otherwise.
|
and asynSuccess otherwise.
|
||||||
*/
|
*/
|
||||||
asynStatus checkMovTimeoutWatchdog(bool moving);
|
virtual asynStatus checkMovTimeoutWatchdog(bool moving);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Enable / disable the watchdog. Also available in the IOC shell
|
* @brief Enable / disable the watchdog. Also available in the IOC shell
|
||||||
|
Reference in New Issue
Block a user