]> SALOME platform Git repositories - samples/dsccode.git/blob - src/FLUIDE/FLUIDE.hxx
Salome HOME
initial import into CVS
[samples/dsccode.git] / src / FLUIDE / FLUIDE.hxx
1 #ifndef _FLUIDE_HXX_
2 #define _FLUIDE_HXX_
3
4 #include "Superv_Component_i.hxx"
5 #include "DSCCODE.hh"
6
7 class FLUIDE_i:
8   public virtual POA_DSCCODE::FLUIDE,
9   public virtual Superv_Component_i
10 {
11   public:
12     FLUIDE_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, 
13               PortableServer::ObjectId * contId, 
14                     const char *instanceName, const char *interfaceName);
15     virtual ~FLUIDE_i();
16     CORBA::Boolean init_service(const char * service_name);
17     void prun();
18     void trun(CORBA::Double dt);
19 };
20
21 extern "C"
22 {
23     PortableServer::ObjectId * FLUIDEEngine_factory( CORBA::ORB_ptr orb, 
24                                                       PortableServer::POA_ptr poa, 
25                                                       PortableServer::ObjectId * contId,
26                                                             const char *instanceName, 
27                                                       const char *interfaceName);
28 }
29 #endif