EndState Class Reference

#include <ArmarXGui/gui-plugins/StatechartViewerPlugin/model/stateinstance/EndState.h>

+ Inheritance diagram for EndState:


eStateType getType () const override

Public Member Functions

void accept (Visitor &visitor) const override
 EndState (QString instanceName, QString eventName, StatePtr parentState=StatePtr())
QString getEventName () const
void setEventName (const QString &newEventName)
void setInstanceName (const QString &value) override
- Public Member Functions inherited from StateInstance
QPointF adjustPosition (QPointF &newPos) const
QRectF getBoundingSquare () const
 getBoundingSquare return the maximum bounding box of this state instance in parent coordinate system More...
float getBoundingSquareSize () const
QRectF getBounds () const
 getBounds returns the rectangle occupied by this state instance in the parent coordinate system. More...
const QPointF getCenter () const
QSizeF getClassSize () const
QString getInstanceName () const
StatePtr getParent () const
float getScale () const
 getScale returns the scale of this state instance, which is the relation between boundingSquareSize and classSize. More...
virtual StatePtr getStateClass () const
const QPointF & getTopLeft () const
 getTopLeft returns the topleft point of the stateinstance in the coordinate system of the parent state. More...
virtual eStateType getType () const =0
bool isActive ()
 StateInstance (const QString &instanceName, StatePtr parentState=StatePtr())
- 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 ()

Protected Attributes

QString eventName
- Protected Attributes inherited from StateInstance
float boundingSquareSize
QString name
std::weak_ptr< StateparentState
QPointF position
- Protected Attributes inherited from Logging
MessageTypeT minimumLoggingLevel
SpamFilterDataPtr spamFilter
LogTag tag

Additional Inherited Members

- Public Slots inherited from StateInstance
void setBoundingBox (float squareSize)
void setCenter (const QPointF &newStateCenter)
void setPosition (QPointF newPosition)
void updateScale ()
- Public Attributes inherited from StateInstance
const int defaultBoundingSquareSize = 100
::armarx::StateParameterMap inputParameters
 input values of this state instance, only used by Viewer. More...
::armarx::StateParameterMap localParameters
::armarx::StateParameterMap outputParameters
- Static Public Attributes inherited from StateInstance
static const QSizeF StateDefaultSize = QSizeF(800, 600)
- 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

Detailed Description

Definition at line 28 of file EndState.h.

Constructor & Destructor Documentation

◆ EndState()

EndState ( QString  instanceName,
QString  eventName,
StatePtr  parentState = StatePtr() 

Definition at line 28 of file EndState.cpp.

Member Function Documentation

◆ accept()

void accept ( Visitor visitor) const

Implements StateInstance.

Definition at line 57 of file EndState.cpp.

+ Here is the call graph for this function:

◆ getEventName()

QString getEventName ( ) const

Definition at line 47 of file EndState.cpp.

◆ getType

eStateType getType ( ) const

Definition at line 42 of file EndState.cpp.

◆ setEventName()

void setEventName ( const QString &  newEventName)

Definition at line 52 of file EndState.cpp.

+ Here is the caller graph for this function:

◆ setInstanceName()

void setInstanceName ( const QString &  value)

Reimplemented from StateInstance.

Definition at line 35 of file EndState.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ eventName

QString eventName

Definition at line 41 of file EndState.h.

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