##// END OF EJS Templates
Refactoring handling of axes properties (1)...
Refactoring handling of axes properties (1) Creates helper used to determine which properties to set for the graph axes, depending on the type of the data hold (properties will be different if it's scalars/vectors or spectrograms)

File last commit:

r730:2d96f9af06b9
r916:b92a8e838f6e
Show More
IGraphSynchronizer.h
24 lines | 760 B | text/x-c | CLexer
#ifndef SCIQLOP_IGRAPHSYNCHRONIZER_H
#define SCIQLOP_IGRAPHSYNCHRONIZER_H
class VisualizationGraphWidget;
/**
* @brief The IVisualizationSynchronizer interface represents a delegate used to manage the
* synchronization between graphs, applying them processes or properties to ensure their
* synchronization
*/
class IGraphSynchronizer {
public:
virtual ~IGraphSynchronizer() = default;
/**
* Adds a graph as a new synchronized element, and sets its properties so that its
* synchronization is maintained with all other graphs managed by the synchonizer
* @param graph the graph to add in the synchronization
*/
virtual void addGraph(VisualizationGraphWidget &graph) const = 0;
};
#endif // SCIQLOP_IGRAPHSYNCHRONIZER_H