LayoutWorkerCreator Class Reference

#include <ArmarXGui/gui-plugins/StatechartViewerPlugin/layout/LayoutWorkerCreator.h>

+ Inheritance diagram for LayoutWorkerCreator:

Public Slots

void createWorker (MediatorPtr mediator, size_t id, QString name)
 createWorker Create worker with given id and connect it to mediator via signals and slots. More...
 
void deleteWorker (size_t id)
 deleteWorker Calls the destructor of the worker with the given id. More...
 
void deleteWorkers ()
 deleteWorkers Calls the destructor of every worker. More...
 

Signals

void connectedWorkerAndMediator (size_t id)
 connectedWorkerAndMediator Notifies that the worker's signals and slots are now connected to its mediator. More...
 

Public Member Functions

 LayoutWorkerCreator ()
 

Detailed Description

Definition at line 44 of file LayoutWorkerCreator.h.

Constructor & Destructor Documentation

◆ LayoutWorkerCreator()

Definition at line 32 of file LayoutWorkerCreator.cpp.

Member Function Documentation

◆ connectedWorkerAndMediator

void connectedWorkerAndMediator ( size_t  id)
signal

connectedWorkerAndMediator Notifies that the worker's signals and slots are now connected to its mediator.

Parameters
idThe id of the worker and mediator.

◆ createWorker

void createWorker ( armarx::MediatorPtr  mediator,
size_t  id,
QString  name 
)
slot

createWorker Create worker with given id and connect it to mediator via signals and slots.

Parameters
mediatorManages the communication between the new worker and the associated state.
idThe mediator's and worker's id.

Definition at line 43 of file LayoutWorkerCreator.cpp.

◆ deleteWorker

void deleteWorker ( size_t  id)
slot

deleteWorker Calls the destructor of the worker with the given id.

Parameters
idID of the worker that is to be deleted.

Definition at line 111 of file LayoutWorkerCreator.cpp.

◆ deleteWorkers

void deleteWorkers ( )
slot

deleteWorkers Calls the destructor of every worker.

Definition at line 116 of file LayoutWorkerCreator.cpp.


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