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

A InformationDockElementStrategy to display information about a CollectiveCommunicationEvent. More...

#include <InformationDockCollectiveCommunicationStrategy.hpp>

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

Public Member Functions

void setup (QFormLayout *layout) override
 Sets up the QFormLayout. More...
 
void updateView (QFormLayout *layout, CollectiveCommunicationEvent *element) override
 Updates the view. More...
 
std::string title () override
 Returns the title the information dock should show. More...
 
- Public Member Functions inherited from InformationDockElementBaseStrategy< CollectiveCommunicationEvent >
virtual CollectiveCommunicationEventapplicable (TimedElement *t)
 Checks if the strategy is applicable for an element and returns the casted element if so. More...
 
void setup (QFormLayout *layout) override
 Sets up the QFormLayout. More...
 
virtual void updateView (QFormLayout *layout, CollectiveCommunicationEvent *element)
 Updates the view. More...
 
bool update (QFormLayout *layout, TimedElement *element) override
 Sets up the QFormLayout. More...
 
std::string title () override
 Returns the title the information dock should show. More...
 
virtual void setup (QFormLayout *)
 Sets up the QFormLayout. More...
 
virtual bool update (QFormLayout *, TimedElement *)
 Updates the view to show details about a newly selected element. More...
 
virtual std::string title ()
 Returns the title the information dock should show. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from InformationDockElementBaseStrategy< CollectiveCommunicationEvent >
static QString tr (const char *s, const char *c=nullptr, int n=-1)
 
- Protected Attributes inherited from InformationDockElementBaseStrategy< CollectiveCommunicationEvent >
TimeUnitLabelstartField
 
TimeUnitLabelendField
 
TimeUnitLabelruntimeField
 

Detailed Description

A InformationDockElementStrategy to display information about a CollectiveCommunicationEvent.

Definition at line 28 of file InformationDockCollectiveCommunicationStrategy.hpp.

Member Function Documentation

◆ setup()

void InformationDockCollectiveCommunicationStrategy::setup ( QFormLayout *  layout)
overridevirtual

Sets up the QFormLayout.

In derived classes this function should be overwritten and fields and rows should be added to the form layout.

Parameters
layoutThe layout of the detailed window pane

Reimplemented from InformationDockElementStrategy.

Definition at line 22 of file InformationDockCollectiveCommunicationStrategy.cpp.

◆ title()

std::string InformationDockCollectiveCommunicationStrategy::title ( )
overridevirtual

Returns the title the information dock should show.

Returns
The title for the information dock should show

Reimplemented from InformationDockElementStrategy.

Definition at line 70 of file InformationDockCollectiveCommunicationStrategy.cpp.

◆ updateView()

void InformationDockCollectiveCommunicationStrategy::updateView ( QFormLayout *  layout,
CollectiveCommunicationEvent element 
)
override

Updates the view.

Derived classes should overwrite this function but call the base implementation as it updates the time fields. The element pointer is guaranteed to be not null.

Parameters
layoutThe layout of the detailed window pane
elementThe newly selected element

Definition at line 34 of file InformationDockCollectiveCommunicationStrategy.cpp.


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