LayoutThread Class Reference

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

+ Inheritance diagram for LayoutThread:

Public Member Functions

LayoutControllergetController ()
 
 LayoutThread (armarx::statechartmodel::StatePtr state=statechartmodel::StatePtr(new statechartmodel::State()), bool startEnabled=true)
 
void run ()
 
void setState (armarx::statechartmodel::StatePtr state)
 setState Stops the event loop and resets the top state. More...
 
 ~LayoutThread () override
 

Detailed Description

Definition at line 35 of file LayoutThread.h.

Constructor & Destructor Documentation

◆ LayoutThread()

LayoutThread ( armarx::statechartmodel::StatePtr  state = statechartmodel::StatePtr(new statechartmodel::State()),
bool  startEnabled = true 
)
explicit

Definition at line 30 of file LayoutThread.cpp.

+ Here is the call graph for this function:

◆ ~LayoutThread()

~LayoutThread ( )
override

Definition at line 40 of file LayoutThread.cpp.

Member Function Documentation

◆ getController()

LayoutController& getController ( )
inline

Definition at line 53 of file LayoutThread.h.

+ Here is the caller graph for this function:

◆ run()

void run ( )

Definition at line 53 of file LayoutThread.cpp.

+ Here is the caller graph for this function:

◆ setState()

void setState ( armarx::statechartmodel::StatePtr  state)

setState Stops the event loop and resets the top state.

All layouting done before is nullified by this. run() has to be called afterwards to resume layouting.

Parameters
stateThe new top state.

Definition at line 46 of file LayoutThread.cpp.

+ Here is the caller graph for this function:

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