17 #ifndef CRL_GRAPHIC_TOOL_H 18 #define CRL_GRAPHIC_TOOL_H 27 #include "hurricane/Error.h" 28 #include "hurricane/viewer/CellWidget.h" 29 #include "hurricane/viewer/ExceptionWidget.h" 49 using Hurricane::ExceptionWidget;
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;
92 inline GraphicTool::DrawGoFunctions::DrawGoFunctions ( CellWidget::InitExtensionGo_t* init
93 , CellWidget::DrawExtensionGo_t* draw
99 inline CellWidget::DrawExtensionGo_t* GraphicTool::DrawGoFunctions::getDraw ()
const 102 inline CellWidget::InitExtensionGo_t* GraphicTool::DrawGoFunctions::getInit ()
const 105 inline const GraphicTool::DrawGoMap& GraphicTool::getDrawGos ()
const 106 {
return _drawGoMap; }
111 #endif // CRL_GRAPHIC_TOOL_H
The namespace of Coriolis Core.
Definition: Environment.h:24