// This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __ParaMEDMEMComponent_hh__
#define __ParaMEDMEMComponent_hh__

#ifndef __CORBA_H_EXTERNAL_GUARD__
#include <omniORB4/CORBA.h>
#endif

#ifndef  USE_stub_in_nt_dll
# define USE_stub_in_nt_dll_NOT_DEFINED_ParaMEDMEMComponent
#endif
#ifndef  USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_ParaMEDMEMComponent
#endif
#ifndef  USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_ParaMEDMEMComponent
#endif



#ifndef __SALOME__Exception_hh_EXTERNAL_GUARD__
#define __SALOME__Exception_hh_EXTERNAL_GUARD__
#include <SALOME_Exception.hh>
#endif
#ifndef __SALOME__GenericObj_hh_EXTERNAL_GUARD__
#define __SALOME__GenericObj_hh_EXTERNAL_GUARD__
#include <SALOME_GenericObj.hh>
#endif
#ifndef __SALOMEDS_hh_EXTERNAL_GUARD__
#define __SALOMEDS_hh_EXTERNAL_GUARD__
#include <SALOMEDS.hh>
#endif
#ifndef __SALOME__PyNode_hh_EXTERNAL_GUARD__
#define __SALOME__PyNode_hh_EXTERNAL_GUARD__
#include <SALOME_PyNode.hh>
#endif
#ifndef __SALOME__Component_hh_EXTERNAL_GUARD__
#define __SALOME__Component_hh_EXTERNAL_GUARD__
#include <SALOME_Component.hh>
#endif
#ifndef __SALOME__MPIObject_hh_EXTERNAL_GUARD__
#define __SALOME__MPIObject_hh_EXTERNAL_GUARD__
#include <SALOME_MPIObject.hh>
#endif
#ifndef __MEDCouplingCorbaServant_hh_EXTERNAL_GUARD__
#define __MEDCouplingCorbaServant_hh_EXTERNAL_GUARD__
#include <MEDCouplingCorbaServant.hh>
#endif
#ifndef __ParaMEDCouplingCorbaServant_hh_EXTERNAL_GUARD__
#define __ParaMEDCouplingCorbaServant_hh_EXTERNAL_GUARD__
#include <ParaMEDCouplingCorbaServant.hh>
#endif



#ifdef USE_stub_in_nt_dll
# ifndef USE_core_stub_in_nt_dll
#  define USE_core_stub_in_nt_dll
# endif
# ifndef USE_dyn_stub_in_nt_dll
#  define USE_dyn_stub_in_nt_dll
# endif
#endif

#ifdef _core_attr
# error "A local CPP macro _core_attr has already been defined."
#else
# ifdef  USE_core_stub_in_nt_dll
#  define _core_attr _OMNIORB_NTDLL_IMPORT
# else
#  define _core_attr
# endif
#endif

#ifdef _dyn_attr
# error "A local CPP macro _dyn_attr has already been defined."
#else
# ifdef  USE_dyn_stub_in_nt_dll
#  define _dyn_attr _OMNIORB_NTDLL_IMPORT
# else
#  define _dyn_attr
# endif
#endif





_CORBA_MODULE SALOME_MED

_CORBA_MODULE_BEG

