Motiv
Marvelous OTF2 Traces Interactive Visualizer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SlotIndicator Class Reference

Indicator for collective communications. More...

#include <SlotIndicator.hpp>

Inheritance diagram for SlotIndicator:
Inheritance graph
[legend]
Collaboration diagram for SlotIndicator:
Collaboration graph
[legend]

Public Member Functions

 SlotIndicator (const QRectF &rect, Slot *representedSlot, QGraphicsItem *parent=nullptr)
 Creates a new instance of the SlotIndicator class. More...
 
- Public Member Functions inherited from GenericIndicator< Slot, QGraphicsRectItem >
 GenericIndicator (Slot *element, QGraphicsItem *parent=nullptr)
 
void setOnDoubleClick (const std::function< void(Slot *)> &fn)
 Registers a double click handler. More...
 
void setOnSelected (const std::function< void(Slot *)> &fn)
 Registers a select handler. More...
 

Additional Inherited Members

- Protected Member Functions inherited from GenericIndicator< Slot, QGraphicsRectItem >
void hoverEnterEvent (QGraphicsSceneHoverEvent *event) override
 
void hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override
 
void mousePressEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) override
 
virtual bool respondToEvent (QPointF)
 Checks whether the indicator should react to an event at a given point. More...
 

Detailed Description

Indicator for collective communications.

A slot is indicated by a rectangle.

Definition at line 34 of file SlotIndicator.hpp.

Constructor & Destructor Documentation

◆ SlotIndicator()

SlotIndicator::SlotIndicator ( const QRectF &  rect,
Slot representedSlot,
QGraphicsItem *  parent = nullptr 
)

Creates a new instance of the SlotIndicator class.

Parameters
rectThe rect the slot should be rendered
representedSlotThe Slot object the indicator is representing
parentThe parent QGraphicsItem

Definition at line 25 of file SlotIndicator.cpp.


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