Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / src / HEXABLOCK_I / HexPipe_impl.hxx
1 #ifndef __HexPipe_impl__
2 #define __HexPipe_impl__
3
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(Pipe)
6 #include "SALOME_GenericObj_i.hh"
7
8 #include "hexa_base.hxx"
9 #include "HexPipe.hxx"
10
11 using namespace HEXABLOCK_ORB;
12
13 class Pipe_impl : public POA_HEXABLOCK_ORB::Pipe,
14                   public SALOME::GenericObj_i
15 {
16 public:
17   Pipe_impl(HEXA_NS::Pipe *ptrCpp);
18   HEXA_NS::Pipe* GetImpl() throw (SALOME::SALOME_Exception);
19
20   Vertex_ptr getBase() throw (SALOME::SALOME_Exception);
21   Vector_ptr getDirection() throw (SALOME::SALOME_Exception);
22   ::CORBA::Double getInternal_radius() throw (SALOME::SALOME_Exception);
23   ::CORBA::Double getRadius() throw (SALOME::SALOME_Exception);
24   ::CORBA::Double getHeight() throw (SALOME::SALOME_Exception);
25   void dump() throw (SALOME::SALOME_Exception);
26   void printName() throw (SALOME::SALOME_Exception);
27
28 private:
29   HEXA_NS::Pipe *_pipe_cpp;
30 };
31
32 #endif