Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / src / HEXABLOCK_I / HexHexa_impl.hxx
1 #ifndef __HexHexa_impl__
2 #define __HexHexa_impl__
3
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(Hexa)
6 #include "SALOME_GenericObj_i.hh"
7
8 #include "hexa_base.hxx"
9 #include "HexHexa.hxx"
10
11 using namespace HEXABLOCK_ORB;
12
13 class Hexa_impl : public POA_HEXABLOCK_ORB::Hexa,
14                     public SALOME::GenericObj_i
15 {
16 public:
17   Hexa_impl(HEXA_NS::Hexa *ptrCpp);
18   HEXA_NS::Hexa* GetImpl() throw (SALOME::SALOME_Exception);
19
20   Quad_ptr getQuad(::CORBA::Long n) throw (SALOME::SALOME_Exception);
21   Edge_ptr getEdge(::CORBA::Long n) throw (SALOME::SALOME_Exception);
22   Vertex_ptr getVertex(::CORBA::Long n) throw (SALOME::SALOME_Exception);
23
24   void setScalar( ::CORBA::Double val ) throw (SALOME::SALOME_Exception);
25   void dump() throw (SALOME::SALOME_Exception);
26   void printName() throw (SALOME::SALOME_Exception);
27 private:
28   HEXA_NS::Hexa *_hexa_cpp;
29 };
30
31 #endif