]> SALOME platform Git repositories - samples/dsccode.git/blob - src/INTERPI/INTERPK.hxx
Salome HOME
Merge branch 'V9_13_BR'
[samples/dsccode.git] / src / INTERPI / INTERPK.hxx
1 #ifndef _INTERPK_HXX_
2 #define _INTERPK_HXX_
3
4 #include "Superv_Component_i.hxx"
5 #include "DSCCODE.hh"
6
7 class INTERPK_i:
8   public virtual POA_DSCCODE::INTERPI,
9   public virtual Superv_Component_i
10 {
11   public:
12     INTERPK_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, 
13               PortableServer::ObjectId * contId, 
14                     const char *instanceName, const char *interfaceName);
15     virtual ~INTERPK_i();
16     CORBA::Boolean init_service(const char * service_name);
17     void prun();
18     void trun();
19     void perma(Superv_Component_i * component);
20     void transit(Superv_Component_i * component);
21 };
22
23 extern "C"
24 {
25     PortableServer::ObjectId * INTERPKEngine_factory( CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId * contId, 
26                                                       const char *instanceName, const char *interfaceName);
27 }
28 #endif