// This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __SALOME__PACOExtension_hh__
#define __SALOME__PACOExtension_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_SALOME__PACOExtension
#endif
#ifndef  USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_SALOME__PACOExtension
#endif
#ifndef  USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_SALOME__PACOExtension
#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__Ports_hh_EXTERNAL_GUARD__
#define __SALOME__Ports_hh_EXTERNAL_GUARD__
#include <SALOME_Ports.hh>
#endif
#ifndef __DSC__Engines_hh_EXTERNAL_GUARD__
#define __DSC__Engines_hh_EXTERNAL_GUARD__
#include <DSC_Engines.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 Engines

_CORBA_MODULE_BEG

#ifndef __Engines_mParallel__Component__
#define __Engines_mParallel__Component__

  class Parallel_Component;
  class _objref_Parallel_Component;
  class _impl_Parallel_Component;
  
  typedef _objref_Parallel_Component* Parallel_Component_ptr;
  typedef Parallel_Component_ptr Parallel_ComponentRef;

  class Parallel_Component_Helper {
  public:
    typedef Parallel_Component_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_Parallel_Component, Parallel_Component_Helper> Parallel_Component_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_Parallel_Component,Parallel_Component_Helper > Parallel_Component_out;

#endif

  // interface Parallel_Component
  class Parallel_Component {
  public:
    // Declarations for this interface type.
    typedef Parallel_Component_ptr _ptr_type;
    typedef Parallel_Component_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_Parallel_Component :
    public virtual _objref_Component
  {
  public:
    void send_parallel_proxy_object(::CORBA::Object_ptr proxy_ref);

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

  protected:
    virtual ~_objref_Parallel_Component();

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

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

    friend class Parallel_Component;
  };

  class _pof_Parallel_Component : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_Parallel_Component() : _OMNI_NS(proxyObjectFactory)(Parallel_Component::_PD_repoId) {}
    virtual ~_pof_Parallel_Component();

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

  class _impl_Parallel_Component :
    public virtual _impl_Component
  {
  public:
    virtual ~_impl_Parallel_Component();

    virtual void send_parallel_proxy_object(::CORBA::Object_ptr proxy_ref) = 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_Parallel_Component;

#ifndef __Engines_mPACO__Container__
#define __Engines_mPACO__Container__

  class PACO_Container;
  class _objref_PACO_Container;
  class _impl_PACO_Container;
  
  typedef _objref_PACO_Container* PACO_Container_ptr;
  typedef PACO_Container_ptr PACO_ContainerRef;

  class PACO_Container_Helper {
  public:
    typedef PACO_Container_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_PACO_Container, PACO_Container_Helper> PACO_Container_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_PACO_Container,PACO_Container_Helper > PACO_Container_out;

#endif

  // interface PACO_Container
  class PACO_Container {
  public:
    // Declarations for this interface type.
    typedef PACO_Container_ptr _ptr_type;
    typedef PACO_Container_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_PACO_Container :
    public virtual _objref_Container
  {
  public:
    void create_paco_component_node_instance(const char* registeredName, const char* proxy_containerName, ::CORBA::Long studyId);
    void updateInstanceNumber();

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

  protected:
    virtual ~_objref_PACO_Container();

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

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

    friend class PACO_Container;
  };

  class _pof_PACO_Container : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_PACO_Container() : _OMNI_NS(proxyObjectFactory)(PACO_Container::_PD_repoId) {}
    virtual ~_pof_PACO_Container();

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

  class _impl_PACO_Container :
    public virtual _impl_Container
  {
  public:
    virtual ~_impl_PACO_Container();

    virtual void create_paco_component_node_instance(const char* registeredName, const char* proxy_containerName, ::CORBA::Long studyId) = 0;
    virtual void updateInstanceNumber() = 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_PACO_Container;

#ifndef __Engines_mParallel__DSC__
#define __Engines_mParallel__DSC__

  class Parallel_DSC;
  class _objref_Parallel_DSC;
  class _impl_Parallel_DSC;
  
  typedef _objref_Parallel_DSC* Parallel_DSC_ptr;
  typedef Parallel_DSC_ptr Parallel_DSCRef;

  class Parallel_DSC_Helper {
  public:
    typedef Parallel_DSC_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_Parallel_DSC, Parallel_DSC_Helper> Parallel_DSC_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_Parallel_DSC,Parallel_DSC_Helper > Parallel_DSC_out;

#endif

  // interface Parallel_DSC
  class Parallel_DSC {
  public:
    // Declarations for this interface type.
    typedef Parallel_DSC_ptr _ptr_type;
    typedef Parallel_DSC_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_Parallel_DSC :
    public virtual _objref_Superv_Component,
    public virtual _objref_Parallel_Component
  {
  public:
    void set_paco_proxy(::CORBA::Object_ptr ref, const char* provides_port_name, ::Ports::PortProperties_ptr port_prop);

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

  protected:
    virtual ~_objref_Parallel_DSC();

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

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

    friend class Parallel_DSC;
  };

  class _pof_Parallel_DSC : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_Parallel_DSC() : _OMNI_NS(proxyObjectFactory)(Parallel_DSC::_PD_repoId) {}
    virtual ~_pof_Parallel_DSC();

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

  class _impl_Parallel_DSC :
    public virtual _impl_Superv_Component,
    public virtual _impl_Parallel_Component
  {
  public:
    virtual ~_impl_Parallel_DSC();

    virtual void set_paco_proxy(::CORBA::Object_ptr ref, const char* provides_port_name, ::Ports::PortProperties_ptr port_prop) = 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_Parallel_DSC;

#ifndef __Engines_mParallel__Salome__file__
#define __Engines_mParallel__Salome__file__

  class Parallel_Salome_file;
  class _objref_Parallel_Salome_file;
  class _impl_Parallel_Salome_file;
  
  typedef _objref_Parallel_Salome_file* Parallel_Salome_file_ptr;
  typedef Parallel_Salome_file_ptr Parallel_Salome_fileRef;

  class Parallel_Salome_file_Helper {
  public:
    typedef Parallel_Salome_file_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_Parallel_Salome_file, Parallel_Salome_file_Helper> Parallel_Salome_file_var;
  typedef _CORBA_ObjRef_OUT_arg<_objref_Parallel_Salome_file,Parallel_Salome_file_Helper > Parallel_Salome_file_out;

#endif

  // interface Parallel_Salome_file
  class Parallel_Salome_file {
  public:
    // Declarations for this interface type.
    typedef Parallel_Salome_file_ptr _ptr_type;
    typedef Parallel_Salome_file_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_Parallel_Salome_file :
    public virtual _objref_Salome_file
  {
  public:
    void setFileNode(const char* file_name, ::CORBA::Long node_nbr);
    ::CORBA::Long getFileNode(const char* file_name);
    Container_ptr updateFile(const ::Engines::file& new_file);
    void recvFiles_node();

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

  protected:
    virtual ~_objref_Parallel_Salome_file();

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

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

    friend class Parallel_Salome_file;
  };

  class _pof_Parallel_Salome_file : public _OMNI_NS(proxyObjectFactory) {
  public:
    inline _pof_Parallel_Salome_file() : _OMNI_NS(proxyObjectFactory)(Parallel_Salome_file::_PD_repoId) {}
    virtual ~_pof_Parallel_Salome_file();

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

  class _impl_Parallel_Salome_file :
    public virtual _impl_Salome_file
  {
  public:
    virtual ~_impl_Parallel_Salome_file();

    virtual void setFileNode(const char* file_name, ::CORBA::Long node_nbr) = 0;
    virtual ::CORBA::Long getFileNode(const char* file_name) = 0;
    virtual Container_ptr updateFile(const ::Engines::file& new_file) = 0;
    virtual void recvFiles_node() = 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_Parallel_Salome_file;

_CORBA_MODULE_END



_CORBA_MODULE POA_Engines
_CORBA_MODULE_BEG

  class Parallel_Component :
    public virtual Engines::_impl_Parallel_Component,
    public virtual Component
  {
  public:
    virtual ~Parallel_Component();

    inline ::Engines::Parallel_Component_ptr _this() {
      return (::Engines::Parallel_Component_ptr) _do_this(::Engines::Parallel_Component::_PD_repoId);
    }
  };

  class PACO_Container :
    public virtual Engines::_impl_PACO_Container,
    public virtual Container
  {
  public:
    virtual ~PACO_Container();

    inline ::Engines::PACO_Container_ptr _this() {
      return (::Engines::PACO_Container_ptr) _do_this(::Engines::PACO_Container::_PD_repoId);
    }
  };

  class Parallel_DSC :
    public virtual Engines::_impl_Parallel_DSC,
    public virtual Superv_Component,
      public virtual Parallel_Component
  {
  public:
    virtual ~Parallel_DSC();

    inline ::Engines::Parallel_DSC_ptr _this() {
      return (::Engines::Parallel_DSC_ptr) _do_this(::Engines::Parallel_DSC::_PD_repoId);
    }
  };

  class Parallel_Salome_file :
    public virtual Engines::_impl_Parallel_Salome_file,
    public virtual Salome_file
  {
  public:
    virtual ~Parallel_Salome_file();

    inline ::Engines::Parallel_Salome_file_ptr _this() {
      return (::Engines::Parallel_Salome_file_ptr) _do_this(::Engines::Parallel_Salome_file::_PD_repoId);
    }
  };

_CORBA_MODULE_END



_CORBA_MODULE OBV_Engines
_CORBA_MODULE_BEG

_CORBA_MODULE_END





#undef _core_attr
#undef _dyn_attr

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

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

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

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



inline void
Engines::Parallel_Component::_marshalObjRef(::Engines::Parallel_Component_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
Engines::PACO_Container::_marshalObjRef(::Engines::PACO_Container_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
Engines::Parallel_DSC::_marshalObjRef(::Engines::Parallel_DSC_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}


inline void
Engines::Parallel_Salome_file::_marshalObjRef(::Engines::Parallel_Salome_file_ptr obj, cdrStream& s) {
  omniObjRef::_marshal(obj->_PR_getobj(),s);
}




#ifdef   USE_stub_in_nt_dll_NOT_DEFINED_SALOME__PACOExtension
# undef  USE_stub_in_nt_dll
# undef  USE_stub_in_nt_dll_NOT_DEFINED_SALOME__PACOExtension
#endif
#ifdef   USE_core_stub_in_nt_dll_NOT_DEFINED_SALOME__PACOExtension
# undef  USE_core_stub_in_nt_dll
# undef  USE_core_stub_in_nt_dll_NOT_DEFINED_SALOME__PACOExtension
#endif
#ifdef   USE_dyn_stub_in_nt_dll_NOT_DEFINED_SALOME__PACOExtension
# undef  USE_dyn_stub_in_nt_dll
# undef  USE_dyn_stub_in_nt_dll_NOT_DEFINED_SALOME__PACOExtension
#endif

#endif  // __SALOME__PACOExtension_hh__

