55 class GraphicTool :
public QObject {
59 class DrawGoFunctions {
61 CellWidget::InitExtensionGo_t* _init;
62 CellWidget::DrawExtensionGo_t* _draw;
64 inline DrawGoFunctions ( CellWidget::InitExtensionGo_t*
65 , CellWidget::DrawExtensionGo_t*
67 inline CellWidget::DrawExtensionGo_t* getDraw ()
const;
68 inline CellWidget::InitExtensionGo_t* getInit ()
const;
71 typedef map<Name,DrawGoFunctions> DrawGoMap;
73 void addDrawGo (
const Name&
74 , CellWidget::InitExtensionGo_t*
75 , CellWidget::DrawExtensionGo_t*
77 DrawGoFunctions* getDrawGo (
const Name& );
78 inline const DrawGoMap& getDrawGos ()
const;
81 virtual size_t release () = 0;
83 map<Name,DrawGoFunctions> _drawGoMap;
86 virtual ~GraphicTool ();