|
#include <ArmarXGui/gui-plugins/StatechartViewerPlugin/model/stateinstance/RegularState.h>
Public Member Functions | |
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 | |
virtual void | accept (Visitor &visitor) const =0 |
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... | |
virtual eStateType | getType () const =0 |
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 LogSenderPtr & | getLogSender () 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< State > | parentState |
QPointF | position |
Protected Attributes inherited from Logging | |
MessageTypeT | minimumLoggingLevel |
SpamFilterDataPtr | spamFilter |
LogTag | tag |
Definition at line 29 of file RegularState.h.
RegularState | ( | StatePtr | stateClass, |
const QString & | instanceName, | ||
StatePtr | parentState = StatePtr() |
||
) |
RegularState | ( | const QString & | stateUUID, |
const QString & | instanceName, | ||
StatePtr | parentState = StatePtr() |
||
) |
Definition at line 41 of file RegularState.cpp.
|
inline |
Definition at line 34 of file RegularState.h.
|
overridevirtual |
Reimplemented from StateInstance.
Definition at line 46 of file RegularState.cpp.
void setStateClass | ( | StatePtr | newStateClass | ) |
Definition at line 51 of file RegularState.cpp.