##// END OF EJS Templates
Separate the initialization of the properties of the graph of the update of the units of the graph....
Separate the initialization of the properties of the graph of the update of the units of the graph. The initialization of the properties is carried out when adding a variable in the graph, the update of the units is carried out when loading the data of this variable

File last commit:

r730:2d96f9af06b9
r1337:3acf26407503
Show More
IGraphSynchronizer.h
24 lines | 760 B | text/x-c | CLexer
Alexandre Leroux
Sets sames margin sides for graphs in a same zone
r730 #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