TCPInformationController Class Reference

Subcontroller which handles all user interaction with the tcp information tab in the GUI, communicates with other controllers via signals and slots. More...

#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Controller/TCPInformationController.h>

+ Inheritance diagram for TCPInformationController:

Public Slots

void clearPoseLabels ()
 Resets the labels of current and desired pose to zeroes.
 
void retranslateGui ()
 Retranslates the guiTCPInformation.
 
void setCurrentPose (Eigen::Matrix4f pose)
 Sets all values of the current pose.
 
void setDesiredPose (Eigen::Matrix4f pose)
 Sets all values of the desired pose.
 
void setReachable (bool reachable)
 setReachable set the label isReachable to "reachable" if true and "not reachable" if false
 

Public Member Functions

TCPInformationPtr getGuiTCPInformation ()
 Getter for the TCPInformationTab pointer to guiTCPInformation.
 
void onConnectComponent () override
 
void onDisconnectComponent () override
 
void onExitComponent () override
 
void onInitComponent () override
 
void setGuiTCPInformation (TCPInformationPtr guiTCPInformation)
 Setter for the TCPInformationTab pointer to guiTCPInformation.
 
 TCPInformationController (TCPInformationPtr guiTCPInformation)
 Creates a new TCPInformationController and assigns a TCPInformationTab to handle.
 

Detailed Description

Subcontroller which handles all user interaction with the tcp information tab in the GUI, communicates with other controllers via signals and slots.

Constructor & Destructor Documentation

◆ TCPInformationController()

Creates a new TCPInformationController and assigns a TCPInformationTab to handle.

Parameters
guiTCPInformationPointer to the TCPInformationTab whose user interaction is handled by the TCPInformationController

Member Function Documentation

◆ clearPoseLabels

void clearPoseLabels ( )
slot

Resets the labels of current and desired pose to zeroes.

◆ getGuiTCPInformation()

TCPInformationPtr getGuiTCPInformation ( )

Getter for the TCPInformationTab pointer to guiTCPInformation.

Returns
A Pointer to the guiTCPInformation

◆ onConnectComponent()

void onConnectComponent ( )
overridevirtual

◆ onDisconnectComponent()

void onDisconnectComponent ( )
overridevirtual

◆ onExitComponent()

void onExitComponent ( )
overridevirtual

◆ onInitComponent()

void onInitComponent ( )
overridevirtual

◆ retranslateGui

void retranslateGui ( )
slot

Retranslates the guiTCPInformation.

◆ setCurrentPose

void setCurrentPose ( Eigen::Matrix4f pose)
slot

Sets all values of the current pose.

Parameters
poseA list of strings containing all values of the current pose

◆ setDesiredPose

void setDesiredPose ( Eigen::Matrix4f pose)
slot

Sets all values of the desired pose.

Parameters
poseA list of strings containing all values of the desired pose

◆ setGuiTCPInformation()

void setGuiTCPInformation ( TCPInformationPtr guiTCPInformation)

Setter for the TCPInformationTab pointer to guiTCPInformation.

Parameters
guiTCPInformationPointer to the TCPInformationTab whose user interaction is handled by the TCPInformationController

◆ setReachable

void setReachable ( bool reachable)
slot

setReachable set the label isReachable to "reachable" if true and "not reachable" if false

Parameters
reachable

The documentation for this class was generated from the following files: