]> SALOME platform Git repositories - samples/dsccode.git/blob - src/DSCCODDENG/DSCCODDENG.hxx
Salome HOME
Synchronize adm files
[samples/dsccode.git] / src / DSCCODDENG / DSCCODDENG.hxx
1 #ifndef _DSCCODDENG_HXX_
2 #define _DSCCODDENG_HXX_
3
4 #include "Superv_Component_i.hxx"
5 #include "DSCCODE.hh"
6 #include "data_short_port_uses.hxx"
7 #include "data_short_port_provides.hxx"
8
9 class DSCCODD_i:
10   public virtual POA_DSCCODE::DSCCODD,
11   public virtual Superv_Component_i
12 {
13   public:
14     DSCCODD_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, 
15               PortableServer::ObjectId * contId, 
16                     const char *instanceName, const char *interfaceName);
17     virtual ~DSCCODD_i();
18     CORBA::Boolean init_service(const char * service_name);
19     void prun(CORBA::Long niter);
20     void trun(CORBA::Long niter);
21 };
22
23 extern "C"
24 {
25     PortableServer::ObjectId * DSCCODDEngine_factory( CORBA::ORB_ptr orb, 
26                                                       PortableServer::POA_ptr poa, 
27                                                       PortableServer::ObjectId * contId,
28                                                             const char *instanceName, 
29                                                       const char *interfaceName);
30 }
31 #endif