Go to the documentation of this file.
12 return getName() +
"_controller";
70 settings->value(
"rsc",
"Armar6StateComponent").toString().toStdString());
72 settings->value(
"ru",
"Armar6Unit").toString().toStdString());
97 {
"rsc",
"Robot State Component",
"*Component"});
99 return qobject_cast<SimpleConfigDialog*>(
_dialog);
119 _robot =
addRobot(
"state robot", VirtualRobot::RobotIO::eStructure);
128 QMetaObject::invokeMethod(
this,
"doSetupGuiAfterConnect", Qt::QueuedConnection);
142 Base::doSetupGuiAfterConnect()
std::string getControllerName() const
void setRobotUnitName(const std::string &name)
virtual void activateController()
virtual void postOnDisconnectComponent()
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
void setRobotStateComponentName(const std::string &name)
VirtualRobot::RobotPtr addRobot(const std::string &id, const VirtualRobot::RobotPtr &robot, const VirtualRobot::RobotNodeSetPtr &rns={}, const VirtualRobot::RobotNodePtr &node={})
bool synchronizeLocalClone(const VirtualRobot::RobotPtr &robot) const
QPointer< QDialog > getConfigDialog(QWidget *parent) override
getConfigDialog returns a pointer to the a configuration widget of this controller.
virtual void postOnConnectComponent()
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.
const RobotStateComponentPlugin & getRobotStateComponentPlugin() const
void preOnConnectComponent() override
virtual void preOnConnectComponent()
virtual void deactivateController()
QPointer< SimpleConfigDialog > _dialog
plugins::RobotUnitComponentPlugin & getRobotUnitComponentPlugin()
virtual void preOnConnectComponent() override
std::string getName() const
Retrieve name of object.
VirtualRobot::RobotPtr _robot
virtual void setupGuiAfterConnect()
void postOnDisconnectComponent() override
void configured() override
This function must be implemented by the user, if he supplies a config dialog.
A config-dialog containing one (or multiple) proxy finders.