Workspace 6.21.5
Public Member Functions | List of all members
RotateAnchorEvent Class Reference

Event emitted when the rotation angle of a ConnectionAnchor has been modified.

#include <Workspace/Presentation/connectionanchorevents.h>

Inheritance diagram for RotateAnchorEvent:
[legend]

Public Member Functions

 RotateAnchorEvent (const QUuid &anchorId, int angleDelta)
 
const QUuid & getAnchorId () const
 
int getAngleDelta () const
 
- Public Member Functions inherited from ObservableEventType< RotateAnchorEvent >
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::AllObservableEvents > & eventID ()
 
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::ProgressEvent > & eventID ()
 
const EventIDSingleton< RotateAnchorEvent > & getEventID () const override
 
- Public Member Functions inherited from ObservableEvent
virtual ~ObservableEvent ()=default
 
virtual const EventIDgetEventID () const =0
 

Additional Inherited Members

- Static Public Member Functions inherited from ObservableEventType< RotateAnchorEvent >
static const EventIDSingleton< RotateAnchorEvent > & eventID ()
 
- Protected Member Functions inherited from ObservableEventType< RotateAnchorEvent >
 ObservableEventType ()=default
 

Constructor & Destructor Documentation

◆ RotateAnchorEvent()

RotateAnchorEvent ( const QUuid &  anchorId,
int  angleDelta 
)
inline
Parameters
anchorIdThe id of the anchor to move.
angleDeltaThe amount to change the current angle by in degrees.

Member Function Documentation

◆ getAnchorId()

const QUuid & getAnchorId ( ) const
inline

◆ getAngleDelta()

int getAngleDelta ( ) const
inline