ActiveStateFollower Class Reference

#include <ArmarXGui/gui-plugins/StatechartViewerPlugin/controller/ActiveStateFollower.h>

+ Inheritance diagram for ActiveStateFollower:

Public Slots

void centerOnCurrentState (bool toggle)
 
void startFollowing ()
 
void stopFollowing ()
 
void toggle (bool on)
 
void updatePos (QVariant value)
 

Public Member Functions

 ActiveStateFollower (StatechartView *statechartView, QWidget *parent=NULL)
 
StatechartViewgetStatechartView () const
 
void setStatechartView (StatechartView *value)
 

Protected Slots

void checkActiveState ()
 

Protected Member Functions

void updateCurrentValue (const QVariant &value) override
 

Protected Attributes

QTimer activeStateCheckerTimer
 
statechartmodel::StateInstancePtr currentActiveState
 
QPointer< StateItemcurrentActiveStateItem
 
QPointF currentTargetPos
 
int duration
 
QPointF startPos
 
IceUtil::Time startTime
 
QPointer< StatechartViewstatechartView
 

Detailed Description

Definition at line 35 of file ActiveStateFollower.h.

Constructor & Destructor Documentation

◆ ActiveStateFollower()

ActiveStateFollower ( StatechartView statechartView,
QWidget *  parent = NULL 
)

Definition at line 29 of file ActiveStateFollower.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ centerOnCurrentState

void centerOnCurrentState ( bool  toggle)
slot

Definition at line 142 of file ActiveStateFollower.cpp.

◆ checkActiveState

void checkActiveState ( )
protectedslot

Definition at line 61 of file ActiveStateFollower.cpp.

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

◆ getStatechartView()

StatechartView * getStatechartView ( ) const

Definition at line 123 of file ActiveStateFollower.cpp.

◆ setStatechartView()

void setStatechartView ( StatechartView value)

Definition at line 128 of file ActiveStateFollower.cpp.

+ Here is the call graph for this function:

◆ startFollowing

void startFollowing ( )
slot

Definition at line 51 of file ActiveStateFollower.cpp.

+ Here is the caller graph for this function:

◆ stopFollowing

void stopFollowing ( )
slot

Definition at line 56 of file ActiveStateFollower.cpp.

+ Here is the caller graph for this function:

◆ toggle

void toggle ( bool  on)
slot

Definition at line 39 of file ActiveStateFollower.cpp.

+ Here is the call graph for this function:

◆ updateCurrentValue()

void updateCurrentValue ( const QVariant &  value)
overrideprotected

Definition at line 150 of file ActiveStateFollower.cpp.

+ Here is the call graph for this function:

◆ updatePos

void updatePos ( QVariant  value)
slot

Definition at line 136 of file ActiveStateFollower.cpp.

Member Data Documentation

◆ activeStateCheckerTimer

QTimer activeStateCheckerTimer
protected

Definition at line 60 of file ActiveStateFollower.h.

◆ currentActiveState

statechartmodel::StateInstancePtr currentActiveState
protected

Definition at line 56 of file ActiveStateFollower.h.

◆ currentActiveStateItem

QPointer<StateItem> currentActiveStateItem
protected

Definition at line 57 of file ActiveStateFollower.h.

◆ currentTargetPos

QPointF currentTargetPos
protected

Definition at line 58 of file ActiveStateFollower.h.

◆ duration

int duration
protected

Definition at line 62 of file ActiveStateFollower.h.

◆ startPos

QPointF startPos
protected

Definition at line 58 of file ActiveStateFollower.h.

◆ startTime

IceUtil::Time startTime
protected

Definition at line 61 of file ActiveStateFollower.h.

◆ statechartView

QPointer<StatechartView> statechartView
protected

Definition at line 59 of file ActiveStateFollower.h.


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