GuiTransition Struct Reference

Struct defining a transition which can be stored as QVariant in a QListWidgetItem. More...

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

Public Member Functions

bool isValid ()
 Checks whether all values of a transition are greater than or equal to zero. More...
 
bool operator== (GuiTransition transition)
 Overload '==' operator for GuiTransition struct. More...
 

Public Attributes

double duration
 
int it
 
double start
 

Detailed Description

Struct defining a transition which can be stored as QVariant in a QListWidgetItem.

Definition at line 40 of file TransitionController.h.

Member Function Documentation

◆ isValid()

bool isValid ( )
inline

Checks whether all values of a transition are greater than or equal to zero.

Returns
true iff the transition is valid

Definition at line 63 of file TransitionController.h.

+ Here is the caller graph for this function:

◆ operator==()

bool operator== ( GuiTransition  transition)
inline

Overload '==' operator for GuiTransition struct.

Parameters
transitionGuiTransition to compare with
Returns
true, iff all values of both GuiTransitions are equal, otherwise false

Definition at line 51 of file TransitionController.h.

Member Data Documentation

◆ duration

double duration

Definition at line 42 of file TransitionController.h.

◆ it

int it

Definition at line 44 of file TransitionController.h.

◆ start

double start

Definition at line 43 of file TransitionController.h.


The documentation for this struct was generated from the following file: