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. More...
 
void retranslateGui ()
 Retranslates the guiTCPInformation. More...
 
void setCurrentPose (Eigen::Matrix4f pose)
 Sets all values of the current pose. More...
 
void setDesiredPose (Eigen::Matrix4f pose)
 Sets all values of the desired pose. More...
 
void setReachable (bool reachable)
 setReachable set the label isReachable to "reachable" if true and "not reachable" if false More...
 

Public Member Functions

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

Detailed Description

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

Definition at line 41 of file TCPInformationController.h.

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

Definition at line 49 of file TCPInformationController.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ clearPoseLabels

void clearPoseLabels ( )
slot

Resets the labels of current and desired pose to zeroes.

Definition at line 97 of file TCPInformationController.cpp.

+ Here is the caller graph for this function:

◆ getGuiTCPInformation()

TCPInformationPtr getGuiTCPInformation ( )

Getter for the TCPInformationTab pointer to guiTCPInformation.

Returns
A Pointer to the guiTCPInformation

Definition at line 56 of file TCPInformationController.cpp.

◆ onConnectComponent()

void onConnectComponent ( )
overridevirtual
See also
AbstractController

Implements AbstractController.

Definition at line 34 of file TCPInformationController.cpp.

+ Here is the caller graph for this function:

◆ onDisconnectComponent()

void onDisconnectComponent ( )
overridevirtual
See also
AbstractController

Implements AbstractController.

Definition at line 39 of file TCPInformationController.cpp.

◆ onExitComponent()

void onExitComponent ( )
overridevirtual
See also
AbstractController

Implements AbstractController.

Definition at line 44 of file TCPInformationController.cpp.

◆ onInitComponent()

void onInitComponent ( )
overridevirtual
See also
AbstractController

Implements AbstractController.

Definition at line 28 of file TCPInformationController.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ retranslateGui

void retranslateGui ( )
slot

Retranslates the guiTCPInformation.

Definition at line 106 of file TCPInformationController.cpp.

◆ 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

Definition at line 70 of file TCPInformationController.cpp.

◆ 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

Definition at line 76 of file TCPInformationController.cpp.

◆ 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

Definition at line 61 of file TCPInformationController.cpp.

◆ setReachable

void setReachable ( bool  reachable)
slot

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

Parameters
reachable

Definition at line 83 of file TCPInformationController.cpp.


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