Go to the documentation of this file.
26 #include <ArmarXCore/interface/statechart/RemoteStateOffererIce.h>
43 class StatechartViewer;
50 template <
typename ProxyType>
76 return "Statecharts.StatechartViewer";
80 return QIcon(
"://icons/statechartviewer.svg");
99 void addNewStateView(QString proxyName, QString stateName);
100 void addNewStateView();
101 void followActiveState();
102 void updateStateComboBox();
103 void updateStateFollower();
104 void removeTab(
int index);
106 Ui::StatechartViewer* ui;
108 RemoteStateOffererInterfacePrx m_statechartHandler;
111 struct RemoteStateData
115 QString globalStateName;
118 QMap<QPointer<StatechartView>, RemoteStateData> converters;
119 QVector<QPair<QString, QString>> delayedConverterAdding;
120 ActiveStateFollower* follower;
121 QPointer<QToolBar> customToolbar;
122 QAction* autoFollowAction;
123 QAction* centerActiveStateAction;
124 std::recursive_mutex mutex;
125 bool shutdown =
false;
static QIcon GetWidgetIcon()
void showTransitionContextMenu(statechartmodel::TransitionCPtr transition, statechartmodel::StatePtr state, QPoint mouseScreenPos, QPointF mouseItemPos)
void loadSettings(QSettings *settings) override
Implement to load the settings that are part of the GUI configuration.
void saveSettings(QSettings *settings) override
Implement to save the settings as part of the GUI configuration.
void connectToStateTab(int index)
void componentConnected()
~StatechartViewerController() override
void onInitComponent() override
Pure virtual hook for the subclass.
std::shared_ptr< StateInstance > StateInstancePtr
void onConnectComponent() override
Pure virtual hook for the subclass.
void onDisconnectComponent() override
Hook for subclass.
static QString GetWidgetName()
void onExitComponent() override
Hook for subclass.
std::shared_ptr< const Transition > TransitionCPtr
std::shared_ptr< State > StatePtr
StatechartViewerController()
QPointer< QWidget > getCustomTitlebarWidget(QWidget *parent) override
getTitleToolbar returns a pointer to the a toolbar widget of this controller.
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< IceStateConverter > IceStateConverterPtr