RemoteState Class Reference

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

+ Inheritance diagram for RemoteState:

Public Member Functions

void accept (Visitor &visitor) const override
 
eStateType getType () const override
 
 RemoteState (const QString &stateUUID, const QString &instanceName, StatePtr parentState=StatePtr())
 
 RemoteState (StatePtr stateClass, const QString &instanceName, const QString &proxyName, StatePtr parentState)
 
- 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 ()
 

Public Attributes

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

Additional Inherited Members

- Public Slots inherited from StateInstance
void setBoundingBox (float squareSize)
 
void setCenter (const QPointF &newStateCenter)
 
void setPosition (QPointF newPosition)
 
void updateScale ()
 
- 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 28 of file RemoteState.h.

Constructor & Destructor Documentation

◆ RemoteState() [1/2]

RemoteState ( StatePtr  stateClass,
const QString &  instanceName,
const QString &  proxyName,
StatePtr  parentState 
)

Definition at line 28 of file RemoteState.cpp.

◆ RemoteState() [2/2]

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

Definition at line 34 of file RemoteState.cpp.

Member Function Documentation

◆ accept()

void accept ( Visitor visitor) const
overridevirtual

Implements StateInstance.

Definition at line 44 of file RemoteState.cpp.

+ Here is the call graph for this function:

◆ getType()

eStateType getType ( ) const
overridevirtual

Implements StateInstance.

Definition at line 39 of file RemoteState.cpp.

Member Data Documentation

◆ proxyName

QString proxyName

Definition at line 34 of file RemoteState.h.


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