##// END OF EJS Templates
[AppImage] Avoid simlinks in venv...
[AppImage] Avoid simlinks in venv Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1420:3c3e24550401
r1446:87ff4f2f123f
Show More
FindVariableOperation.h
43 lines | 1.4 KiB | text/x-c | CLexer
Alexandre Leroux
Prohibits the plot of a variable in several graphs (1)...
r735 #ifndef SCIQLOP_FINDVARIABLEOPERATION_H
#define SCIQLOP_FINDVARIABLEOPERATION_H
#include "Visualization/IVisualizationWidgetVisitor.h"
#include <Common/spimpl.h>
#include <set>
class IVisualizationWidget;
Switched to new TS impl but quite broken!...
r1420 class Variable2;
Alexandre Leroux
Prohibits the plot of a variable in several graphs (1)...
r735
/**
* @brief The FindVariableOperation class defines an operation that traverses all of visualization
* widgets to determine which ones contain the variable passed as parameter. The result of the
* operation is the list of widgets that contain the variable.
*/
Switched to new TS impl but quite broken!...
r1420 class FindVariableOperation : public IVisualizationWidgetVisitor
{
Alexandre Leroux
Prohibits the plot of a variable in several graphs (1)...
r735 public:
/**
* Ctor
* @param variable the variable to find
*/
Switched to new TS impl but quite broken!...
r1420 explicit FindVariableOperation(std::shared_ptr<Variable2> variable);
Alexandre Leroux
Prohibits the plot of a variable in several graphs (1)...
r735
Switched to new TS impl but quite broken!...
r1420 void visitEnter(VisualizationWidget* widget) override final;
void visitLeave(VisualizationWidget* widget) override final;
void visitEnter(VisualizationTabWidget* tabWidget) override final;
void visitLeave(VisualizationTabWidget* tabWidget) override final;
void visitEnter(VisualizationZoneWidget* zoneWidget) override final;
void visitLeave(VisualizationZoneWidget* zoneWidget) override final;
void visit(VisualizationGraphWidget* graphWidget) override final;
Alexandre Leroux
Prohibits the plot of a variable in several graphs (1)...
r735
/// @return the widgets that contain the variable
Switched to new TS impl but quite broken!...
r1420 std::set<IVisualizationWidget*> result() const noexcept;
Alexandre Leroux
Prohibits the plot of a variable in several graphs (1)...
r735
private:
class FindVariableOperationPrivate;
spimpl::unique_impl_ptr<FindVariableOperationPrivate> impl;
};
#endif // SCIQLOP_FINDVARIABLEOPERATION_H