4 #include "alglin.hxx"
\r
5 #include <SALOMEconfig.h>
\r
6 #include CORBA_SERVER_HEADER(alglin)
\r
7 #include "SALOME_Component_i.hxx"
\r
9 class AlgLin_i : public POA_Engines::AlgLin,
\r
10 public Engines_Component_i {
\r
18 AlgLin_i(CORBA::ORB_ptr orb,
\r
19 PortableServer::POA_ptr poa,
\r
20 PortableServer::ObjectId * contId,
\r
21 const char *instanceName,
\r
22 const char *interfaceName);
\r
24 virtual ~AlgLin_i();
\r
26 void addvec(Engines::vecteur_out C,
\r
27 const Engines::vecteur& A,
\r
28 const Engines::vecteur& B);
\r
30 CORBA::Double prdscl(const Engines::vecteur& A,
\r
31 const Engines::vecteur& B);
\r
33 Engines::vecteur* create_vector(CORBA::Long n);
\r
34 void destroy_vector(const Engines::vecteur& V);
\r
40 PortableServer::ObjectId *
\r
41 AlgLinEngine_factory(CORBA::ORB_ptr orb ,
\r
42 PortableServer::POA_ptr poa ,
\r
43 PortableServer::ObjectId * contId ,
\r
44 const char *instanceName ,
\r
45 const char *interfaceName );
\r