Updated sinqMotor version

This commit is contained in:
2025-06-16 16:18:06 +02:00
parent ba5b921aca
commit 0e29750d13
3 changed files with 9 additions and 9 deletions

View File

@ -1,15 +1,11 @@
#ifndef turboPmacAXIS_H
#define turboPmacAXIS_H
#include "sinqAxis.h"
#include "sinqController.h"
#include "turboPmacController.h"
#include <memory>
struct turboPmacAxisImpl;
// Forward declaration of the controller class to resolve the cyclic dependency
// between the controller and the axis .h-file. See
// https://en.cppreference.com/w/cpp/language/class.
class turboPmacController;
class turboPmacAxis : public sinqAxis {
public:
/**
@ -145,7 +141,7 @@ class turboPmacAxis : public sinqAxis {
/**
* @brief Return a pointer to the axis controller
*/
turboPmacController *pController() override { return pC_; };
virtual turboPmacController *pController() override { return pC_; };
private:
turboPmacController *pC_;

View File

@ -10,9 +10,13 @@
#define turboPmacController_H
#include "sinqAxis.h"
#include "sinqController.h"
#include "turboPmacAxis.h"
#include <memory>
// Forward declaration of the controller class to resolve the cyclic dependency
// between the controller and the axis .h-file. See
// https://en.cppreference.com/w/cpp/language/class.
class turboPmacAxis;
struct turboPmacControllerImpl;
class turboPmacController : public sinqController {