Skip to content
Snippets Groups Projects
Select Git revision
  • 8e8719bfedf3c6cff0115c8d2fb6979dcf877fe6
  • master default protected
2 results

AmptekHardwareInterface_wrap.cpp

Blame
  • user avatar
    Christian authored
    - changed the directory structure to allow standard package install
    - fixed the setup.py to install the package, not only the script
    - changed the Tango Server filename to be without extension, to allow
    the Tango Starter Device to work with the server
    8e8719bf
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    AmptekHardwareInterface_wrap.cpp 617.15 KiB
    /* ----------------------------------------------------------------------------
     * This file was automatically generated by SWIG (http://www.swig.org).
     * Version 3.0.12
     *
     * This file is not intended to be easily readable and contains a number of
     * coding conventions designed to improve portability and efficiency. Do not make
     * changes to this file unless you know what you are doing--modify the SWIG
     * interface file instead.
     * ----------------------------------------------------------------------------- */
    
    
    #ifndef SWIGPYTHON
    #define SWIGPYTHON
    #endif
    
    #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
    
    
    #ifdef __cplusplus
    /* SwigValueWrapper is described in swig.swg */
    template<typename T> class SwigValueWrapper {
      struct SwigMovePointer {
        T *ptr;
        SwigMovePointer(T *p) : ptr(p) { }
        ~SwigMovePointer() { delete ptr; }
        SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
      } pointer;
      SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
      SwigValueWrapper(const SwigValueWrapper<T>& rhs);
    public:
      SwigValueWrapper() : pointer(0) { }
      SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
      operator T&() const { return *pointer.ptr; }
      T *operator&() { return pointer.ptr; }
    };
    
    template <typename T> T SwigValueInit() {
      return T();
    }
    #endif
    
    /* -----------------------------------------------------------------------------
     *  This section contains generic SWIG labels for method/variable
     *  declarations/attributes, and other compiler dependent labels.
     * ----------------------------------------------------------------------------- */
    
    /* template workaround for compilers that cannot correctly implement the C++ standard */
    #ifndef SWIGTEMPLATEDISAMBIGUATOR
    # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
    #  define SWIGTEMPLATEDISAMBIGUATOR template
    # elif defined(__HP_aCC)
    /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
    /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
    #  define SWIGTEMPLATEDISAMBIGUATOR template
    # else
    #  define SWIGTEMPLATEDISAMBIGUATOR
    # endif
    #endif
    
    /* inline attribute */
    #ifndef SWIGINLINE
    # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
    #   define SWIGINLINE inline
    # else
    #   define SWIGINLINE
    # endif
    #endif
    
    /* attribute recognised by some compilers to avoid 'unused' warnings */
    #ifndef SWIGUNUSED