Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / runtime / CORBACppConv.hxx
1 #ifndef __CORBACPPCONV_HXX__
2 #define __CORBACPPCONV_HXX__
3
4 #include <omniORB4/CORBA.h>
5
6 #include "InputPort.hxx"
7 #include "ConversionException.hxx"
8
9 namespace YACS
10 {
11   namespace ENGINE
12   {
13     // Adaptator Ports Corba->C++
14
15     class CorbaCpp : public ProxyPort
16     {
17     public:
18       CorbaCpp(InputPort* p);
19       virtual void put(const void *data) throw(ConversionException);
20       void put(CORBA::Any *data) throw(ConversionException);
21     };
22     int isAdaptableCppCorba(const TypeCode *t1,const TypeCode *t2);
23   }
24 }
25 #endif