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

Event emitted when a ConnectionAnchor has been added to a Workspace.

#include <Workspace/Presentation/connectionanchorevents.h>

Inheritance diagram for AddAnchorEvent:
[legend]

Public Member Functions

 AddAnchorEvent (const QUuid &anchorId, const QPointF &point, int angle=0)
 
const QUuid & getAnchorId () const
 
int getAngle () const
 
const QPointF & getPoint () const
 
- Public Member Functions inherited from ObservableEventType< AddAnchorEvent >
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::AllObservableEvents > & eventID ()
 
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::ProgressEvent > & eventID ()
 
const EventIDSingleton< AddAnchorEvent > & 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< AddAnchorEvent >
static const EventIDSingleton< AddAnchorEvent > & eventID ()
 
- Protected Member Functions inherited from ObservableEventType< AddAnchorEvent >
 ObservableEventType ()=default
 

Constructor & Destructor Documentation

◆ AddAnchorEvent()

AddAnchorEvent ( const QUuid &  anchorId,
const QPointF &  point,
int  angle = 0 
)
inline
Parameters
anchorIdThe id used for this anchor within its workspace.
pointThe scene co-ordinate of the anchor.
angleThe angle of the anchor.

Member Function Documentation

◆ getAnchorId()

const QUuid & getAnchorId ( ) const
inline

◆ getAngle()

int getAngle ( ) const
inline

◆ getPoint()

const QPointF & getPoint ( ) const
inline