X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_Graph2D%2FINC%2Fmodel%2FGraphObserver_I.h;fp=WCudaMSE%2FAPI_Bilat_Graph2D%2FINC%2Fmodel%2FGraphObserver_I.h;h=84ffdba5fa747e9431b524af81dd8b4882445489;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_Graph2D/INC/model/GraphObserver_I.h b/WCudaMSE/API_Bilat_Graph2D/INC/model/GraphObserver_I.h new file mode 100755 index 0000000..84ffdba --- /dev/null +++ b/WCudaMSE/API_Bilat_Graph2D/INC/model/GraphObserver_I.h @@ -0,0 +1,45 @@ +#ifndef GRAPH_OBSERVER_I_H_ +#define GRAPH_OBSERVER_I_H_ + +#include "envGraph.h" +#include "Figure.h" + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +class CBI_GRAPH GraphObserver_I + { + public: + + /*--------------------------------------*\ + |* Destructor *| + \*-------------------------------------*/ + + virtual ~GraphObserver_I() + { + } + + /*--------------------------------------*\ + |* Methodes *| + \*-------------------------------------*/ + + public: + + virtual void onFigureAdd(Figure* ptrFigure)=0; + + virtual void onFigureRemove(Figure* ptrFigure)=0; + + virtual void update()=0; + + }; + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/