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

Event emitted when a connection is added to a connection anchor.

#include <Workspace/Presentation/connectionanchorevents.h>

Inheritance diagram for AddToAnchorEvent:
[legend]

Public Member Functions

 AddToAnchorEvent (DataExecution::Connection &connection, const QUuid &anchorId, int atIndex)
 
const QUuid & getAnchorId () const
 
DataExecution::ConnectiongetConnection () const
 
int getIndex () const
 
- Public Member Functions inherited from ObservableEventType< AddToAnchorEvent >
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::AllObservableEvents > & eventID ()
 
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::ProgressEvent > & eventID ()
 
const EventIDSingleton< AddToAnchorEvent > & 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< AddToAnchorEvent >
static const EventIDSingleton< AddToAnchorEvent > & eventID ()
 
- Protected Member Functions inherited from ObservableEventType< AddToAnchorEvent >
 ObservableEventType ()=default
 

Constructor & Destructor Documentation

◆ AddToAnchorEvent()

AddToAnchorEvent ( DataExecution::Connection connection,
const QUuid &  anchorId,
int  atIndex 
)
inline

Member Function Documentation

◆ getAnchorId()

const QUuid & getAnchorId ( ) const
inline

◆ getConnection()

DataExecution::Connection & getConnection ( ) const
inline

◆ getIndex()

int getIndex ( ) const
inline