Go to the documentation of this file.
27 #include <VirtualRobot/Robot.h>
36 #include <RobotAPI/interface/core/RobotState.h>
50 virtual NJointControllerConfigPtr
readFullCFG()
const = 0;
58 void doSetupGuiAfterConnect();
Provides a ready-to-use RobotUnit.
std::string getControllerName() const
virtual NJointControllerConfigPtr readFullCFG() const =0
virtual void activateController()
void postOnConnectComponent() override
void loadSettings(QSettings *settings) override
Implement to load the settings that are part of the GUI configuration.
virtual void createController()
std::recursive_mutex _allMutex
QPointer< QDialog > getConfigDialog(QWidget *parent) override
getConfigDialog returns a pointer to the a configuration widget of this controller.
virtual void deleteController()
void connectCreateAcivateDeactivateDelete(QPushButton *cr, QPushButton *ac, QPushButton *dc, QPushButton *de)
void saveSettings(QSettings *settings) override
Implement to save the settings as part of the GUI configuration.
void preOnConnectComponent() override
void onExitComponent() override
Hook for subclass.
virtual void deactivateController()
void onDisconnectComponent() override
Hook for subclass.
QPointer< SimpleConfigDialog > _dialog
void onInitComponent() override
Pure virtual hook for the subclass.
VirtualRobot::RobotPtr _robot
void onConnectComponent() override
Pure virtual hook for the subclass.
virtual void setupGuiAfterConnect()
void postOnDisconnectComponent() override
void configured() override
This function must be implemented by the user, if he supplies a config dialog.
std::shared_ptr< class Robot > RobotPtr