StateScene Class Reference

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

+ Inheritance diagram for StateScene:

Public Slots

void clearActiveSubstates ()
 
void saveSceneToSVG (QString path="/tmp/statechart.png", int width=6000)
 
void setToplevelState (statechartmodel::StatePtr toplevelStateInstance)
 

Signals

void stateContextMenuRequested (statechartmodel::StateInstancePtr state, QPoint mouseScreenPos, QPointF mouseItemPos)
 
void transitionContextMenuRequested (statechartmodel::TransitionCPtr transition, statechartmodel::StatePtr state, QPoint mouseScreenPos, QPointF mouseItemPos)
 

Public Member Functions

statechartmodel::StateInstancePtr getStateInstance () const
 
QMap< QString, StateInstanceDatagetStateInstanceData () const
 
StateItemgetTopLevelStateItem () const
 
 StateScene (QObject *parent=0)
 
- Public Member Functions inherited from Logging
SpamFilterDataPtr deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const
 disables the logging for the current line for the given amount of seconds. More...
 
MessageTypeT getEffectiveLoggingLevel () const
 
 Logging ()
 
void setLocalMinimumLoggingLevel (MessageTypeT level)
 With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More...
 
void setTag (const LogTag &tag)
 
void setTag (const std::string &tagName)
 
virtual ~Logging ()
 

Additional Inherited Members

- Protected Member Functions inherited from Logging
bool checkLogLevel (MessageTypeT level) const
 
const LogSenderPtrgetLogSender () const
 Retrieve log sender. More...
 
LogSenderPtr loghelper (const char *file, int line, const char *function) const
 
- Protected Attributes inherited from Logging
MessageTypeT minimumLoggingLevel
 
SpamFilterDataPtr spamFilter
 
LogTag tag
 

Detailed Description

Definition at line 53 of file StateScene.h.

Constructor & Destructor Documentation

◆ StateScene()

StateScene ( QObject *  parent = 0)
explicit

Definition at line 36 of file StateScene.cpp.

Member Function Documentation

◆ clearActiveSubstates

void clearActiveSubstates ( )
slot

Definition at line 69 of file StateScene.cpp.

+ Here is the caller graph for this function:

◆ getStateInstance()

statechartmodel::StateInstancePtr getStateInstance ( ) const

Definition at line 42 of file StateScene.cpp.

+ Here is the caller graph for this function:

◆ getStateInstanceData()

QMap< QString, StateInstanceData > getStateInstanceData ( ) const

Definition at line 91 of file StateScene.cpp.

+ Here is the call graph for this function:

◆ getTopLevelStateItem()

StateItem * getTopLevelStateItem ( ) const

Definition at line 130 of file StateScene.cpp.

+ Here is the caller graph for this function:

◆ saveSceneToSVG

void saveSceneToSVG ( QString  path = "/tmp/statechart.png",
int  width = 6000 
)
slot

Definition at line 57 of file StateScene.cpp.

+ Here is the call graph for this function:

◆ setToplevelState

void setToplevelState ( statechartmodel::StatePtr  toplevelStateInstance)
slot

Definition at line 47 of file StateScene.cpp.

+ Here is the caller graph for this function:

◆ stateContextMenuRequested

void stateContextMenuRequested ( statechartmodel::StateInstancePtr  state,
QPoint  mouseScreenPos,
QPointF  mouseItemPos 
)
signal

◆ transitionContextMenuRequested

void transitionContextMenuRequested ( statechartmodel::TransitionCPtr  transition,
statechartmodel::StatePtr  state,
QPoint  mouseScreenPos,
QPointF  mouseItemPos 
)
signal

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