Added destructor for controller

This commit is contained in:
2025-06-10 14:53:26 +02:00
parent eca513f3a0
commit c759156058
2 changed files with 9 additions and 0 deletions

View File

@ -179,6 +179,8 @@ turboPmacController::turboPmacController(const char *portName,
} }
} }
turboPmacController::~turboPmacController(void) {}
/* /*
Access one of the axes of the controller via the axis adress stored in asynUser. Access one of the axes of the controller via the axis adress stored in asynUser.
If the axis does not exist or is not a Axis, a nullptr is returned and an If the axis does not exist or is not a Axis, a nullptr is returned and an

View File

@ -36,6 +36,13 @@ class turboPmacController : public sinqController {
double idlePollPeriod, double comTimeout, double idlePollPeriod, double comTimeout,
int numExtraParams = 0); int numExtraParams = 0);
/**
* @brief Destroy the controller. Its implementation is empty, however the
* destructor needs to be provided for handling turboPmacControllerImpl.
*
*/
~turboPmacController(void) {}
/** /**
* @brief Get the axis object * @brief Get the axis object
* *