#ifndef __SALOME__MED_mMPIMEDCouplingFieldDoubleCorbaInterface__
#define __SALOME__MED_mMPIMEDCouplingFieldDoubleCorbaInterface__

  class MPIMEDCouplingFieldDoubleCorbaInterface;
  class _objref_MPIMEDCouplingFieldDoubleCorbaInterface;
  class _impl_MPIMEDCouplingFieldDoubleCorbaInterface;
  
  typedef _objref_MPIMEDCouplingFieldDoubleCorbaInterface* MPIMEDCouplingFieldDoubleCorbaInterface_ptr;
  typedef MPIMEDCouplingFieldDoubleCorbaInterface_ptr MPIMEDCouplingFieldDoubleCorbaInterfaceRef;

  class MPIMEDCouplingFieldDoubleCorbaInterface_Helper {
  public:
    typedef MPIMEDCouplingFieldDoubleCorbaInterface_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_MPIMEDCouplingFieldDoubleCorbaInterface, MPIMEDCouplingFieldDoubleCorbaInterface_Helper> MPIMEDCouplingFieldDoubleCorbaInterface_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_MPIMEDCouplingFieldDoubleCorbaInterface,MPIMEDCouplingFieldDoubleCorbaInterface_Helper > MPIMEDCouplingFieldDoubleCorbaInterface_out;

#endif

  // interface MPIMEDCouplingFieldDoubleCorbaInterface
  class MPIMEDCouplingFieldDoubleCorbaInterface {
  public:
    // Declarations for this interface type.
    typedef MPIMEDCouplingFieldDoubleCorbaInterface_ptr _ptr_type;
    typedef MPIMEDCouplingFieldDoubleCorbaInterface_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_MPIMEDCouplingFieldDoubleCorbaInterface :
    public virtual _objref_ParaMEDCouplingFieldDoubleCorbaInterface
  {
  public:
    void getDataByMPI(const char* coupling);

    inline _objref_MPIMEDCouplingFieldDoubleCorbaInterface()  { _PR_setobj(0); }  // nil
    _objref_MPIMEDCouplingFieldDoubleCorbaInterface(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_MPIMEDCouplingFieldDoubleCorbaInterface();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_MPIMEDCouplingFieldDoubleCorbaInterface(const _objref_MPIMEDCouplingFieldDoubleCorbaInterface&);
    _objref_MPIMEDCouplingFieldDoubleCorbaInterface& operator = (const _objref_MPIMEDCouplingFieldDoubleCorbaInterface&);
    // not implemented

    friend class MPIMEDCouplingFieldDoubleCorbaInterface;
  };

  class _pof_MPIMEDCouplingFieldDoubleCorbaInterface : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_MPIMEDCouplingFieldDoubleCorbaInterface() : _OMNI_NS(proxyObjectFactory)(MPIMEDCouplingFieldDoubleCorbaInterface::_PD_repoId) {}
    virtual ~_pof_MPIMEDCouplingFieldDoubleCorbaInterface();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_MPIMEDCouplingFieldDoubleCorbaInterface :
    public virtual _impl_ParaMEDCouplingFieldDoubleCorbaInterface
  {
  public:
    virtual ~_impl_MPIMEDCouplingFieldDoubleCorbaInterface();

    virtual void getDataByMPI(const char* coupling) = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_MPIMEDCouplingFieldDoubleCorbaInterface;

#ifndef __SALOME__MED_mParaMEDMEMComponent__
#define __SALOME__MED_mParaMEDMEMComponent__

  class ParaMEDMEMComponent;
  class _objref_ParaMEDMEMComponent;
  class _impl_ParaMEDMEMComponent;
  
  typedef _objref_ParaMEDMEMComponent* ParaMEDMEMComponent_ptr;
  typedef ParaMEDMEMComponent_ptr ParaMEDMEMComponentRef;

  class ParaMEDMEMComponent_Helper {
  public:
    typedef ParaMEDMEMComponent_ptr _ptr_type;

    static _ptr_type _nil();
    static _CORBA_Boolean is_nil(_ptr_type);
    static void release(_ptr_type);
    static void duplicate(_ptr_type);
    static void marshalObjRef(_ptr_type, cdrStream&);
    static _ptr_type unmarshalObjRef(cdrStream&);
  };

  typedef _CORBA_ObjRef_Var<_objref_ParaMEDMEMComponent, ParaMEDMEMComponent_Helper> ParaMEDMEMComponent_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_ParaMEDMEMComponent,ParaMEDMEMComponent_Helper > ParaMEDMEMComponent_out;

#endif

  // interface ParaMEDMEMComponent
  class ParaMEDMEMComponent {
  public:
    // Declarations for this interface type.
    typedef ParaMEDMEMComponent_ptr _ptr_type;
    typedef ParaMEDMEMComponent_var _var_type;

    static _ptr_type _duplicate(_ptr_type);
    static _ptr_type _narrow(::CORBA::Object_ptr);
    static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
    
    static _ptr_type _nil();

    static inline void _marshalObjRef(_ptr_type, cdrStream&);

    static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
      omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
      if (o)
        return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
      else
        return _nil();
    }

    static _core_attr const char* _PD_repoId;

    // Other IDL defined within this scope.
    
  };

  class _objref_ParaMEDMEMComponent :
    public virtual Engines::_objref_Component,
    public virtual Engines::_objref_MPIObject
  {
  public:
    void setInterpolationOptions(const char* coupling, ::CORBA::Long print_level, const char* intersection_type, ::CORBA::Double precision, ::CORBA::Double median_plane, ::CORBA::Boolean do_rotate, ::CORBA::Double bounding_box_adjustment, ::CORBA::Double bounding_box_adjustment_abs, ::CORBA::Double max_distance_for_3Dsurf_intersect, ::CORBA::Long orientation, ::CORBA::Boolean measure_abs, const char* splitting_policy, ::CORBA::Boolean P1P0_bary_method);
    void initializeCoupling(const char* coupling);
    void terminateCoupling(const char* coupling);

    inline _objref_ParaMEDMEMComponent()  { _PR_setobj(0); }  // nil
    _objref_ParaMEDMEMComponent(omniIOR*, omniIdentity*);

  protected:
    virtual ~_objref_ParaMEDMEMComponent();

    
  private:
    virtual void* _ptrToObjRef(const char*);

    _objref_ParaMEDMEMComponent(const _objref_ParaMEDMEMComponent&);
    _objref_ParaMEDMEMComponent& operator = (const _objref_ParaMEDMEMComponent&);
    // not implemented

    friend class ParaMEDMEMComponent;
  };

  class _pof_ParaMEDMEMComponent : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_ParaMEDMEMComponent() : _OMNI_NS(proxyObjectFactory)(ParaMEDMEMComponent::_PD_repoId) {}
    virtual ~_pof_ParaMEDMEMComponent();

    virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
    virtual _CORBA_Boolean is_a(const char*) const;
  };

  class _impl_ParaMEDMEMComponent :
    public virtual Engines::_impl_Component,
    public virtual Engines::_impl_MPIObject
  {
  public:
    virtual ~_impl_ParaMEDMEMComponent();

    virtual void setInterpolationOptions(const char* coupling, ::CORBA::Long print_level, const char* intersection_type, ::CORBA::Double precision, ::CORBA::Double median_plane, ::CORBA::Boolean do_rotate, ::CORBA::Double bounding_box_adjustment, ::CORBA::Double bounding_box_adjustment_abs, ::CORBA::Double max_distance_for_3Dsurf_intersect, ::CORBA::Long orientation, ::CORBA::Boolean measure_abs, const char* splitting_policy, ::CORBA::Boolean P1P0_bary_method) = 0;
    virtual void initializeCoupling(const char* coupling) = 0;
    virtual void terminateCoupling(const char* coupling) = 0;
    
  public:  // Really protected, workaround for xlC
    virtual _CORBA_Boolean _dispatch(omniCallHandle&);

  private:
    virtual void* _ptrToInterface(const char*);
    virtual const char* _mostDerivedRepoId();
    
  };


  _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ParaMEDMEMComponent;

_CORBA_MODULE_END



_CORBA_MODULE POA_SALOME_MED
_CORBA_MODULE_BEG

  class MPIMEDCouplingFieldDoubleCorbaInterface :
    public virtual SALOME_MED::_impl_MPIMEDCouplingFieldDoubleCorbaInterface,
    public virtual ParaMEDCouplingFieldDoubleCorbaInterface
  {
  public:
    virtual ~MPIMEDCouplingFieldDoubleCorbaInterface();

    inline ::SALOME_MED::MPIMEDCouplingFieldDoubleCorbaInterface_ptr _this() {
      return (::SALOME_MED::MPIMEDCouplingFieldDoubleCorbaInterface_ptr) _do_this(::SALOME_MED::MPIMEDCouplingFieldDoubleCorbaInterface::_PD_repoId);
    }
  };

  class ParaMEDMEMComponent :
    public virtual SALOME_MED::_impl_ParaMEDMEMComponent,
    public virtual POA_Engines::Component,
      public virtual POA_Engines::MPIObject
  {
  public:
    virtual ~ParaMEDMEMComponent();

    inline ::SALOME_MED::ParaMEDMEMComponent_ptr _this() {
      return (::SALOME_MED::ParaMEDMEMComponent_ptr) _do_this(::SALOME_MED::ParaMEDMEMComponent::_PD_repoId);
    }
  };

_CORBA_MODULE_END



_CORBA_MODULE OBV_SALOME_MED
_CORBA_MODULE_BEG

_CORBA_MODULE_END





#undef _core_attr
#undef _dyn_attr

void operator<<=(::CORBA::Any& _a, SALOME_MED::MPIMEDCouplingFieldDoubleCorbaInterface_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOME_MED::MPIMEDCouplingFieldDoubleCorbaInterface_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOME_MED::MPIMEDCouplingFieldDoubleCorbaInterface_ptr& _s);

void operator<<=(::CORBA::Any& _a, SALOME_MED::ParaMEDMEMComponent_ptr _s);
void operator<<=(::CORBA::Any& _a, SALOME_MED::ParaMEDMEMComponent_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, SALOME_MED::ParaMEDMEMComponent_ptr& _s);



inline void
SALOME_MED::MPIMEDCouplingFieldDoubleCorbaInterface::_marshalObjRef(::SALOME_MED::MPIMEDCouplingFieldDoubleCorbaInterface_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
SALOME_MED::ParaMEDMEMComponent::_marshalObjRef(::SALOME_MED::ParaMEDMEMComponent_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}




#ifdef   USE_stub_in_nt_dll_NOT_DEFINED_ParaMEDMEMComponent
# undef  USE_stub_in_nt_dll
# undef  USE_stub_in_nt_dll_NOT_DEFINED_ParaMEDMEMComponent
#endif
#ifdef   USE_core_stub_in_nt_dll_NOT_DEFINED_ParaMEDMEMComponent
# undef  USE_core_stub_in_nt_dll
# undef  USE_core_stub_in_nt_dll_NOT_DEFINED_ParaMEDMEMComponent
#endif
#ifdef   USE_dyn_stub_in_nt_dll_NOT_DEFINED_ParaMEDMEMComponent
# undef  USE_dyn_stub_in_nt_dll
# undef  USE_dyn_stub_in_nt_dll_NOT_DEFINED_ParaMEDMEMComponent
#endif

#endif  // __ParaMEDMEMComponent_hh__

