Salome HOME
PAL7360
[modules/geom.git] / src / GEOM_I / GEOM_IOperations_i.hh
1
2 #ifndef _GEOM_IOperations_i_HeaderFile
3 #define _GEOM_IOperations_i_HeaderFile
4
5
6 #include <SALOMEconfig.h>
7
8 #include CORBA_SERVER_HEADER(GEOM_Gen)
9 #include "SALOME_GenericObj_i.hh" 
10 #include "GEOM_IOperations.hxx"
11 #include "GEOM_Object_i.hh" 
12 #include "GEOM_Object.hxx"
13
14 class GEOM_IOperations_i : public virtual POA_GEOM::GEOM_IOperations, public virtual SALOME::GenericObj_i
15 {
16  public:
17   GEOM_IOperations_i(PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, ::GEOM_IOperations* theImpl);
18   ~GEOM_IOperations_i();
19   
20   virtual CORBA::Boolean IsDone();
21   
22   virtual void SetErrorCode(const  char* theErrorCode);
23   
24   virtual char* GetErrorCode();
25
26   virtual CORBA::Long GetStudyID();    
27
28   virtual GEOM::GEOM_Object_ptr GetObject(Handle(GEOM_Object) theObject);
29
30   virtual void StartOperation();
31
32   virtual void FinishOperation();
33
34   virtual void AbortOperation();
35
36
37    ::GEOM_IOperations* GetImpl() { return _impl; }
38
39  private:
40  
41   ::GEOM_IOperations* _impl;
42   GEOM::GEOM_Gen_ptr _engine;     
43 };
44
45 #endif