DynamicRemoteState Class Reference

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

+ Inheritance diagram for DynamicRemoteState:

Public Member Functions

void accept (Visitor &visitor) const override
 
 DynamicRemoteState (const QString &stateUUID, const QString &instanceName, StatePtr parentState=StatePtr())
 
 DynamicRemoteState (StatePtr stateClass, const QString &instanceName, StatePtr parentState=StatePtr())
 
eStateType getType () const override
 
 ~DynamicRemoteState () override
 
- Public Member Functions inherited from RegularState
QString getClassUUID () const
 
StatePtr getStateClass () const override
 
 RegularState (const QString &stateUUID, const QString &instanceName, StatePtr parentState=StatePtr())
 
 RegularState (StatePtr stateClass, const QString &instanceName, StatePtr parentState=StatePtr())
 
void setStateClass (StatePtr newStateClass)
 
- 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...
 
const QPointF & getTopLeft () const
 getTopLeft returns the topleft point of the stateinstance in the coordinate system of the parent state. More...
 
bool isActive ()
 
virtual void setInstanceName (const QString &value)
 
 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 ()
 

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
 
- 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
 

Detailed Description

Definition at line 29 of file DynamicRemoteState.h.

Constructor & Destructor Documentation

◆ DynamicRemoteState() [1/2]

DynamicRemoteState ( StatePtr  stateClass,
const QString &  instanceName,
StatePtr  parentState = StatePtr() 
)

Definition at line 30 of file DynamicRemoteState.cpp.

◆ DynamicRemoteState() [2/2]

DynamicRemoteState ( const QString &  stateUUID,
const QString &  instanceName,
StatePtr  parentState = StatePtr() 
)

Definition at line 36 of file DynamicRemoteState.cpp.

◆ ~DynamicRemoteState()

~DynamicRemoteState ( )
override

Definition at line 42 of file DynamicRemoteState.cpp.

Member Function Documentation

◆ accept()

void accept ( Visitor visitor) const
overridevirtual

Implements StateInstance.

Definition at line 52 of file DynamicRemoteState.cpp.

+ Here is the call graph for this function:

◆ getType()

eStateType getType ( ) const
overridevirtual

Implements StateInstance.

Definition at line 47 of file DynamicRemoteState.cpp.


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