ExportDialogController Class Reference

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

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

+ Inheritance diagram for ExportDialogController:

Public Slots

void environmentChanged (EnvironmentPtr environment)
 Set the enviroment. More...
 
void exportMMM ()
 Start export to MMM. More...
 
void exportTrajectory ()
 Start export to trajectory. More...
 
void exportTrajectory (std::vector< DesignerTrajectoryPtr > trajectories)
 Exports the trajectory. More...
 
void open ()
 Opens an export dialog. More...
 
void setFPS (int fps)
 Sets the timed distribution of automatically generated waypoints by assigning how many waypoints there are per second. More...
 

Signals

void exportDesignerTrajectory ()
 Requests a designer trajectory to a given index to export. More...
 
void exportDesignerTrajectory (int fps)
 Requests a designer trajectory to a given index to export. More...
 

Public Member Functions

 ExportDialogController ()
 Creates a new ExportDialogController and assigns a designer exporter to handle. More...
 
void onConnectComponent () override
 
void onDisconnectComponent () override
 
void onExitComponent () override
 
void onInitComponent () override
 

Detailed Description

Subcontroller which handles all user interaction with the export dialog in the GUI, communicates with other controllers via signals and slots.

Definition at line 22 of file ExportDialogController.h.

Constructor & Destructor Documentation

◆ ExportDialogController()

Creates a new ExportDialogController and assigns a designer exporter to handle.

Definition at line 32 of file ExportDialogController.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ environmentChanged

void environmentChanged ( EnvironmentPtr  environment)
slot

Set the enviroment.

Parameters
Thenew enviroment

Definition at line 123 of file ExportDialogController.cpp.

◆ exportDesignerTrajectory [1/2]

void exportDesignerTrajectory ( )
signal

Requests a designer trajectory to a given index to export.

+ Here is the caller graph for this function:

◆ exportDesignerTrajectory [2/2]

void exportDesignerTrajectory ( int  fps)
signal

Requests a designer trajectory to a given index to export.

Parameters
indexIndex of the trajectory

◆ exportMMM

void exportMMM ( )
slot

Start export to MMM.

Definition at line 55 of file ExportDialogController.cpp.

◆ exportTrajectory [1/2]

void exportTrajectory ( )
slot

Start export to trajectory.

Definition at line 88 of file ExportDialogController.cpp.

◆ exportTrajectory [2/2]

void exportTrajectory ( std::vector< DesignerTrajectoryPtr trajectories)
slot

Exports the trajectory.

Parameters
trajectoryDesignerTrajectory fpr export

Definition at line 50 of file ExportDialogController.cpp.

◆ onConnectComponent()

void onConnectComponent ( )
overridevirtual
See also
AbstractController

Implements AbstractController.

Definition at line 14 of file ExportDialogController.cpp.

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

◆ onDisconnectComponent()

void onDisconnectComponent ( )
overridevirtual
See also
AbstractController

Implements AbstractController.

Definition at line 22 of file ExportDialogController.cpp.

◆ onExitComponent()

void onExitComponent ( )
overridevirtual
See also
AbstractController

Implements AbstractController.

Definition at line 27 of file ExportDialogController.cpp.

◆ onInitComponent()

void onInitComponent ( )
overridevirtual
See also
AbstractController

Implements AbstractController.

Definition at line 6 of file ExportDialogController.cpp.

+ Here is the caller graph for this function:

◆ open

void open ( )
slot

Opens an export dialog.

Definition at line 38 of file ExportDialogController.cpp.

◆ setFPS

void setFPS ( int  fps)
slot

Sets the timed distribution of automatically generated waypoints by assigning how many waypoints there are per second.

Parameters
valueNumber of waypoints per second

Definition at line 45 of file ExportDialogController.cpp.

+ Here is the caller graph for this function:

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