/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.33
 * 
 * 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. 
 * ----------------------------------------------------------------------------- */


#ifdef __cplusplus
template<typename T> class SwigValueWrapper {
    T *tt;
public:
    SwigValueWrapper() : tt(0) { }
    SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
    SwigValueWrapper(const T& t) : tt(new T(t)) { }
    ~SwigValueWrapper() { delete tt; } 
    SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
    operator T&() const { return *tt; }
    T *operator&() { return tt; }
private:
    SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
};

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
# if defined(__GNUC__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define SWIGUNUSED __attribute__ ((__unused__)) 
#   else
#     define SWIGUNUSED
#   endif
# elif defined(__ICC)
#   define SWIGUNUSED __attribute__ ((__unused__)) 
# else
#   define SWIGUNUSED 
# endif
#endif

#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
#   define SWIGUNUSEDPARM(p)
# else
#   define SWIGUNUSEDPARM(p) p SWIGUNUSED 
# endif
#endif

/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif

/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif

/* exporting methods */
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
#  ifndef GCC_HASCLASSVISIBILITY
#    define GCC_HASCLASSVISIBILITY
#  endif
#endif

#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   if defined(STATIC_LINKED)
#     define SWIGEXPORT
#   else
#     define SWIGEXPORT __declspec(dllexport)
#   endif
# else
#   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
#     define SWIGEXPORT __attribute__ ((visibility("default")))
#   else
#     define SWIGEXPORT
#   endif
# endif
#endif

/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   define SWIGSTDCALL __stdcall
# else
#   define SWIGSTDCALL
# endif 
#endif

/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE
#endif

/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE
#endif



#include <stdio.h>
#include <tcl.h>
#include <errno.h>
#include <stdlib.h>
#include <stdarg.h>
#include <ctype.h>

/* -----------------------------------------------------------------------------
 * swigrun.swg
 *
 * This file contains generic CAPI SWIG runtime support for pointer
 * type checking.
 * ----------------------------------------------------------------------------- */

/* This should only be incremented when either the layout of swig_type_info changes,
   or for whatever reason, the runtime changes incompatibly */
#define SWIG_RUNTIME_VERSION "3"

/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
#ifdef SWIG_TYPE_TABLE
# define SWIG_QUOTE_STRING(x) #x
# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
#else
# define SWIG_TYPE_TABLE_NAME
#endif

/*
  You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
  creating a static or dynamic library from the swig runtime code.
  In 99.9% of the cases, swig just needs to declare them as 'static'.
  
  But only do this if is strictly necessary, ie, if you have problems
  with your compiler or so.
*/

#ifndef SWIGRUNTIME
# define SWIGRUNTIME SWIGINTERN
#endif

#ifndef SWIGRUNTIMEINLINE
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
#endif

/*  Generic buffer size */
#ifndef SWIG_BUFFER_SIZE
# define SWIG_BUFFER_SIZE 1024
#endif

/* Flags for pointer conversions */
#define SWIG_POINTER_DISOWN        0x1

/* Flags for new pointer objects */
#define SWIG_POINTER_OWN           0x1


/* 
   Flags/methods for returning states.
   
   The swig conversion methods, as ConvertPtr, return and integer 
   that tells if the conversion was successful or not. And if not,
   an error code can be returned (see swigerrors.swg for the codes).
   
   Use the following macros/flags to set or process the returning
   states.
   
   In old swig versions, you usually write code as:

     if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
       // success code
     } else {
       //fail code
     }

   Now you can be more explicit as:

    int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
    if (SWIG_IsOK(res)) {
      // success code
    } else {
      // fail code
    }

   that seems to be the same, but now you can also do

    Type *ptr;
    int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
    if (SWIG_IsOK(res)) {
      // success code
      if (SWIG_IsNewObj(res) {
        ...
	delete *ptr;
      } else {
        ...
      }
    } else {
      // fail code
    }
    
   I.e., now SWIG_ConvertPtr can return new objects and you can
   identify the case and take care of the deallocation. Of course that
   requires also to SWIG_ConvertPtr to return new result values, as

      int SWIG_ConvertPtr(obj, ptr,...) {         
        if (<obj is ok>) {			       
          if (<need new object>) {		       
            *ptr = <ptr to new allocated object>; 
            return SWIG_NEWOBJ;		       
          } else {				       
            *ptr = <ptr to old object>;	       
            return SWIG_OLDOBJ;		       
          } 				       
        } else {				       
          return SWIG_BADOBJ;		       
        }					       
      }

   Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
   more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
   swig errors code.

   Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
   allows to return the 'cast rank', for example, if you have this

       int food(double)
       int fooi(int);

   and you call
 
      food(1)   // cast rank '1'  (1 -> 1.0)
      fooi(1)   // cast rank '0'

   just use the SWIG_AddCast()/SWIG_CheckState()


 */
#define SWIG_OK                    (0) 
#define SWIG_ERROR                 (-1)
#define SWIG_IsOK(r)               (r >= 0)
#define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)  

/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT         (1 << 8)
/* The NewMask denotes the object was created (using new/malloc) */
#define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
/* The TmpMask is for in/out typemaps that use temporal objects */
#define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
/* Simple returning values */
#define SWIG_BADOBJ                (SWIG_ERROR)
#define SWIG_OLDOBJ                (SWIG_OK)
#define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
#define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
/* Check, add and del mask methods */
#define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
#define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
#define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
#define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
#define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
#define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))


/* Cast-Rank Mode */
#if defined(SWIG_CASTRANK_MODE)
#  ifndef SWIG_TypeRank
#    define SWIG_TypeRank             unsigned long
#  endif
#  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
#    define SWIG_MAXCASTRANK          (2)
#  endif
#  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
#  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
SWIGINTERNINLINE int SWIG_AddCast(int r) { 
  return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
SWIGINTERNINLINE int SWIG_CheckState(int r) { 
  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; 
}
#else /* no cast-rank mode */
#  define SWIG_AddCast
#  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif




#include <string.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef void *(*swig_converter_func)(void *);
typedef struct swig_type_info *(*swig_dycast_func)(void **);

/* Structure to store inforomation on one type */
typedef struct swig_type_info {
  const char             *name;			/* mangled name of this type */
  const char             *str;			/* human readable name of this type */
  swig_dycast_func        dcast;		/* dynamic cast function down a hierarchy */
  struct swig_cast_info  *cast;			/* linked list of types that can cast into this type */
  void                   *clientdata;		/* language specific type data */
  int                    owndata;		/* flag if the structure owns the clientdata */
} swig_type_info;

/* Structure to store a type and conversion function used for casting */
typedef struct swig_cast_info {
  swig_type_info         *type;			/* pointer to type that is equivalent to this type */
  swig_converter_func     converter;		/* function to cast the void pointers */
  struct swig_cast_info  *next;			/* pointer to next cast in linked list */
  struct swig_cast_info  *prev;			/* pointer to the previous cast */
} swig_cast_info;

/* Structure used to store module information
 * Each module generates one structure like this, and the runtime collects
 * all of these structures and stores them in a circularly linked list.*/
typedef struct swig_module_info {
  swig_type_info         **types;		/* Array of pointers to swig_type_info structures that are in this module */
  size_t                 size;		        /* Number of types in this module */
  struct swig_module_info *next;		/* Pointer to next element in circularly linked list */
  swig_type_info         **type_initial;	/* Array of initially generated type structures */
  swig_cast_info         **cast_initial;	/* Array of initially generated casting structures */
  void                    *clientdata;		/* Language specific module data */
} swig_module_info;

/* 
  Compare two type names skipping the space characters, therefore
  "char*" == "char *" and "Class<int>" == "Class<int >", etc.

  Return 0 when the two name types are equivalent, as in
  strncmp, but skipping ' '.
*/
SWIGRUNTIME int
SWIG_TypeNameComp(const char *f1, const char *l1,
		  const char *f2, const char *l2) {
  for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
    while ((*f1 == ' ') && (f1 != l1)) ++f1;
    while ((*f2 == ' ') && (f2 != l2)) ++f2;
    if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
  }
  return (int)((l1 - f1) - (l2 - f2));
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if not equal, 1 if equal
*/
SWIGRUNTIME int
SWIG_TypeEquiv(const char *nb, const char *tb) {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
SWIG_TypeCompare(const char *nb, const char *tb) {
  int equiv = 0;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (!equiv && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
    if (*ne) ++ne;
  }
  return equiv;
}


/* think of this as a c++ template<> or a scheme macro */
#define SWIG_TypeCheck_Template(comparison, ty)         \
  if (ty) {                                             \
    swig_cast_info *iter = ty->cast;                    \
    while (iter) {                                      \
      if (comparison) {                                 \
        if (iter == ty->cast) return iter;              \
        /* Move iter to the top of the linked list */   \
        iter->prev->next = iter->next;                  \
        if (iter->next)                                 \
          iter->next->prev = iter->prev;                \
        iter->next = ty->cast;                          \
        iter->prev = 0;                                 \
        if (ty->cast) ty->cast->prev = iter;            \
        ty->cast = iter;                                \
        return iter;                                    \
      }                                                 \
      iter = iter->next;                                \
    }                                                   \
  }                                                     \
  return 0

/*
  Check the typename
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
  SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
}

/* Same as previous function, except strcmp is replaced with a pointer comparison */
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
  SWIG_TypeCheck_Template(iter->type == from, into);
}

/*
  Cast a pointer up an inheritance hierarchy
*/
SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
}

/* 
   Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
  swig_type_info *lastty = ty;
  if (!ty || !ty->dcast) return ty;
  while (ty && (ty->dcast)) {
    ty = (*ty->dcast)(ptr);
    if (ty) lastty = ty;
  }
  return lastty;
}

/*
  Return the name associated with this type
*/
SWIGRUNTIMEINLINE const char *
SWIG_TypeName(const swig_type_info *ty) {
  return ty->name;
}

/*
  Return the pretty name associated with this type,
  that is an unmangled type name in a form presentable to the user.
*/
SWIGRUNTIME const char *
SWIG_TypePrettyName(const swig_type_info *type) {
  /* The "str" field contains the equivalent pretty names of the
     type, separated by vertical-bar characters.  We choose
     to print the last name, as it is often (?) the most
     specific. */
  if (!type) return NULL;
  if (type->str != NULL) {
    const char *last_name = type->str;
    const char *s;
    for (s = type->str; *s; s++)
      if (*s == '|') last_name = s+1;
    return last_name;
  }
  else
    return type->name;
}

/* 
   Set the clientdata field for a type
*/
SWIGRUNTIME void
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
  swig_cast_info *cast = ti->cast;
  /* if (ti->clientdata == clientdata) return; */
  ti->clientdata = clientdata;
  
  while (cast) {
    if (!cast->converter) {
      swig_type_info *tc = cast->type;
      if (!tc->clientdata) {
	SWIG_TypeClientData(tc, clientdata);
      }
    }    
    cast = cast->next;
  }
}
SWIGRUNTIME void
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
  SWIG_TypeClientData(ti, clientdata);
  ti->owndata = 1;
}
  
/*
  Search for a swig_type_info structure only by mangled name
  Search is a O(log #types)
  
  We start searching at module start, and finish searching when start == end.  
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_MangledTypeQueryModule(swig_module_info *start, 
                            swig_module_info *end, 
		            const char *name) {
  swig_module_info *iter = start;
  do {
    if (iter->size) {
      register size_t l = 0;
      register size_t r = iter->size - 1;
      do {
	/* since l+r >= 0, we can (>> 1) instead (/ 2) */
	register size_t i = (l + r) >> 1; 
	const char *iname = iter->types[i]->name;
	if (iname) {
	  register int compare = strcmp(name, iname);
	  if (compare == 0) {	    
	    return iter->types[i];
	  } else if (compare < 0) {
	    if (i) {
	      r = i - 1;
	    } else {
	      break;
	    }
	  } else if (compare > 0) {
	    l = i + 1;
	  }
	} else {
	  break; /* should never happen */
	}
      } while (l <= r);
    }
    iter = iter->next;
  } while (iter != end);
  return 0;
}

/*
  Search for a swig_type_info structure for either a mangled name or a human readable name.
  It first searches the mangled names of the types, which is a O(log #types)
  If a type is not found it then searches the human readable names, which is O(#types).
  
  We start searching at module start, and finish searching when start == end.  
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeQueryModule(swig_module_info *start, 
                     swig_module_info *end, 
		     const char *name) {
  /* STEP 1: Search the name field using binary search */
  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
  if (ret) {
    return ret;
  } else {
    /* STEP 2: If the type hasn't been found, do a complete search
       of the str field (the human readable name) */
    swig_module_info *iter = start;
    do {
      register size_t i = 0;
      for (; i < iter->size; ++i) {
	if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
	  return iter->types[i];
      }
      iter = iter->next;
    } while (iter != end);
  }
  
  /* neither found a match */
  return 0;
}

/* 
   Pack binary data into a string
*/
SWIGRUNTIME char *
SWIG_PackData(char *c, void *ptr, size_t sz) {
  static const char hex[17] = "0123456789abcdef";
  register const unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu =  u + sz;
  for (; u != eu; ++u) {
    register unsigned char uu = *u;
    *(c++) = hex[(uu & 0xf0) >> 4];
    *(c++) = hex[uu & 0xf];
  }
  return c;
}

/* 
   Unpack binary data from a string
*/
SWIGRUNTIME const char *
SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
  register unsigned char *u = (unsigned char *) ptr;
  register const unsigned char *eu = u + sz;
  for (; u != eu; ++u) {
    register char d = *(c++);
    register unsigned char uu;
    if ((d >= '0') && (d <= '9'))
      uu = ((d - '0') << 4);
    else if ((d >= 'a') && (d <= 'f'))
      uu = ((d - ('a'-10)) << 4);
    else 
      return (char *) 0;
    d = *(c++);
    if ((d >= '0') && (d <= '9'))
      uu |= (d - '0');
    else if ((d >= 'a') && (d <= 'f'))
      uu |= (d - ('a'-10));
    else 
      return (char *) 0;
    *u = uu;
  }
  return c;
}

/* 
   Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
  char *r = buff;
  if ((2*sizeof(void *) + 2) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,&ptr,sizeof(void *));
  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
  strcpy(r,name);
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      *ptr = (void *) 0;
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sizeof(void *));
}

SWIGRUNTIME char *
SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
  char *r = buff;
  size_t lname = (name ? strlen(name) : 0);
  if ((2*sz + 2 + lname) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,ptr,sz);
  if (lname) {
    strncpy(r,name,lname+1);
  } else {
    *r = 0;
  }
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      memset(ptr,0,sz);
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sz);
}

#ifdef __cplusplus
}
#endif

/*  Errors in SWIG */
#define  SWIG_UnknownError    	   -1 
#define  SWIG_IOError        	   -2 
#define  SWIG_RuntimeError   	   -3 
#define  SWIG_IndexError     	   -4 
#define  SWIG_TypeError      	   -5 
#define  SWIG_DivisionByZero 	   -6 
#define  SWIG_OverflowError  	   -7 
#define  SWIG_SyntaxError    	   -8 
#define  SWIG_ValueError     	   -9 
#define  SWIG_SystemError    	   -10
#define  SWIG_AttributeError 	   -11
#define  SWIG_MemoryError    	   -12 
#define  SWIG_NullReferenceError   -13



/* -----------------------------------------------------------------------------
 * error manipulation
 * ----------------------------------------------------------------------------- */

SWIGINTERN const char*
SWIG_Tcl_ErrorType(int code) {
  const char* type = 0;
  switch(code) {
  case SWIG_MemoryError:
    type = "MemoryError";
    break;
  case SWIG_IOError:
    type = "IOError";
    break;
  case SWIG_RuntimeError:
    type = "RuntimeError";
    break;
  case SWIG_IndexError:
    type = "IndexError";
    break;
  case SWIG_TypeError:
    type = "TypeError";
    break;
  case SWIG_DivisionByZero:
    type = "ZeroDivisionError";
    break;
  case SWIG_OverflowError:
    type = "OverflowError";
    break;
  case SWIG_SyntaxError:
    type = "SyntaxError";
    break;
  case SWIG_ValueError:
    type = "ValueError";
    break;
  case SWIG_SystemError:
    type = "SystemError";
    break;
  case SWIG_AttributeError:
    type = "AttributeError";
    break;
  default:
    type = "RuntimeError";
  }
  return type;
}


SWIGINTERN void
SWIG_Tcl_SetErrorObj(Tcl_Interp *interp, const char *ctype, Tcl_Obj *obj)
{
  Tcl_ResetResult(interp);
  Tcl_SetObjResult(interp, obj);
  Tcl_SetErrorCode(interp, "SWIG", ctype, NULL);
}

SWIGINTERN void
SWIG_Tcl_SetErrorMsg(Tcl_Interp *interp, const char *ctype, const char *mesg)
{
  Tcl_ResetResult(interp);
  Tcl_SetErrorCode(interp, "SWIG", ctype, NULL);
  Tcl_AppendResult(interp, ctype, " ", mesg, NULL);
  /*
  Tcl_AddErrorInfo(interp, ctype);
  Tcl_AddErrorInfo(interp, " ");
  Tcl_AddErrorInfo(interp, mesg);
  */
}

SWIGINTERNINLINE void
SWIG_Tcl_AddErrorMsg(Tcl_Interp *interp, const char* mesg)
{
  Tcl_AddErrorInfo(interp, mesg);
}



/* -----------------------------------------------------------------------------
 * SWIG API. Portion that goes into the runtime
 * ----------------------------------------------------------------------------- */
#ifdef __cplusplus
extern "C" {
#endif

/* -----------------------------------------------------------------------------
 * Constant declarations
 * ----------------------------------------------------------------------------- */

/* Constant Types */
#define SWIG_TCL_POINTER 4
#define SWIG_TCL_BINARY  5

/* Constant information structure */
typedef struct swig_const_info {
    int type;
    char *name;
    long lvalue;
    double dvalue;
    void   *pvalue;
    swig_type_info **ptype;
} swig_const_info;

typedef int   (*swig_wrapper)(ClientData, Tcl_Interp *, int, Tcl_Obj *CONST []);
typedef int   (*swig_wrapper_func)(ClientData, Tcl_Interp *, int, Tcl_Obj *CONST []);
typedef char *(*swig_variable_func)(ClientData, Tcl_Interp *, char *, char *, int);
typedef void  (*swig_delete_func)(ClientData);

typedef struct swig_method {
  const char     *name;
  swig_wrapper   method;
} swig_method;

typedef struct swig_attribute {
  const char     *name;
  swig_wrapper   getmethod;
  swig_wrapper   setmethod;
} swig_attribute;

typedef struct swig_class {
  const char         *name;
  swig_type_info   **type;
  swig_wrapper       constructor;
  void              (*destructor)(void *);
  swig_method        *methods;
  swig_attribute     *attributes;
  struct swig_class **bases;
  const char              **base_names;
  swig_module_info   *module;
} swig_class;

typedef struct swig_instance {
  Tcl_Obj       *thisptr;
  void          *thisvalue;
  swig_class   *classptr;
  int            destroy;
  Tcl_Command    cmdtok;
} swig_instance;

/* Structure for command table */
typedef struct {
  const char *name;
  int       (*wrapper)(ClientData, Tcl_Interp *, int, Tcl_Obj *CONST []);
  ClientData  clientdata;
} swig_command_info;

/* Structure for variable linking table */
typedef struct {
  const char *name;
  void *addr;
  char * (*get)(ClientData, Tcl_Interp *, char *, char *, int);
  char * (*set)(ClientData, Tcl_Interp *, char *, char *, int);
} swig_var_info;


/* -----------------------------------------------------------------------------*
 *  Install a constant object 
 * -----------------------------------------------------------------------------*/

static Tcl_HashTable   swigconstTable;
static int             swigconstTableinit = 0;

SWIGINTERN void
SWIG_Tcl_SetConstantObj(Tcl_Interp *interp, const char* name, Tcl_Obj *obj) {
  int newobj;
  Tcl_ObjSetVar2(interp,Tcl_NewStringObj(name,-1), NULL, obj, TCL_GLOBAL_ONLY);
  Tcl_SetHashValue(Tcl_CreateHashEntry(&swigconstTable, name, &newobj), (ClientData) obj);
}

SWIGINTERN Tcl_Obj *
SWIG_Tcl_GetConstantObj(const char *key) {
  Tcl_HashEntry *entryPtr;
  if (!swigconstTableinit) return 0;
  entryPtr = Tcl_FindHashEntry(&swigconstTable, key);
  if (entryPtr) {
    return (Tcl_Obj *) Tcl_GetHashValue(entryPtr);
  }
  return 0;
}

#ifdef __cplusplus
}
#endif



/* -----------------------------------------------------------------------------
 * See the LICENSE file for information on copyright, usage and redistribution
 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
 *
 * tclrun.swg
 *
 * This file contains the runtime support for Tcl modules and includes
 * code for managing global variables and pointer type checking.
 * ----------------------------------------------------------------------------- */

/* Common SWIG API */

/* for raw pointers */
#define SWIG_ConvertPtr(oc, ptr, ty, flags)             SWIG_Tcl_ConvertPtr(interp, oc, ptr, ty, flags)
#define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Tcl_NewPointerObj(ptr, type, flags)

/* for raw packed data */
#define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Tcl_ConvertPacked(interp, obj, ptr, sz, ty)
#define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Tcl_NewPackedObj(ptr, sz, type)

/* for class or struct pointers */
#define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_Tcl_ConvertPtr(interp, obj, pptr, type, flags)
#define SWIG_NewInstanceObj(thisvalue, type, flags)     SWIG_Tcl_NewInstanceObj(interp, thisvalue, type, flags)

/* for C or C++ function pointers */
#define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_Tcl_ConvertPtr(interp, obj, pptr, type, 0)
#define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_Tcl_NewPointerObj(ptr, type, 0)

/* for C++ member pointers, ie, member methods */
#define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Tcl_ConvertPacked(interp,obj, ptr, sz, ty)
#define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Tcl_NewPackedObj(ptr, sz, type)


/* Runtime API */

#define SWIG_GetModule(clientdata)                      SWIG_Tcl_GetModule((Tcl_Interp *) (clientdata))	     
#define SWIG_SetModule(clientdata, pointer)          	SWIG_Tcl_SetModule((Tcl_Interp *) (clientdata), pointer)


/* Error manipulation */

#define SWIG_ErrorType(code)                            SWIG_Tcl_ErrorType(code)                                      
#define SWIG_Error(code, msg)            		SWIG_Tcl_SetErrorMsg(interp, SWIG_Tcl_ErrorType(code), msg)
#define SWIG_fail                        		goto fail						    


/* Tcl-specific SWIG API */

#define SWIG_Acquire(ptr)                               SWIG_Tcl_Acquire(ptr)                                     
#define SWIG_MethodCommand                           	SWIG_Tcl_MethodCommand				       
#define SWIG_Disown(ptr)                             	SWIG_Tcl_Disown(ptr)				       
#define SWIG_ConvertPtrFromString(c, ptr, ty, flags) 	SWIG_Tcl_ConvertPtrFromString(interp, c, ptr, ty, flags)  
#define SWIG_MakePtr(c, ptr, ty, flags)              	SWIG_Tcl_MakePtr(c, ptr, ty, flags)		       
#define SWIG_PointerTypeFromString(c)                	SWIG_Tcl_PointerTypeFromString(c)			       
#define SWIG_GetArgs                                 	SWIG_Tcl_GetArgs					       
#define SWIG_GetConstantObj(key)                     	SWIG_Tcl_GetConstantObj(key)			       
#define SWIG_ObjectConstructor                       	SWIG_Tcl_ObjectConstructor				       
#define SWIG_Thisown(ptr)                            	SWIG_Tcl_Thisown(ptr)				       
#define SWIG_ObjectDelete                            	SWIG_Tcl_ObjectDelete				       


#define SWIG_TCL_DECL_ARGS_2(arg1, arg2)                (Tcl_Interp *interp SWIGUNUSED, arg1, arg2)
#define SWIG_TCL_CALL_ARGS_2(arg1, arg2)                (interp, arg1, arg2)
/* -----------------------------------------------------------------------------
 * pointers/data manipulation
 * ----------------------------------------------------------------------------- */

/* For backward compatibility only */
#define SWIG_POINTER_EXCEPTION  0
#define SWIG_GetConstant        SWIG_GetConstantObj
#define SWIG_Tcl_GetConstant    SWIG_Tcl_GetConstantObj


#ifdef __cplusplus
extern "C" {
#if 0
} /* cc-mode */
#endif
#endif

/* Object support */

SWIGRUNTIME Tcl_HashTable*
SWIG_Tcl_ObjectTable(void) {
  static Tcl_HashTable  swigobjectTable;
  static int            swigobjectTableinit = 0;
  if (!swigobjectTableinit) {
    Tcl_InitHashTable(&swigobjectTable, TCL_ONE_WORD_KEYS);
    swigobjectTableinit = 1;
  }
  return &swigobjectTable;
}

/* Acquire ownership of a pointer */
SWIGRUNTIME void
SWIG_Tcl_Acquire(void *ptr) {
  int newobj;
  Tcl_CreateHashEntry(SWIG_Tcl_ObjectTable(), (char *) ptr, &newobj);
}

SWIGRUNTIME int
SWIG_Tcl_Thisown(void *ptr) {
  if (Tcl_FindHashEntry(SWIG_Tcl_ObjectTable(), (char *) ptr)) {
    return 1;
  }
  return 0;
}

/* Disown a pointer.  Returns 1 if we owned it to begin with */
SWIGRUNTIME int
SWIG_Tcl_Disown(void *ptr) {
  Tcl_HashEntry *entryPtr = Tcl_FindHashEntry(SWIG_Tcl_ObjectTable(), (char *) ptr);
  if (entryPtr) {
    Tcl_DeleteHashEntry(entryPtr);
    return 1;
  }
  return 0;
}

/* Convert a pointer value */
SWIGRUNTIME int
SWIG_Tcl_ConvertPtrFromString(Tcl_Interp *interp, const char *c, void **ptr, swig_type_info *ty, int flags) {
  swig_cast_info *tc;
  /* Pointer values must start with leading underscore */
  while (*c != '_') {
    *ptr = (void *) 0;
    if (strcmp(c,"NULL") == 0) return SWIG_OK;

    /* Empty string: not a pointer */
    if (*c == 0) return SWIG_ERROR; 

    /* Hmmm. It could be an object name. */

    /* Check if this is a command at all. Prevents <c> cget -this         */
    /* from being called when c is not a command, firing the unknown proc */
    if (Tcl_VarEval(interp,"info commands ", c, (char *) NULL) == TCL_OK) {
      Tcl_Obj *result = Tcl_GetObjResult(interp);
      if (*(Tcl_GetStringFromObj(result, NULL)) == 0) {
        /* It's not a command, so it can't be a pointer */
        Tcl_ResetResult(interp);
        return SWIG_ERROR;
      }
    } else {
      /* This will only fail if the argument is multiple words. */
      /* Multiple words are also not commands.                  */
      Tcl_ResetResult(interp);
      return SWIG_ERROR;
    }

    /* Check if this is really a SWIG pointer */
    if (Tcl_VarEval(interp,c," cget -this", (char *) NULL) != TCL_OK) {
      Tcl_ResetResult(interp);
      return SWIG_ERROR;
    }

    c = Tcl_GetStringFromObj(Tcl_GetObjResult(interp), NULL);
  }

  c++;
  c = SWIG_UnpackData(c,ptr,sizeof(void *));
  if (ty) {
    tc = c ? SWIG_TypeCheck(c,ty) : 0;
    if (!tc) {
      return SWIG_ERROR;
    }
    if (flags & SWIG_POINTER_DISOWN) {
      SWIG_Disown((void *) *ptr);
    }
    *ptr = SWIG_TypeCast(tc,(void *) *ptr);
  }
  return SWIG_OK;
}

/* Convert a pointer value */
SWIGRUNTIMEINLINE int
SWIG_Tcl_ConvertPtr(Tcl_Interp *interp, Tcl_Obj *oc, void **ptr, swig_type_info *ty, int flags) {
  return SWIG_Tcl_ConvertPtrFromString(interp, Tcl_GetStringFromObj(oc,NULL), ptr, ty, flags);
}

/* Convert a pointer value */
SWIGRUNTIME char *
SWIG_Tcl_PointerTypeFromString(char *c) {
  char d;
  /* Pointer values must start with leading underscore. NULL has no type */
  if (*c != '_') {
    return 0;
  }
  c++;
  /* Extract hex value from pointer */
  while ((d = *c)) {
    if (!(((d >= '0') && (d <= '9')) || ((d >= 'a') && (d <= 'f')))) break;
    c++;
  }
  return c;
}

/* Convert a packed value value */
SWIGRUNTIME int
SWIG_Tcl_ConvertPacked(Tcl_Interp *SWIGUNUSEDPARM(interp) , Tcl_Obj *obj, void *ptr, int sz, swig_type_info *ty) {
  swig_cast_info *tc;
  const char  *c;

  if (!obj) goto type_error;
  c = Tcl_GetStringFromObj(obj,NULL);
  /* Pointer values must start with leading underscore */
  if (*c != '_') goto type_error;
  c++;
  c = SWIG_UnpackData(c,ptr,sz);
  if (ty) {
    tc = SWIG_TypeCheck(c,ty);
    if (!tc) goto type_error;
  }
  return SWIG_OK;

 type_error:

  return SWIG_ERROR;
}


/* Take a pointer and convert it to a string */
SWIGRUNTIME void
SWIG_Tcl_MakePtr(char *c, void *ptr, swig_type_info *ty, int flags) {
  if (ptr) {
    *(c++) = '_';
    c = SWIG_PackData(c,&ptr,sizeof(void *));
    strcpy(c,ty->name);
  } else {
    strcpy(c,(char *)"NULL");
  }
  flags = 0;
}

/* Create a new pointer object */
SWIGRUNTIMEINLINE Tcl_Obj *
SWIG_Tcl_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
  Tcl_Obj *robj;
  char result[SWIG_BUFFER_SIZE];
  SWIG_MakePtr(result,ptr,type,flags);
  robj = Tcl_NewStringObj(result,-1);
  return robj;
}

SWIGRUNTIME Tcl_Obj *
SWIG_Tcl_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
  char result[1024];
  char *r = result;
  if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,ptr,sz);
  strcpy(r,type->name);
  return Tcl_NewStringObj(result,-1);
}

/* -----------------------------------------------------------------------------*
 *  Get type list 
 * -----------------------------------------------------------------------------*/

SWIGRUNTIME swig_module_info * 
SWIG_Tcl_GetModule(Tcl_Interp *interp) {
  const char *data;
  swig_module_info *ret = 0;
  
  /* first check if pointer already created */
  data = Tcl_GetVar(interp, (char *)"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TCL_GLOBAL_ONLY);
  if (data) {
    SWIG_UnpackData(data, &ret, sizeof(swig_type_info **));
  }

  return ret;
}

SWIGRUNTIME void
SWIG_Tcl_SetModule(Tcl_Interp *interp, swig_module_info *module) {
  char buf[SWIG_BUFFER_SIZE];
  char *data;

  /* create a new pointer */
  data = SWIG_PackData(buf, &module, sizeof(swig_type_info **));
  *data = 0;
  Tcl_SetVar(interp, (char *)"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, buf, 0);
}

/* -----------------------------------------------------------------------------*
 *  Object auxiliars
 * -----------------------------------------------------------------------------*/


SWIGRUNTIME void
SWIG_Tcl_ObjectDelete(ClientData clientData) {
  swig_instance *si = (swig_instance *) clientData;
  if ((si) && (si->destroy) && (SWIG_Disown(si->thisvalue))) {
    if (si->classptr->destructor) {
      (si->classptr->destructor)(si->thisvalue);
    }
  }
  Tcl_DecrRefCount(si->thisptr);
  free(si);
}

/* Function to invoke object methods given an instance */
SWIGRUNTIME int
SWIG_Tcl_MethodCommand(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST _objv[]) {
  char *method,   *attrname;
  swig_instance   *inst = (swig_instance *) clientData;
  swig_method     *meth;
  swig_attribute  *attr;
  Tcl_Obj         *oldarg;
  Tcl_Obj         **objv;
  int              rcode;
  swig_class      *cls;
  swig_class      *cls_stack[64];
  int              cls_stack_bi[64];
  int              cls_stack_top = 0;
  int              numconf = 2;
  int              bi;

  objv = (Tcl_Obj **) _objv;
  if (objc < 2) {
    Tcl_SetResult(interp, (char *) "wrong # args.", TCL_STATIC);
    return TCL_ERROR;
  }
  method = Tcl_GetStringFromObj(objv[1],NULL);
  if (strcmp(method,"-acquire") == 0) {
    inst->destroy = 1;
    SWIG_Acquire(inst->thisvalue);
    return TCL_OK;
  }
  if (strcmp(method,"-disown") == 0) {
    if (inst->destroy) {
      SWIG_Disown(inst->thisvalue);
    }
    inst->destroy = 0;
    return TCL_OK;
  }
  if (strcmp(method,"-delete") == 0) {
    Tcl_DeleteCommandFromToken(interp,inst->cmdtok);
    return TCL_OK;
  }
  cls_stack[cls_stack_top] = inst->classptr;
  cls_stack_bi[cls_stack_top] = -1;
  cls = inst->classptr;
  while (1) {
    bi = cls_stack_bi[cls_stack_top];
    cls = cls_stack[cls_stack_top];
    if (bi != -1) {
      if (!cls->bases[bi] && cls->base_names[bi]) {
        /* lookup and cache the base class */
	swig_type_info *info = SWIG_TypeQueryModule(cls->module, cls->module, cls->base_names[bi]);
	if (info) cls->bases[bi] = (swig_class *) info->clientdata;
      }
      cls = cls->bases[bi];
      if (cls) {
        cls_stack_bi[cls_stack_top]++;
        cls_stack_top++;
        cls_stack[cls_stack_top] = cls;
        cls_stack_bi[cls_stack_top] = -1;
        continue;
      }
    }
    if (!cls) {
      cls_stack_top--;
      if (cls_stack_top < 0) break;
      else continue;
    }
    cls_stack_bi[cls_stack_top]++;

    meth = cls->methods;
    /* Check for methods */
    while (meth && meth->name) {
      if (strcmp(meth->name,method) == 0) {
        oldarg = objv[1];
        objv[1] = inst->thisptr;
        Tcl_IncrRefCount(inst->thisptr);
        rcode = (*meth->method)(clientData,interp,objc,objv);
        objv[1] = oldarg;
        Tcl_DecrRefCount(inst->thisptr);
        return rcode;
      }
      meth++;
    }
    /* Check class methods for a match */
    if (strcmp(method,"cget") == 0) {
      if (objc < 3) {
        Tcl_SetResult(interp, (char *) "wrong # args.", TCL_STATIC);
        return TCL_ERROR;
      }
      attrname = Tcl_GetStringFromObj(objv[2],NULL);
      attr = cls->attributes;
      while (attr && attr->name) {
        if ((strcmp(attr->name, attrname) == 0) && (attr->getmethod)) {
          oldarg = objv[1];
          objv[1] = inst->thisptr;
          Tcl_IncrRefCount(inst->thisptr);
          rcode = (*attr->getmethod)(clientData,interp,2, objv);
          objv[1] = oldarg;
          Tcl_DecrRefCount(inst->thisptr);
          return rcode;
        }
        attr++;
      }
      if (strcmp(attrname, "-this") == 0) {
        Tcl_SetObjResult(interp, Tcl_DuplicateObj(inst->thisptr));
        return TCL_OK;
      }
      if (strcmp(attrname, "-thisown") == 0) {
        if (SWIG_Thisown(inst->thisvalue)) {
          Tcl_SetResult(interp,(char*)"1",TCL_STATIC);
        } else {
          Tcl_SetResult(interp,(char*)"0",TCL_STATIC);
        }
        return TCL_OK;
      }
    } else if (strcmp(method, "configure") == 0) {
      int i;
      if (objc < 4) {
        Tcl_SetResult(interp, (char *) "wrong # args.", TCL_STATIC);
        return TCL_ERROR;
      }
      i = 2;
      while (i < objc) {
        attrname = Tcl_GetStringFromObj(objv[i],NULL);
        attr = cls->attributes;
        while (attr && attr->name) {
          if ((strcmp(attr->name, attrname) == 0) && (attr->setmethod)) {
            oldarg = objv[i];
            objv[i] = inst->thisptr;
            Tcl_IncrRefCount(inst->thisptr);
            rcode = (*attr->setmethod)(clientData,interp,3, &objv[i-1]);
            objv[i] = oldarg;
            Tcl_DecrRefCount(inst->thisptr);
            if (rcode != TCL_OK) return rcode;
            numconf += 2;
          }
          attr++;
        }
        i+=2;
      }
    }
  }
  if (strcmp(method,"configure") == 0) {
    if (numconf >= objc) {
      return TCL_OK;
    } else {
      Tcl_SetResult(interp,(char *) "Invalid attribute name.", TCL_STATIC);
      return TCL_ERROR;
    }
  }
  if (strcmp(method,"cget") == 0) {
    Tcl_SetResult(interp,(char *) "Invalid attribute name.", TCL_STATIC);
    return TCL_ERROR;
  }
  Tcl_SetResult(interp, (char *) "Invalid method. Must be one of: configure cget -acquire -disown -delete", TCL_STATIC);
  cls = inst->classptr;
  bi = 0;
  while (cls) {
    meth = cls->methods;
    while (meth && meth->name) {
      char *cr = (char *) Tcl_GetStringResult(interp);
      size_t meth_len = strlen(meth->name);
      char* where = strchr(cr,':');
      while(where) {
        where = strstr(where, meth->name);
        if(where) {
          if(where[-1] == ' ' && (where[meth_len] == ' ' || where[meth_len]==0)) {
            break;
          } else {
            where++;
          }
        }
      }

      if (!where)
        Tcl_AppendElement(interp, (char *) meth->name);
      meth++;
    }
    cls = inst->classptr->bases[bi++];
  }
  return TCL_ERROR;
}

/* This function takes the current result and turns it into an object command */
SWIGRUNTIME Tcl_Obj *
SWIG_Tcl_NewInstanceObj(Tcl_Interp *interp, void *thisvalue, swig_type_info *type, int flags) {
  Tcl_Obj *robj = SWIG_NewPointerObj(thisvalue, type,0);
  /* Check to see if this pointer belongs to a class or not */
  if ((type->clientdata) && (interp)) {
    Tcl_CmdInfo    ci;
    char          *name;
    name = Tcl_GetStringFromObj(robj,NULL);
    if (!Tcl_GetCommandInfo(interp,name, &ci) || (flags)) {
      swig_instance *newinst = (swig_instance *) malloc(sizeof(swig_instance));
      newinst->thisptr = Tcl_DuplicateObj(robj);
      Tcl_IncrRefCount(newinst->thisptr);
      newinst->thisvalue = thisvalue;
      newinst->classptr = (swig_class *) type->clientdata;
      newinst->destroy = flags;
      newinst->cmdtok = Tcl_CreateObjCommand(interp, Tcl_GetStringFromObj(robj,NULL), (swig_wrapper_func) SWIG_MethodCommand, (ClientData) newinst, (swig_delete_func) SWIG_ObjectDelete);
      if (flags) {
        SWIG_Acquire(thisvalue);
      }
    }
  }
  return robj;
}

/* Function to create objects */
SWIGRUNTIME int
SWIG_Tcl_ObjectConstructor(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  Tcl_Obj          *newObj = 0;
  void             *thisvalue = 0;
  swig_instance   *newinst = 0;
  swig_class      *classptr = (swig_class *) clientData;
  swig_wrapper     cons = 0;
  char             *name = 0;
  int               firstarg = 0;
  int               thisarg = 0;
  int               destroy = 1;

  if (!classptr) {
    Tcl_SetResult(interp, (char *) "swig: internal runtime error. No class object defined.", TCL_STATIC);
    return TCL_ERROR;
  }
  cons = classptr->constructor;
  if (objc > 1) {
    char *s = Tcl_GetStringFromObj(objv[1],NULL);
    if (strcmp(s,"-this") == 0) {
      thisarg = 2;
      cons = 0;
    } else if (strcmp(s,"-args") == 0) {
      firstarg = 1;
    } else if (objc == 2) {
      firstarg = 1;
      name = s;
    } else if (objc >= 3) {
      char *s1;
      name = s;
      s1 = Tcl_GetStringFromObj(objv[2],NULL);
      if (strcmp(s1,"-this") == 0) {
	thisarg = 3;
	cons = 0;
      } else {
	firstarg = 1;
      }
    }
  }
  if (cons) {
    int result;
    result = (*cons)(0, interp, objc-firstarg, &objv[firstarg]);
    if (result != TCL_OK) {
      return result;
    }
    newObj = Tcl_DuplicateObj(Tcl_GetObjResult(interp));
    if (!name) name = Tcl_GetStringFromObj(newObj,NULL);
  } else if (thisarg > 0) {
    if (thisarg < objc) {
      destroy = 0;
      newObj = Tcl_DuplicateObj(objv[thisarg]);
      if (!name) name = Tcl_GetStringFromObj(newObj,NULL);
    } else {
      Tcl_SetResult(interp, (char *) "wrong # args.", TCL_STATIC);
      return TCL_ERROR;
    }
  } else {
    Tcl_SetResult(interp, (char *) "No constructor available.", TCL_STATIC);
    return TCL_ERROR;
  }
  if (SWIG_Tcl_ConvertPtr(interp,newObj, (void **) &thisvalue, *(classptr->type), 0) != SWIG_OK) {
    Tcl_DecrRefCount(newObj);
    return TCL_ERROR;
  }
  newinst = (swig_instance *) malloc(sizeof(swig_instance));
  newinst->thisptr = newObj;
  Tcl_IncrRefCount(newObj);
  newinst->thisvalue = thisvalue;
  newinst->classptr = classptr;
  newinst->destroy = destroy;
  if (destroy) {
    SWIG_Acquire(thisvalue);
  }
  newinst->cmdtok = Tcl_CreateObjCommand(interp,name, (swig_wrapper) SWIG_MethodCommand, (ClientData) newinst, (swig_delete_func) SWIG_ObjectDelete);
  return TCL_OK;
}

/* -----------------------------------------------------------------------------*
 *   Get arguments 
 * -----------------------------------------------------------------------------*/
SWIGRUNTIME int
SWIG_Tcl_GetArgs(Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], const char *fmt, ...) {
  int        argno = 0, opt = 0;
  long       tempi;
  double     tempd;
  const char *c;
  va_list    ap;
  void      *vptr;
  Tcl_Obj   *obj = 0;
  swig_type_info *ty;

  va_start(ap,fmt);
  for (c = fmt; (*c && (*c != ':') && (*c != ';')); c++,argno++) {
    if (*c == '|') {
      opt = 1;
      c++;
    }
    if (argno >= (objc-1)) {
      if (!opt) {
        Tcl_SetResult(interp, (char *) "Wrong number of arguments ", TCL_STATIC);
        goto argerror;
      } else {
        va_end(ap);
        return TCL_OK;
      }
    }

    vptr = va_arg(ap,void *);
    if (vptr) {
      if (isupper(*c)) {
        obj = SWIG_Tcl_GetConstantObj(Tcl_GetStringFromObj(objv[argno+1],0));
        if (!obj) obj = objv[argno+1];
      } else {
        obj = objv[argno+1];
      }
      switch(*c) {
      case 'i': case 'I':
      case 'l': case 'L':
      case 'h': case 'H':
      case 'b': case 'B':
        if (Tcl_GetLongFromObj(interp,obj,&tempi) != TCL_OK) goto argerror;
        if ((*c == 'i') || (*c == 'I')) *((int *)vptr) = (int)tempi;
        else if ((*c == 'l') || (*c == 'L')) *((long *)vptr) = (long)tempi;
        else if ((*c == 'h') || (*c == 'H')) *((short*)vptr) = (short)tempi;
        else if ((*c == 'b') || (*c == 'B')) *((unsigned char *)vptr) = (unsigned char)tempi;
        break;
      case 'f': case 'F':
      case 'd': case 'D':
        if (Tcl_GetDoubleFromObj(interp,obj,&tempd) != TCL_OK) goto argerror;
        if ((*c == 'f') || (*c == 'F')) *((float *) vptr) = (float)tempd;
        else if ((*c == 'd') || (*c == 'D')) *((double*) vptr) = tempd;
        break;
      case 's': case 'S':
        if (*(c+1) == '#') {
          int *vlptr = (int *) va_arg(ap, void *);
          *((char **) vptr) = Tcl_GetStringFromObj(obj, vlptr);
          c++;
        } else {
          *((char **)vptr) = Tcl_GetStringFromObj(obj,NULL);
        }
        break;
      case 'c': case 'C':
        *((char *)vptr) = *(Tcl_GetStringFromObj(obj,NULL));
        break;
      case 'p': case 'P':
        ty = (swig_type_info *) va_arg(ap, void *);
        if (SWIG_Tcl_ConvertPtr(interp, obj, (void **) vptr, ty, 0) != SWIG_OK) goto argerror;
        break;
      case 'o': case 'O':
        *((Tcl_Obj **)vptr) = objv[argno+1];
        break;
      default:
        break;
      }
    }
  }

  if ((*c != ';') && ((objc-1) > argno)) {
    Tcl_SetResult(interp, (char *) "Wrong # args.", TCL_STATIC);
    goto argerror;
  }
  va_end(ap);
  return TCL_OK;

 argerror:
  {
    char temp[32];
    sprintf(temp,"%d", argno+1);
    c = strchr(fmt,':');
    if (!c) c = strchr(fmt,';');
    if (!c) c = (char *)"";
    Tcl_AppendResult(interp,c," argument ", temp, NULL);
    va_end(ap);
    return TCL_ERROR;
  }
}

#ifdef __cplusplus
#if 0
{ /* cc-mode */
#endif
}
#endif



#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) 

#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else 



/* -------- TYPES TABLE (BEGIN) -------- */

#define SWIGTYPE_p_APN_HPATTERN_FILE swig_types[0]
#define SWIGTYPE_p_Apn_BayerShift swig_types[1]
#define SWIGTYPE_p_Apn_CameraMode swig_types[2]
#define SWIGTYPE_p_Apn_CoolerStatus swig_types[3]
#define SWIGTYPE_p_Apn_FanMode swig_types[4]
#define SWIGTYPE_p_Apn_Filter swig_types[5]
#define SWIGTYPE_p_Apn_LedMode swig_types[6]
#define SWIGTYPE_p_Apn_LedState swig_types[7]
#define SWIGTYPE_p_Apn_NetworkMode swig_types[8]
#define SWIGTYPE_p_Apn_Platform swig_types[9]
#define SWIGTYPE_p_Apn_Resolution swig_types[10]
#define SWIGTYPE_p_Apn_Status swig_types[11]
#define SWIGTYPE_p_CApnCamData swig_types[12]
#define SWIGTYPE_p_CApnCamera swig_types[13]
#define SWIGTYPE_p__FEATURE_SUPPORT_LIST swig_types[14]
#define SWIGTYPE_p__INTEL_HEX_RECORD swig_types[15]
#define SWIGTYPE_p_char swig_types[16]
#define SWIGTYPE_p_long swig_types[17]
#define SWIGTYPE_p_unsigned_char swig_types[18]
#define SWIGTYPE_p_unsigned_long swig_types[19]
#define SWIGTYPE_p_unsigned_short swig_types[20]
#define SWIGTYPE_p_ushortArray swig_types[21]
static swig_type_info *swig_types[23];
static swig_module_info swig_module = {swig_types, 22, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)

/* -------- TYPES TABLE (END) -------- */

#define SWIG_init    Apogeenet_Init
#define SWIG_name    "apogeenet"
#define SWIG_prefix  ""
#define SWIG_version "0.0"

#define SWIGVERSION 0x010333 
#define SWIG_VERSION SWIGVERSION


#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) 
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) 


#include <stdexcept>



#ifdef __cplusplus
extern "C" {
#endif
#ifdef MAC_TCL
#pragma export on
#endif
SWIGEXPORT int SWIG_init(Tcl_Interp *);
#ifdef MAC_TCL
#pragma export off
#endif
#ifdef __cplusplus
}
#endif



typedef struct SWIGCDATA {
    char *data;
    size_t   len;
} SWIGCDATA;



extern "C"  {    


static SWIGCDATA cdata_void(void *ptr, size_t nelements)



{
  SWIGCDATA d;
  d.data = (char *) ptr;



  d.len  = nelements;

   return d;
}

}



#include <limits.h>
#if !defined(SWIG_NO_LLONG_MAX)
# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
#   define LLONG_MAX __LONG_LONG_MAX__
#   define LLONG_MIN (-LLONG_MAX - 1LL)
#   define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
# endif
#endif


SWIGINTERN int
SWIG_AsVal_unsigned_SS_long SWIG_TCL_DECL_ARGS_2(Tcl_Obj *obj, unsigned long *val) {
  long v;
  if (Tcl_GetLongFromObj(0,obj, &v) == TCL_OK) {
    if (v >= 0) {
      if (val) *val = (unsigned long) v;
      return SWIG_OK;
    }
    /* If v is negative, then this could be a negative number, or an
       unsigned value which doesn't fit in a signed long, so try to
       get it as a string so we can distinguish these cases. */
  }
  {
    int len = 0;
    const char *nptr = Tcl_GetStringFromObj(obj, &len);
    if (nptr && len > 0) {
      char *endptr;
      unsigned long v;
      if (*nptr == '-') return SWIG_OverflowError;
      errno = 0;
      v = strtoul(nptr, &endptr,0);
      if (nptr[0] == '\0' || *endptr != '\0')
	return SWIG_TypeError;
      if (v == ULONG_MAX && errno == ERANGE) {
	errno = 0;
	return SWIG_OverflowError;
      } else {
	if (*endptr == '\0') {
	  if (val) *val = v;
	  return SWIG_OK;
	}
      }
    }
  }
  
  return SWIG_TypeError;
}


SWIGINTERNINLINE int
SWIG_AsVal_size_t SWIG_TCL_DECL_ARGS_2(Tcl_Obj * obj, size_t *val)
{
  unsigned long v;
  int res = SWIG_AsVal_unsigned_SS_long SWIG_TCL_CALL_ARGS_2(obj, val ? &v : 0);
  if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
  return res;
}


SWIGINTERNINLINE Tcl_Obj *
SWIG_FromCharPtrAndSize(const char* carray, size_t size)
{
  return (size < INT_MAX) ? Tcl_NewStringObj(carray, static_cast< int >(size)) : NULL;
}


typedef unsigned short ushortArray;

SWIGINTERN ushortArray *new_ushortArray(size_t nelements){
    return (new unsigned short[nelements]);
  }
SWIGINTERN void delete_ushortArray(ushortArray *self){
    delete[] self;
  }
SWIGINTERN unsigned short ushortArray_getitem(ushortArray *self,size_t index){
    return self[index];
  }

SWIGINTERNINLINE Tcl_Obj* 
SWIG_From_long  (long value)
{
  if (((long) INT_MIN <= value) && (value <= (long) INT_MAX)) {
    return Tcl_NewIntObj(static_cast< int >(value));
  } else {
    return Tcl_NewLongObj(value);
  }
}


#include <stdio.h>
#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
# ifndef snprintf
#  define snprintf _snprintf
# endif
#endif


SWIGINTERNINLINE Tcl_Obj* 
SWIG_From_unsigned_SS_long  (unsigned long value)
{
  if (value < (unsigned long) LONG_MAX) {
    return SWIG_From_long  (static_cast< long >(value));
  } else {
    char temp[256]; 
    sprintf(temp, "%lu", value);
    return Tcl_NewStringObj(temp,-1);
  }
}


SWIGINTERNINLINE Tcl_Obj *
SWIG_From_unsigned_SS_short  (unsigned short value)
{    
  return SWIG_From_unsigned_SS_long  (value);
}


SWIGINTERN int
SWIG_AsVal_unsigned_SS_short SWIG_TCL_DECL_ARGS_2(Tcl_Obj * obj, unsigned short *val)
{
  unsigned long v;
  int res = SWIG_AsVal_unsigned_SS_long SWIG_TCL_CALL_ARGS_2(obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v > USHRT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< unsigned short >(v);
    }
  }  
  return res;
}

SWIGINTERN void ushortArray_setitem(ushortArray *self,size_t index,unsigned short value){
    self[index] = value;
  }
SWIGINTERN unsigned short *ushortArray_cast(ushortArray *self){
    return self;
  }
SWIGINTERN ushortArray *ushortArray_frompointer(unsigned short *t){
    return static_cast< ushortArray * >(t);
  }
     

#include "ApnCamera.h" 



SWIGINTERNINLINE Tcl_Obj *
SWIG_From_int  (int value)
{    
  return SWIG_From_long  (value);
}


SWIGINTERN int
SWIG_AsVal_unsigned_SS_char SWIG_TCL_DECL_ARGS_2(Tcl_Obj * obj, unsigned char *val)
{
  unsigned long v;
  int res = SWIG_AsVal_unsigned_SS_long SWIG_TCL_CALL_ARGS_2(obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v > UCHAR_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< unsigned char >(v);
    }
  }  
  return res;
}


SWIGINTERNINLINE Tcl_Obj *
SWIG_From_unsigned_SS_char  (unsigned char value)
{    
  return SWIG_From_unsigned_SS_long  (value);
}


SWIGINTERN int
SWIG_AsVal_bool SWIG_TCL_DECL_ARGS_2(Tcl_Obj *obj, bool *val)
{
  int v;
  if (Tcl_GetBooleanFromObj(0, obj, &v) == TCL_OK) {
    if (val) *val = v ? true : false;
    return SWIG_OK;
  }
  return SWIG_TypeError;
}


  #define SWIG_From_bool   Tcl_NewBooleanObj 


SWIGINTERN int
SWIG_AsCharPtrAndSize(Tcl_Obj *obj, char** cptr, size_t* psize, int *alloc)
{ 
  int len = 0;
  char *cstr = Tcl_GetStringFromObj(obj, &len);
  if (cstr) {
    if (cptr)  *cptr = cstr;
    if (psize) *psize = len + 1;
    if (alloc) *alloc = SWIG_OLDOBJ;
    return SWIG_OK;
  }
  return SWIG_TypeError;
}





SWIGINTERN int
SWIG_AsVal_long SWIG_TCL_DECL_ARGS_2(Tcl_Obj *obj, long* val)
{
  long v;
  if (Tcl_GetLongFromObj(0,obj, &v) == TCL_OK) {
    if (val) *val = (long) v;
    return SWIG_OK;
  }
  return SWIG_TypeError;
}


SWIGINTERN int
SWIG_AsVal_int SWIG_TCL_DECL_ARGS_2(Tcl_Obj * obj, int *val)
{
  long v;
  int res = SWIG_AsVal_long SWIG_TCL_CALL_ARGS_2(obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v < INT_MIN || v > INT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< int >(v);
    }
  }  
  return res;
}


SWIGINTERN int
SWIG_AsVal_double SWIG_TCL_DECL_ARGS_2(Tcl_Obj *obj, double *val)
{
  double v;
  if (Tcl_GetDoubleFromObj(0, obj, &v) == TCL_OK) {
    if (val) *val = v;
    return SWIG_OK;
  }
  return SWIG_TypeError;
}


  #define SWIG_From_double   Tcl_NewDoubleObj 


SWIGINTERN int
SWIG_AsCharArray(Tcl_Obj * obj, char *val, size_t size)
{ 
  char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
  int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
  if (SWIG_IsOK(res)) {
    if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize;
    if (csize <= size) {
      if (val) {
	if (csize) memcpy(val, cptr, csize*sizeof(char));
	if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
      }
      if (alloc == SWIG_NEWOBJ) {
	delete[] cptr;
	res = SWIG_DelNewMask(res);
      }      
      return res;
    }
    if (alloc == SWIG_NEWOBJ) delete[] cptr;
  }
  return SWIG_TypeError;
}


SWIGINTERN int
SWIG_AsVal_unsigned_SS_int SWIG_TCL_DECL_ARGS_2(Tcl_Obj * obj, unsigned int *val)
{
  unsigned long v;
  int res = SWIG_AsVal_unsigned_SS_long SWIG_TCL_CALL_ARGS_2(obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v > UINT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< unsigned int >(v);
    }
  }  
  return res;
}


SWIGINTERNINLINE Tcl_Obj *
SWIG_From_unsigned_SS_int  (unsigned int value)
{    
  return SWIG_From_unsigned_SS_long  (value);
}

#ifdef __cplusplus
extern "C" {
#endif
SWIGINTERN int
_wrap_cdata(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  void *arg1 = (void *) 0 ;
  size_t arg2 = (size_t) 1 ;
  SWIGCDATA result;
  int res1 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o|o:cdata ptr ?nelements? ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1],SWIG_as_voidptrptr(&arg1), 0, 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cdata" "', argument " "1"" of type '" "void *""'"); 
  }
  if (objc > 2) {
    ecode2 = SWIG_AsVal_size_t SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "cdata" "', argument " "2"" of type '" "size_t""'");
    } 
    arg2 = static_cast< size_t >(val2);
  }
  result = cdata_void(arg1,arg2);
  Tcl_SetObjResult(interp,SWIG_FromCharPtrAndSize((&result)->data,(&result)->len));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_memmove(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  void *arg1 = (void *) 0 ;
  void *arg2 = (void *) 0 ;
  size_t arg3 ;
  int res1 ;
  int res2 ;
  size_t val3 ;
  int ecode3 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooo:memmove data indata inlen ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1],SWIG_as_voidptrptr(&arg1), 0, 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "memmove" "', argument " "1"" of type '" "void *""'"); 
  }
  res2 = SWIG_ConvertPtr(objv[2],SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "memmove" "', argument " "2"" of type '" "void const *""'"); 
  }
  ecode3 = SWIG_AsVal_size_t SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "memmove" "', argument " "3"" of type '" "size_t""'");
  } 
  arg3 = static_cast< size_t >(val3);
  memmove(arg1,(void const *)arg2,arg3);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_new_ushortArray(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  size_t arg1 ;
  ushortArray *result = 0 ;
  size_t val1 ;
  int ecode1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:new_ushortArray nelements ",(void *)0) == TCL_ERROR) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t SWIG_TCL_CALL_ARGS_2(objv[1], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ushortArray" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = static_cast< size_t >(val1);
  result = (ushortArray *)new_ushortArray(arg1);
  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_ushortArray,0));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_delete_ushortArray(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  ushortArray *arg1 = (ushortArray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:delete_ushortArray self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_ushortArray, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ushortArray" "', argument " "1"" of type '" "ushortArray *""'"); 
  }
  arg1 = reinterpret_cast< ushortArray * >(argp1);
  delete_ushortArray(arg1);
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_ushortArray_getitem(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  ushortArray *arg1 = (ushortArray *) 0 ;
  size_t arg2 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:ushortArray_getitem self index ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_ushortArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ushortArray_getitem" "', argument " "1"" of type '" "ushortArray *""'"); 
  }
  arg1 = reinterpret_cast< ushortArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ushortArray_getitem" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  result = (unsigned short)ushortArray_getitem(arg1,arg2);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_ushortArray_setitem(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  ushortArray *arg1 = (ushortArray *) 0 ;
  size_t arg2 ;
  unsigned short arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  unsigned short val3 ;
  int ecode3 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooo:ushortArray_setitem self index value ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_ushortArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ushortArray_setitem" "', argument " "1"" of type '" "ushortArray *""'"); 
  }
  arg1 = reinterpret_cast< ushortArray * >(argp1);
  ecode2 = SWIG_AsVal_size_t SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ushortArray_setitem" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = static_cast< size_t >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ushortArray_setitem" "', argument " "3"" of type '" "unsigned short""'");
  } 
  arg3 = static_cast< unsigned short >(val3);
  ushortArray_setitem(arg1,arg2,arg3);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_ushortArray_cast(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  ushortArray *arg1 = (ushortArray *) 0 ;
  unsigned short *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:ushortArray_cast self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_ushortArray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ushortArray_cast" "', argument " "1"" of type '" "ushortArray *""'"); 
  }
  arg1 = reinterpret_cast< ushortArray * >(argp1);
  result = (unsigned short *)ushortArray_cast(arg1);
  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short,0));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_ushortArray_frompointer(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  unsigned short *arg1 = (unsigned short *) 0 ;
  ushortArray *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:ushortArray_frompointer t ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_unsigned_short, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ushortArray_frompointer" "', argument " "1"" of type '" "unsigned short *""'"); 
  }
  arg1 = reinterpret_cast< unsigned short * >(argp1);
  result = (ushortArray *)ushortArray_frompointer(arg1);
  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_ushortArray,0));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN void swig_delete_ushortArray(void *obj) {
ushortArray *arg1 = (ushortArray *) obj;
delete_ushortArray(arg1);
}
static swig_method swig_ushortArray_methods[] = {
    {"getitem", _wrap_ushortArray_getitem}, 
    {"setitem", _wrap_ushortArray_setitem}, 
    {"cast", _wrap_ushortArray_cast}, 
    {0,0}
};
static swig_attribute swig_ushortArray_attributes[] = {
    {0,0,0}
};
static swig_class *swig_ushortArray_bases[] = {0};
static const char * swig_ushortArray_base_names[] = {0};
static swig_class _wrap_class_ushortArray = { "ushortArray", &SWIGTYPE_p_ushortArray,_wrap_new_ushortArray, swig_delete_ushortArray, swig_ushortArray_methods, swig_ushortArray_attributes, swig_ushortArray_bases,swig_ushortArray_base_names, &swig_module };
SWIGINTERN int
_wrap_INTEL_HEX_RECORD_Length_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  INTEL_HEX_RECORD *arg1 = (INTEL_HEX_RECORD *) 0 ;
  unsigned char arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned char val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:INTEL_HEX_RECORD_Length_set self Length ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p__INTEL_HEX_RECORD, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "INTEL_HEX_RECORD_Length_set" "', argument " "1"" of type '" "INTEL_HEX_RECORD *""'"); 
  }
  arg1 = reinterpret_cast< INTEL_HEX_RECORD * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_char SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "INTEL_HEX_RECORD_Length_set" "', argument " "2"" of type '" "unsigned char""'");
  } 
  arg2 = static_cast< unsigned char >(val2);
  if (arg1) (arg1)->Length = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_INTEL_HEX_RECORD_Length_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  INTEL_HEX_RECORD *arg1 = (INTEL_HEX_RECORD *) 0 ;
  unsigned char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:INTEL_HEX_RECORD_Length_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p__INTEL_HEX_RECORD, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "INTEL_HEX_RECORD_Length_get" "', argument " "1"" of type '" "INTEL_HEX_RECORD *""'"); 
  }
  arg1 = reinterpret_cast< INTEL_HEX_RECORD * >(argp1);
  result = (unsigned char) ((arg1)->Length);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_INTEL_HEX_RECORD_Address_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  INTEL_HEX_RECORD *arg1 = (INTEL_HEX_RECORD *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:INTEL_HEX_RECORD_Address_set self Address ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p__INTEL_HEX_RECORD, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "INTEL_HEX_RECORD_Address_set" "', argument " "1"" of type '" "INTEL_HEX_RECORD *""'"); 
  }
  arg1 = reinterpret_cast< INTEL_HEX_RECORD * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "INTEL_HEX_RECORD_Address_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->Address = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_INTEL_HEX_RECORD_Address_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  INTEL_HEX_RECORD *arg1 = (INTEL_HEX_RECORD *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:INTEL_HEX_RECORD_Address_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p__INTEL_HEX_RECORD, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "INTEL_HEX_RECORD_Address_get" "', argument " "1"" of type '" "INTEL_HEX_RECORD *""'"); 
  }
  arg1 = reinterpret_cast< INTEL_HEX_RECORD * >(argp1);
  result = (unsigned short) ((arg1)->Address);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_INTEL_HEX_RECORD_Type_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  INTEL_HEX_RECORD *arg1 = (INTEL_HEX_RECORD *) 0 ;
  unsigned char arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned char val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:INTEL_HEX_RECORD_Type_set self Type ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p__INTEL_HEX_RECORD, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "INTEL_HEX_RECORD_Type_set" "', argument " "1"" of type '" "INTEL_HEX_RECORD *""'"); 
  }
  arg1 = reinterpret_cast< INTEL_HEX_RECORD * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_char SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "INTEL_HEX_RECORD_Type_set" "', argument " "2"" of type '" "unsigned char""'");
  } 
  arg2 = static_cast< unsigned char >(val2);
  if (arg1) (arg1)->Type = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_INTEL_HEX_RECORD_Type_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  INTEL_HEX_RECORD *arg1 = (INTEL_HEX_RECORD *) 0 ;
  unsigned char result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:INTEL_HEX_RECORD_Type_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p__INTEL_HEX_RECORD, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "INTEL_HEX_RECORD_Type_get" "', argument " "1"" of type '" "INTEL_HEX_RECORD *""'"); 
  }
  arg1 = reinterpret_cast< INTEL_HEX_RECORD * >(argp1);
  result = (unsigned char) ((arg1)->Type);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_INTEL_HEX_RECORD_Data_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  INTEL_HEX_RECORD *arg1 = (INTEL_HEX_RECORD *) 0 ;
  unsigned char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:INTEL_HEX_RECORD_Data_set self Data ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p__INTEL_HEX_RECORD, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "INTEL_HEX_RECORD_Data_set" "', argument " "1"" of type '" "INTEL_HEX_RECORD *""'"); 
  }
  arg1 = reinterpret_cast< INTEL_HEX_RECORD * >(argp1);
  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_unsigned_char, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "INTEL_HEX_RECORD_Data_set" "', argument " "2"" of type '" "unsigned char [16]""'"); 
  } 
  arg2 = reinterpret_cast< unsigned char * >(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)16; ++ii) arg1->Data[ii] = arg2[ii];
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Data""' of type '""unsigned char [16]""'");
    }
  }
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_INTEL_HEX_RECORD_Data_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  INTEL_HEX_RECORD *arg1 = (INTEL_HEX_RECORD *) 0 ;
  unsigned char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:INTEL_HEX_RECORD_Data_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p__INTEL_HEX_RECORD, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "INTEL_HEX_RECORD_Data_get" "', argument " "1"" of type '" "INTEL_HEX_RECORD *""'"); 
  }
  arg1 = reinterpret_cast< INTEL_HEX_RECORD * >(argp1);
  result = (unsigned char *)(unsigned char *) ((arg1)->Data);
  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char,0));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_new_INTEL_HEX_RECORD(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  INTEL_HEX_RECORD *result = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,":new_INTEL_HEX_RECORD ") == TCL_ERROR) SWIG_fail;
  result = (INTEL_HEX_RECORD *)new INTEL_HEX_RECORD();
  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p__INTEL_HEX_RECORD,0));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_delete_INTEL_HEX_RECORD(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  INTEL_HEX_RECORD *arg1 = (INTEL_HEX_RECORD *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:delete_INTEL_HEX_RECORD self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p__INTEL_HEX_RECORD, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_INTEL_HEX_RECORD" "', argument " "1"" of type '" "INTEL_HEX_RECORD *""'"); 
  }
  arg1 = reinterpret_cast< INTEL_HEX_RECORD * >(argp1);
  delete arg1;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN void swig_delete_INTEL_HEX_RECORD(void *obj) {
INTEL_HEX_RECORD *arg1 = (INTEL_HEX_RECORD *) obj;
delete arg1;
}
static swig_method swig_INTEL_HEX_RECORD_methods[] = {
    {0,0}
};
static swig_attribute swig_INTEL_HEX_RECORD_attributes[] = {
    { "-Length",_wrap_INTEL_HEX_RECORD_Length_get, _wrap_INTEL_HEX_RECORD_Length_set},
    { "-Address",_wrap_INTEL_HEX_RECORD_Address_get, _wrap_INTEL_HEX_RECORD_Address_set},
    { "-Type",_wrap_INTEL_HEX_RECORD_Type_get, _wrap_INTEL_HEX_RECORD_Type_set},
    { "-Data",_wrap_INTEL_HEX_RECORD_Data_get, _wrap_INTEL_HEX_RECORD_Data_set},
    {0,0,0}
};
static swig_class *swig_INTEL_HEX_RECORD_bases[] = {0};
static const char * swig_INTEL_HEX_RECORD_base_names[] = {0};
static swig_class _wrap_class_INTEL_HEX_RECORD = { "INTEL_HEX_RECORD", &SWIGTYPE_p__INTEL_HEX_RECORD,_wrap_new_INTEL_HEX_RECORD, swig_delete_INTEL_HEX_RECORD, swig_INTEL_HEX_RECORD_methods, swig_INTEL_HEX_RECORD_attributes, swig_INTEL_HEX_RECORD_bases,swig_INTEL_HEX_RECORD_base_names, &swig_module };
SWIGINTERN int
_wrap_FEATURE_SUPPORT_LIST_bSequenceBulkDownload_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  FEATURE_SUPPORT_LIST *arg1 = (FEATURE_SUPPORT_LIST *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:FEATURE_SUPPORT_LIST_bSequenceBulkDownload_set self bSequenceBulkDownload ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p__FEATURE_SUPPORT_LIST, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FEATURE_SUPPORT_LIST_bSequenceBulkDownload_set" "', argument " "1"" of type '" "FEATURE_SUPPORT_LIST *""'"); 
  }
  arg1 = reinterpret_cast< FEATURE_SUPPORT_LIST * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FEATURE_SUPPORT_LIST_bSequenceBulkDownload_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->bSequenceBulkDownload = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_FEATURE_SUPPORT_LIST_bSequenceBulkDownload_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  FEATURE_SUPPORT_LIST *arg1 = (FEATURE_SUPPORT_LIST *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:FEATURE_SUPPORT_LIST_bSequenceBulkDownload_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p__FEATURE_SUPPORT_LIST, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FEATURE_SUPPORT_LIST_bSequenceBulkDownload_get" "', argument " "1"" of type '" "FEATURE_SUPPORT_LIST *""'"); 
  }
  arg1 = reinterpret_cast< FEATURE_SUPPORT_LIST * >(argp1);
  result = (bool) ((arg1)->bSequenceBulkDownload);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_new_FEATURE_SUPPORT_LIST(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  FEATURE_SUPPORT_LIST *result = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,":new_FEATURE_SUPPORT_LIST ") == TCL_ERROR) SWIG_fail;
  result = (FEATURE_SUPPORT_LIST *)new FEATURE_SUPPORT_LIST();
  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p__FEATURE_SUPPORT_LIST,0));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_delete_FEATURE_SUPPORT_LIST(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  FEATURE_SUPPORT_LIST *arg1 = (FEATURE_SUPPORT_LIST *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:delete_FEATURE_SUPPORT_LIST self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p__FEATURE_SUPPORT_LIST, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FEATURE_SUPPORT_LIST" "', argument " "1"" of type '" "FEATURE_SUPPORT_LIST *""'"); 
  }
  arg1 = reinterpret_cast< FEATURE_SUPPORT_LIST * >(argp1);
  delete arg1;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN void swig_delete_FEATURE_SUPPORT_LIST(void *obj) {
FEATURE_SUPPORT_LIST *arg1 = (FEATURE_SUPPORT_LIST *) obj;
delete arg1;
}
static swig_method swig_FEATURE_SUPPORT_LIST_methods[] = {
    {0,0}
};
static swig_attribute swig_FEATURE_SUPPORT_LIST_attributes[] = {
    { "-bSequenceBulkDownload",_wrap_FEATURE_SUPPORT_LIST_bSequenceBulkDownload_get, _wrap_FEATURE_SUPPORT_LIST_bSequenceBulkDownload_set},
    {0,0,0}
};
static swig_class *swig_FEATURE_SUPPORT_LIST_bases[] = {0};
static const char * swig_FEATURE_SUPPORT_LIST_base_names[] = {0};
static swig_class _wrap_class_FEATURE_SUPPORT_LIST = { "FEATURE_SUPPORT_LIST", &SWIGTYPE_p__FEATURE_SUPPORT_LIST,_wrap_new_FEATURE_SUPPORT_LIST, swig_delete_FEATURE_SUPPORT_LIST, swig_FEATURE_SUPPORT_LIST_methods, swig_FEATURE_SUPPORT_LIST_attributes, swig_FEATURE_SUPPORT_LIST_bases,swig_FEATURE_SUPPORT_LIST_base_names, &swig_module };
SWIGINTERN int
_wrap_new_CApnCamera(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *result = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,":new_CApnCamera ") == TCL_ERROR) SWIG_fail;
  result = (CApnCamera *)new CApnCamera();
  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_CApnCamera,0));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_delete_CApnCamera(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:delete_CApnCamera self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CApnCamera" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  delete arg1;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GetDeviceHandle(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  void *arg2 = (void *) 0 ;
  char *arg3 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  int res3 ;
  char *buf3 = 0 ;
  int alloc3 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooo:CApnCamera_GetDeviceHandle self hCamera CameraInfo ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GetDeviceHandle" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_ConvertPtr(objv[2],SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_GetDeviceHandle" "', argument " "2"" of type '" "void *""'"); 
  }
  res3 = SWIG_AsCharPtrAndSize(objv[3], &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CApnCamera_GetDeviceHandle" "', argument " "3"" of type '" "char *""'");
  }
  arg3 = reinterpret_cast< char * >(buf3);
  result = (bool)(arg1)->GetDeviceHandle(arg2,arg3);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return TCL_OK;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_InitDriver(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned long arg2 ;
  unsigned short arg3 ;
  unsigned long arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  unsigned short val3 ;
  int ecode3 = 0 ;
  unsigned long val4 ;
  int ecode4 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oooo:CApnCamera_InitDriver self CamIdA CamIdB Option ",(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_InitDriver" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_InitDriver" "', argument " "2"" of type '" "unsigned long""'");
  } 
  arg2 = static_cast< unsigned long >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CApnCamera_InitDriver" "', argument " "3"" of type '" "unsigned short""'");
  } 
  arg3 = static_cast< unsigned short >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_long SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CApnCamera_InitDriver" "', argument " "4"" of type '" "unsigned long""'");
  } 
  arg4 = static_cast< unsigned long >(val4);
  result = (bool)(arg1)->InitDriver(arg2,arg3,arg4);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_SimpleInitDriver(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned long arg2 ;
  unsigned short arg3 ;
  unsigned long arg4 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned long val2 ;
  int ecode2 = 0 ;
  unsigned short val3 ;
  int ecode3 = 0 ;
  unsigned long val4 ;
  int ecode4 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oooo:CApnCamera_SimpleInitDriver self CamIdA CamIdB Option ",(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_SimpleInitDriver" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_long SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_SimpleInitDriver" "', argument " "2"" of type '" "unsigned long""'");
  } 
  arg2 = static_cast< unsigned long >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CApnCamera_SimpleInitDriver" "', argument " "3"" of type '" "unsigned short""'");
  } 
  arg3 = static_cast< unsigned short >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_long SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CApnCamera_SimpleInitDriver" "', argument " "4"" of type '" "unsigned long""'");
  } 
  arg4 = static_cast< unsigned long >(val4);
  result = (bool)(arg1)->SimpleInitDriver(arg2,arg3,arg4);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GetCameraInterface(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Interface result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_GetCameraInterface self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GetCameraInterface" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (arg1)->GetCameraInterface();
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GetCameraSerialNumber(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *arg2 = (char *) 0 ;
  long *arg3 = (long *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooo:CApnCamera_GetCameraSerialNumber self CameraSerialNumber BufferLength ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GetCameraSerialNumber" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_GetCameraSerialNumber" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CApnCamera_GetCameraSerialNumber" "', argument " "3"" of type '" "long *""'"); 
  }
  arg3 = reinterpret_cast< long * >(argp3);
  result = (long)(arg1)->GetCameraSerialNumber(arg2,arg3);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return TCL_OK;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GetSystemDriverVersion(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *arg2 = (char *) 0 ;
  long *arg3 = (long *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooo:CApnCamera_GetSystemDriverVersion self SystemDriverVersion BufferLength ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GetSystemDriverVersion" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_GetSystemDriverVersion" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CApnCamera_GetSystemDriverVersion" "', argument " "3"" of type '" "long *""'"); 
  }
  arg3 = reinterpret_cast< long * >(argp3);
  result = (long)(arg1)->GetSystemDriverVersion(arg2,arg3);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return TCL_OK;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GetUsb8051FirmwareRev(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *arg2 = (char *) 0 ;
  long *arg3 = (long *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooo:CApnCamera_GetUsb8051FirmwareRev self FirmwareRev BufferLength ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GetUsb8051FirmwareRev" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_GetUsb8051FirmwareRev" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CApnCamera_GetUsb8051FirmwareRev" "', argument " "3"" of type '" "long *""'"); 
  }
  arg3 = reinterpret_cast< long * >(argp3);
  result = (long)(arg1)->GetUsb8051FirmwareRev(arg2,arg3);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return TCL_OK;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GetUsbProductId(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short *arg2 = (unsigned short *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_GetUsbProductId self pProductId ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GetUsbProductId" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_unsigned_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_GetUsbProductId" "', argument " "2"" of type '" "unsigned short *""'"); 
  }
  arg2 = reinterpret_cast< unsigned short * >(argp2);
  result = (long)(arg1)->GetUsbProductId(arg2);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GetUsbDeviceId(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short *arg2 = (unsigned short *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_GetUsbDeviceId self pDeviceId ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GetUsbDeviceId" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_unsigned_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_GetUsbDeviceId" "', argument " "2"" of type '" "unsigned short *""'"); 
  }
  arg2 = reinterpret_cast< unsigned short * >(argp2);
  result = (long)(arg1)->GetUsbDeviceId(arg2);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_CloseDriver(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_CloseDriver self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_CloseDriver" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->CloseDriver();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_PreStartExpose(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_PreStartExpose self BitsPerPixel ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_PreStartExpose" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_PreStartExpose" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  result = (long)(arg1)->PreStartExpose(arg2);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_PostStopExposure(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_PostStopExposure self DigitizeData ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_PostStopExposure" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_PostStopExposure" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  result = (long)(arg1)->PostStopExposure(arg2);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GetImageData(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short *arg2 = (unsigned short *) 0 ;
  unsigned short *arg3 = 0 ;
  unsigned short *arg4 = 0 ;
  unsigned long *arg5 = 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooooo:CApnCamera_GetImageData self pImageData Width Height Count ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GetImageData" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_unsigned_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_GetImageData" "', argument " "2"" of type '" "unsigned short *""'"); 
  }
  arg2 = reinterpret_cast< unsigned short * >(argp2);
  res3 = SWIG_ConvertPtr(objv[3], &argp3, SWIGTYPE_p_unsigned_short,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CApnCamera_GetImageData" "', argument " "3"" of type '" "unsigned short &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_GetImageData" "', argument " "3"" of type '" "unsigned short &""'"); 
  }
  arg3 = reinterpret_cast< unsigned short * >(argp3);
  res4 = SWIG_ConvertPtr(objv[4], &argp4, SWIGTYPE_p_unsigned_short,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CApnCamera_GetImageData" "', argument " "4"" of type '" "unsigned short &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_GetImageData" "', argument " "4"" of type '" "unsigned short &""'"); 
  }
  arg4 = reinterpret_cast< unsigned short * >(argp4);
  res5 = SWIG_ConvertPtr(objv[5], &argp5, SWIGTYPE_p_unsigned_long,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CApnCamera_GetImageData" "', argument " "5"" of type '" "unsigned long &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_GetImageData" "', argument " "5"" of type '" "unsigned long &""'"); 
  }
  arg5 = reinterpret_cast< unsigned long * >(argp5);
  result = (long)(arg1)->GetImageData(arg2,*arg3,*arg4,*arg5);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GetLineData(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short *arg2 = (unsigned short *) 0 ;
  unsigned short *arg3 = 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooo:CApnCamera_GetLineData self pLineBuffer Size ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GetLineData" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_unsigned_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_GetLineData" "', argument " "2"" of type '" "unsigned short *""'"); 
  }
  arg2 = reinterpret_cast< unsigned short * >(argp2);
  res3 = SWIG_ConvertPtr(objv[3], &argp3, SWIGTYPE_p_unsigned_short,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CApnCamera_GetLineData" "', argument " "3"" of type '" "unsigned short &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_GetLineData" "', argument " "3"" of type '" "unsigned short &""'"); 
  }
  arg3 = reinterpret_cast< unsigned short * >(argp3);
  result = (long)(arg1)->GetLineData(arg2,*arg3);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_Read(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  unsigned short *arg3 = 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooo:CApnCamera_Read self reg val ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_Read" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_Read" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  res3 = SWIG_ConvertPtr(objv[3], &argp3, SWIGTYPE_p_unsigned_short,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CApnCamera_Read" "', argument " "3"" of type '" "unsigned short &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_Read" "', argument " "3"" of type '" "unsigned short &""'"); 
  }
  arg3 = reinterpret_cast< unsigned short * >(argp3);
  result = (long)(arg1)->Read(arg2,*arg3);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_Write(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  unsigned short arg3 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  unsigned short val3 ;
  int ecode3 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooo:CApnCamera_Write self reg val ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_Write" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_Write" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CApnCamera_Write" "', argument " "3"" of type '" "unsigned short""'");
  } 
  arg3 = static_cast< unsigned short >(val3);
  result = (long)(arg1)->Write(arg2,arg3);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_WriteMultiSRMD(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  unsigned short *arg3 ;
  unsigned short arg4 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned short val4 ;
  int ecode4 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oooo:CApnCamera_WriteMultiSRMD self reg val count ",(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_WriteMultiSRMD" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_WriteMultiSRMD" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_unsigned_short, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CApnCamera_WriteMultiSRMD" "', argument " "3"" of type '" "unsigned short []""'"); 
  } 
  arg3 = reinterpret_cast< unsigned short * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CApnCamera_WriteMultiSRMD" "', argument " "4"" of type '" "unsigned short""'");
  } 
  arg4 = static_cast< unsigned short >(val4);
  result = (long)(arg1)->WriteMultiSRMD(arg2,arg3,arg4);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_WriteMultiMRMD(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short *arg2 ;
  unsigned short *arg3 ;
  unsigned short arg4 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned short val4 ;
  int ecode4 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oooo:CApnCamera_WriteMultiMRMD self reg val count ",(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_WriteMultiMRMD" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_unsigned_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_WriteMultiMRMD" "', argument " "2"" of type '" "unsigned short []""'"); 
  } 
  arg2 = reinterpret_cast< unsigned short * >(argp2);
  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_unsigned_short, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CApnCamera_WriteMultiMRMD" "', argument " "3"" of type '" "unsigned short []""'"); 
  } 
  arg3 = reinterpret_cast< unsigned short * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CApnCamera_WriteMultiMRMD" "', argument " "4"" of type '" "unsigned short""'");
  } 
  arg4 = static_cast< unsigned short >(val4);
  result = (long)(arg1)->WriteMultiMRMD(arg2,arg3,arg4);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_QueryStatusRegs(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short *arg2 = 0 ;
  unsigned short *arg3 = 0 ;
  unsigned short *arg4 = 0 ;
  unsigned short *arg5 = 0 ;
  unsigned short *arg6 = 0 ;
  unsigned short *arg7 = 0 ;
  unsigned short *arg8 = 0 ;
  unsigned short *arg9 = 0 ;
  unsigned short *arg10 = 0 ;
  unsigned short *arg11 = 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  void *argp5 = 0 ;
  int res5 = 0 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  void *argp7 = 0 ;
  int res7 = 0 ;
  void *argp8 = 0 ;
  int res8 = 0 ;
  void *argp9 = 0 ;
  int res9 = 0 ;
  void *argp10 = 0 ;
  int res10 = 0 ;
  void *argp11 = 0 ;
  int res11 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooooooooooo:CApnCamera_QueryStatusRegs self StatusReg HeatsinkTempReg CcdTempReg CoolerDriveReg VoltageReg TdiCounter SequenceCounter MostRecentFrame ReadyFrame CurrentFrame ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_QueryStatusRegs" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_unsigned_short,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_QueryStatusRegs" "', argument " "2"" of type '" "unsigned short &""'"); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_QueryStatusRegs" "', argument " "2"" of type '" "unsigned short &""'"); 
  }
  arg2 = reinterpret_cast< unsigned short * >(argp2);
  res3 = SWIG_ConvertPtr(objv[3], &argp3, SWIGTYPE_p_unsigned_short,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CApnCamera_QueryStatusRegs" "', argument " "3"" of type '" "unsigned short &""'"); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_QueryStatusRegs" "', argument " "3"" of type '" "unsigned short &""'"); 
  }
  arg3 = reinterpret_cast< unsigned short * >(argp3);
  res4 = SWIG_ConvertPtr(objv[4], &argp4, SWIGTYPE_p_unsigned_short,  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CApnCamera_QueryStatusRegs" "', argument " "4"" of type '" "unsigned short &""'"); 
  }
  if (!argp4) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_QueryStatusRegs" "', argument " "4"" of type '" "unsigned short &""'"); 
  }
  arg4 = reinterpret_cast< unsigned short * >(argp4);
  res5 = SWIG_ConvertPtr(objv[5], &argp5, SWIGTYPE_p_unsigned_short,  0 );
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CApnCamera_QueryStatusRegs" "', argument " "5"" of type '" "unsigned short &""'"); 
  }
  if (!argp5) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_QueryStatusRegs" "', argument " "5"" of type '" "unsigned short &""'"); 
  }
  arg5 = reinterpret_cast< unsigned short * >(argp5);
  res6 = SWIG_ConvertPtr(objv[6], &argp6, SWIGTYPE_p_unsigned_short,  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CApnCamera_QueryStatusRegs" "', argument " "6"" of type '" "unsigned short &""'"); 
  }
  if (!argp6) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_QueryStatusRegs" "', argument " "6"" of type '" "unsigned short &""'"); 
  }
  arg6 = reinterpret_cast< unsigned short * >(argp6);
  res7 = SWIG_ConvertPtr(objv[7], &argp7, SWIGTYPE_p_unsigned_short,  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CApnCamera_QueryStatusRegs" "', argument " "7"" of type '" "unsigned short &""'"); 
  }
  if (!argp7) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_QueryStatusRegs" "', argument " "7"" of type '" "unsigned short &""'"); 
  }
  arg7 = reinterpret_cast< unsigned short * >(argp7);
  res8 = SWIG_ConvertPtr(objv[8], &argp8, SWIGTYPE_p_unsigned_short,  0 );
  if (!SWIG_IsOK(res8)) {
    SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CApnCamera_QueryStatusRegs" "', argument " "8"" of type '" "unsigned short &""'"); 
  }
  if (!argp8) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_QueryStatusRegs" "', argument " "8"" of type '" "unsigned short &""'"); 
  }
  arg8 = reinterpret_cast< unsigned short * >(argp8);
  res9 = SWIG_ConvertPtr(objv[9], &argp9, SWIGTYPE_p_unsigned_short,  0 );
  if (!SWIG_IsOK(res9)) {
    SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CApnCamera_QueryStatusRegs" "', argument " "9"" of type '" "unsigned short &""'"); 
  }
  if (!argp9) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_QueryStatusRegs" "', argument " "9"" of type '" "unsigned short &""'"); 
  }
  arg9 = reinterpret_cast< unsigned short * >(argp9);
  res10 = SWIG_ConvertPtr(objv[10], &argp10, SWIGTYPE_p_unsigned_short,  0 );
  if (!SWIG_IsOK(res10)) {
    SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "CApnCamera_QueryStatusRegs" "', argument " "10"" of type '" "unsigned short &""'"); 
  }
  if (!argp10) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_QueryStatusRegs" "', argument " "10"" of type '" "unsigned short &""'"); 
  }
  arg10 = reinterpret_cast< unsigned short * >(argp10);
  res11 = SWIG_ConvertPtr(objv[11], &argp11, SWIGTYPE_p_unsigned_short,  0 );
  if (!SWIG_IsOK(res11)) {
    SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "CApnCamera_QueryStatusRegs" "', argument " "11"" of type '" "unsigned short &""'"); 
  }
  if (!argp11) {
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_QueryStatusRegs" "', argument " "11"" of type '" "unsigned short &""'"); 
  }
  arg11 = reinterpret_cast< unsigned short * >(argp11);
  result = (long)(arg1)->QueryStatusRegs(*arg2,*arg3,*arg4,*arg5,*arg6,*arg7,*arg8,*arg9,*arg10,*arg11);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_SetNetworkTransferMode(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_NetworkMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_SetNetworkTransferMode self TransferMode ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_SetNetworkTransferMode" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_SetNetworkTransferMode" "', argument " "2"" of type '" "Apn_NetworkMode""'");
  } 
  arg2 = static_cast< Apn_NetworkMode >(val2);
  (arg1)->SetNetworkTransferMode(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_SetCameraSerialNumber(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *arg2 = (char *) 0 ;
  long *arg3 = (long *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooo:CApnCamera_SetCameraSerialNumber self CameraSerialNumber BufferLength ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_SetCameraSerialNumber" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_SetCameraSerialNumber" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CApnCamera_SetCameraSerialNumber" "', argument " "3"" of type '" "long *""'"); 
  }
  arg3 = reinterpret_cast< long * >(argp3);
  result = (long)(arg1)->SetCameraSerialNumber(arg2,arg3);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return TCL_OK;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_DownloadFirmware(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  PINTEL_HEX_RECORD arg2 = (PINTEL_HEX_RECORD) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_DownloadFirmware self Firmware ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_DownloadFirmware" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p__INTEL_HEX_RECORD, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_DownloadFirmware" "', argument " "2"" of type '" "PINTEL_HEX_RECORD""'"); 
  }
  arg2 = reinterpret_cast< PINTEL_HEX_RECORD >(argp2);
  result = (bool)(arg1)->DownloadFirmware(arg2);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_InitDefaults(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_InitDefaults self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_InitDefaults" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (long)(arg1)->InitDefaults();
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_Expose(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  bool arg3 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  bool val3 ;
  int ecode3 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooo:CApnCamera_Expose self Duration Light ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_Expose" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_Expose" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  ecode3 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CApnCamera_Expose" "', argument " "3"" of type '" "bool""'");
  } 
  arg3 = static_cast< bool >(val3);
  result = (bool)(arg1)->Expose(arg2,arg3);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GetImage(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short *arg2 = (unsigned short *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_GetImage self pBuffer ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GetImage" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_unsigned_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_GetImage" "', argument " "2"" of type '" "unsigned short *""'"); 
  }
  arg2 = reinterpret_cast< unsigned short * >(argp2);
  result = (bool)(arg1)->GetImage(arg2);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_BufferImage(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_BufferImage self bufferName ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_BufferImage" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_BufferImage" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  result = (bool)(arg1)->BufferImage(arg2);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return TCL_OK;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_BufferDriftScan(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  int arg6 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int val4 ;
  int ecode4 = 0 ;
  int val5 ;
  int ecode5 = 0 ;
  int val6 ;
  int ecode6 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oooooo:CApnCamera_BufferDriftScan self bufferName delay rowCount nblock npipe ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_BufferDriftScan" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_BufferDriftScan" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  ecode3 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CApnCamera_BufferDriftScan" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = static_cast< int >(val3);
  ecode4 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CApnCamera_BufferDriftScan" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = static_cast< int >(val4);
  ecode5 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CApnCamera_BufferDriftScan" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = static_cast< int >(val5);
  ecode6 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[6], &val6);
  if (!SWIG_IsOK(ecode6)) {
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CApnCamera_BufferDriftScan" "', argument " "6"" of type '" "int""'");
  } 
  arg6 = static_cast< int >(val6);
  result = (bool)(arg1)->BufferDriftScan(arg2,arg3,arg4,arg5,arg6);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return TCL_OK;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_StopExposure(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_StopExposure self DigitizeData ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_StopExposure" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_StopExposure" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  result = (bool)(arg1)->StopExposure(arg2);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_PowerDown(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_PowerDown self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_PowerDown" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->PowerDown();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_Resume(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_Resume self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_Resume" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->Resume();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_ResetSystem(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_ResetSystem self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_ResetSystem" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->ResetSystem();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_ResetSystemNoFlush(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_ResetSystemNoFlush self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_ResetSystemNoFlush" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->ResetSystemNoFlush();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_PauseTimer(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_PauseTimer self PauseState ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_PauseTimer" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_PauseTimer" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  result = (bool)(arg1)->PauseTimer(arg2);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GuideAbort(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_GuideAbort self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GuideAbort" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->GuideAbort();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GuideRAPlus(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_GuideRAPlus self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GuideRAPlus" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->GuideRAPlus();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GuideRAMinus(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_GuideRAMinus self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GuideRAMinus" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->GuideRAMinus();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GuideDecPlus(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_GuideDecPlus self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GuideDecPlus" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->GuideDecPlus();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GuideDecMinus(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_GuideDecMinus self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GuideDecMinus" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->GuideDecMinus();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_ConvertBayerImageToRGB(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short *arg2 = (unsigned short *) 0 ;
  unsigned short *arg3 = (unsigned short *) 0 ;
  unsigned short arg4 ;
  unsigned short arg5 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  unsigned short val4 ;
  int ecode4 = 0 ;
  unsigned short val5 ;
  int ecode5 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooooo:CApnCamera_ConvertBayerImageToRGB self pBayerBuffer pRgbBuffer ImageWidth ImageHeight ",(void *)0,(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_ConvertBayerImageToRGB" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_unsigned_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_ConvertBayerImageToRGB" "', argument " "2"" of type '" "unsigned short *""'"); 
  }
  arg2 = reinterpret_cast< unsigned short * >(argp2);
  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_unsigned_short, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CApnCamera_ConvertBayerImageToRGB" "', argument " "3"" of type '" "unsigned short *""'"); 
  }
  arg3 = reinterpret_cast< unsigned short * >(argp3);
  ecode4 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CApnCamera_ConvertBayerImageToRGB" "', argument " "4"" of type '" "unsigned short""'");
  } 
  arg4 = static_cast< unsigned short >(val4);
  ecode5 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[5], &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CApnCamera_ConvertBayerImageToRGB" "', argument " "5"" of type '" "unsigned short""'");
  } 
  arg5 = static_cast< unsigned short >(val5);
  result = (bool)(arg1)->ConvertBayerImageToRGB(arg2,arg3,arg4,arg5);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_ImageReady(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_ImageReady self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_ImageReady" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->ImageReady();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_ImageInProgress(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_ImageInProgress self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_ImageInProgress" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->ImageInProgress();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_SignalImagingDone(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_SignalImagingDone self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_SignalImagingDone" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  (arg1)->SignalImagingDone();
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GetExposurePixelsH(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_GetExposurePixelsH self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GetExposurePixelsH" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->GetExposurePixelsH();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_GetExposurePixelsV(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_GetExposurePixelsV self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_GetExposurePixelsV" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->GetExposurePixelsV();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_Present(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_Present self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_Present" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_Present();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_FirmwareVersion(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_FirmwareVersion self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_FirmwareVersion" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_FirmwareVersion();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_CameraModel(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *arg2 = (char *) 0 ;
  long *arg3 = (long *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooo:CApnCamera_read_CameraModel self CameraModel BufferLength ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_CameraModel" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(objv[2], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_read_CameraModel" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = reinterpret_cast< char * >(buf2);
  res3 = SWIG_ConvertPtr(objv[3], &argp3,SWIGTYPE_p_long, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CApnCamera_read_CameraModel" "', argument " "3"" of type '" "long *""'"); 
  }
  arg3 = reinterpret_cast< long * >(argp3);
  (arg1)->read_CameraModel(arg2,arg3);
  
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return TCL_OK;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ShutterState(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ShutterState self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ShutterState" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_ShutterState();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_DisableShutter(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_DisableShutter self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_DisableShutter" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_DisableShutter();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_DisableShutter(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_DisableShutter self DisableShutter ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_DisableShutter" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_DisableShutter" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_DisableShutter(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ForceShutterOpen(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ForceShutterOpen self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ForceShutterOpen" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_ForceShutterOpen();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_ForceShutterOpen(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_ForceShutterOpen self ForceShutterOpen ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_ForceShutterOpen" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_ForceShutterOpen" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_ForceShutterOpen(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ShutterAmpControl(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ShutterAmpControl self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ShutterAmpControl" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_ShutterAmpControl();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_ShutterAmpControl(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_ShutterAmpControl self ShutterAmpControl ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_ShutterAmpControl" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_ShutterAmpControl" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_ShutterAmpControl(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_DisableFlushCommands(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_DisableFlushCommands self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_DisableFlushCommands" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_DisableFlushCommands();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_DisableFlushCommands(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_DisableFlushCommands self DisableFlushCommands ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_DisableFlushCommands" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_DisableFlushCommands" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_DisableFlushCommands(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_DisablePostExposeFlushing(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_DisablePostExposeFlushing self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_DisablePostExposeFlushing" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_DisablePostExposeFlushing();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_DisablePostExposeFlushing(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_DisablePostExposeFlushing self DisablePostExposeFlushing ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_DisablePostExposeFlushing" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_DisablePostExposeFlushing" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_DisablePostExposeFlushing(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ExternalIoReadout(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ExternalIoReadout self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ExternalIoReadout" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_ExternalIoReadout();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_ExternalIoReadout(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_ExternalIoReadout self ExternalIoReadout ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_ExternalIoReadout" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_ExternalIoReadout" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_ExternalIoReadout(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ExternalShutter(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ExternalShutter self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ExternalShutter" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_ExternalShutter();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_ExternalShutter(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_ExternalShutter self ExternalShutter ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_ExternalShutter" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_ExternalShutter" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_ExternalShutter(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_FastSequence(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_FastSequence self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_FastSequence" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_FastSequence();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_FastSequence(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_FastSequence self FastSequence ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_FastSequence" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_FastSequence" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_FastSequence(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_CameraMode(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_CameraMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_CameraMode self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_CameraMode" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (arg1)->read_CameraMode();
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_CameraMode(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_CameraMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_CameraMode self CameraMode ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_CameraMode" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_CameraMode" "', argument " "2"" of type '" "Apn_CameraMode""'");
  } 
  arg2 = static_cast< Apn_CameraMode >(val2);
  (arg1)->write_CameraMode(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_DataBits(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Resolution result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_DataBits self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_DataBits" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (arg1)->read_DataBits();
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_DataBits(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Resolution arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_DataBits self BitResolution ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_DataBits" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_DataBits" "', argument " "2"" of type '" "Apn_Resolution""'");
  } 
  arg2 = static_cast< Apn_Resolution >(val2);
  (arg1)->write_DataBits(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ImagingStatus(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Status result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ImagingStatus self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ImagingStatus" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (arg1)->read_ImagingStatus();
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_LedMode(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_LedMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_LedMode self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_LedMode" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (arg1)->read_LedMode();
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_LedMode(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_LedMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_LedMode self LedMode ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_LedMode" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_LedMode" "', argument " "2"" of type '" "Apn_LedMode""'");
  } 
  arg2 = static_cast< Apn_LedMode >(val2);
  (arg1)->write_LedMode(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_LedState(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  Apn_LedState result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_read_LedState self LedId ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_LedState" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_read_LedState" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  result = (arg1)->read_LedState(arg2);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_LedState(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  Apn_LedState arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooo:CApnCamera_write_LedState self LedId LedState ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_LedState" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_LedState" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  ecode3 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CApnCamera_write_LedState" "', argument " "3"" of type '" "Apn_LedState""'");
  } 
  arg3 = static_cast< Apn_LedState >(val3);
  (arg1)->write_LedState(arg2,arg3);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_CoolerEnable(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_CoolerEnable self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_CoolerEnable" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_CoolerEnable();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_CoolerEnable(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_CoolerEnable self CoolerEnable ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_CoolerEnable" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_CoolerEnable" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_CoolerEnable(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_CoolerStatus(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_CoolerStatus result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_CoolerStatus self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_CoolerStatus" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (arg1)->read_CoolerStatus();
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_CoolerSetPoint(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_CoolerSetPoint self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_CoolerSetPoint" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_CoolerSetPoint();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_CoolerSetPoint(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_CoolerSetPoint self SetPoint ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_CoolerSetPoint" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_CoolerSetPoint" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->write_CoolerSetPoint(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_CoolerBackoffPoint(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_CoolerBackoffPoint self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_CoolerBackoffPoint" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_CoolerBackoffPoint();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_CoolerBackoffPoint(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_CoolerBackoffPoint self BackoffPoint ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_CoolerBackoffPoint" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_CoolerBackoffPoint" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->write_CoolerBackoffPoint(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_CoolerDrive(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_CoolerDrive self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_CoolerDrive" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_CoolerDrive();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_TempCCD(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_TempCCD self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_TempCCD" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_TempCCD();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_TempHeatsink(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_TempHeatsink self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_TempHeatsink" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_TempHeatsink();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_FanMode(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_FanMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_FanMode self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_FanMode" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (arg1)->read_FanMode();
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_FanMode(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_FanMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_FanMode self FanMode ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_FanMode" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_FanMode" "', argument " "2"" of type '" "Apn_FanMode""'");
  } 
  arg2 = static_cast< Apn_FanMode >(val2);
  (arg1)->write_FanMode(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_FlushBinningV(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_FlushBinningV self FlushBinningV ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_FlushBinningV" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_FlushBinningV" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_FlushBinningV(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_FlushBinningV(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_FlushBinningV self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_FlushBinningV" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_FlushBinningV();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_MaxBinningH(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_MaxBinningH self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_MaxBinningH" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_MaxBinningH();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_MaxBinningV(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_MaxBinningV self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_MaxBinningV" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_MaxBinningV();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_RoiBinningH(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_RoiBinningH self RoiBinningH ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_RoiBinningH" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_RoiBinningH" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_RoiBinningH(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_RoiBinningH(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_RoiBinningH self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_RoiBinningH" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_RoiBinningH();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_RoiBinningV(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_RoiBinningV self RoiBinningV ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_RoiBinningV" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_RoiBinningV" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_RoiBinningV(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_RoiBinningV(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_RoiBinningV self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_RoiBinningV" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_RoiBinningV();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_RoiPixelsH(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_RoiPixelsH self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_RoiPixelsH" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_RoiPixelsH();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_RoiPixelsH(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_RoiPixelsH self RoiPixelsH ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_RoiPixelsH" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_RoiPixelsH" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_RoiPixelsH(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_RoiPixelsV(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_RoiPixelsV self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_RoiPixelsV" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_RoiPixelsV();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_RoiPixelsV(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_RoiPixelsV self RoiPixelsV ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_RoiPixelsV" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_RoiPixelsV" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_RoiPixelsV(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_RoiStartX(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_RoiStartX self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_RoiStartX" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_RoiStartX();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_RoiStartX(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_RoiStartX self RoiStartX ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_RoiStartX" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_RoiStartX" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_RoiStartX(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_RoiStartY(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_RoiStartY self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_RoiStartY" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_RoiStartY();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_RoiStartY(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_RoiStartY self RoiStartY ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_RoiStartY" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_RoiStartY" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_RoiStartY(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_DigitizeOverscan(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_DigitizeOverscan self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_DigitizeOverscan" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_DigitizeOverscan();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_DigitizeOverscan(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_DigitizeOverscan self DigitizeOverscan ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_DigitizeOverscan" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_DigitizeOverscan" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_DigitizeOverscan(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_OverscanColumns(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_OverscanColumns self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_OverscanColumns" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_OverscanColumns();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ShutterStrobePosition(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ShutterStrobePosition self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ShutterStrobePosition" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_ShutterStrobePosition();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_ShutterStrobePosition(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_ShutterStrobePosition self Position ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_ShutterStrobePosition" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_ShutterStrobePosition" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->write_ShutterStrobePosition(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ShutterStrobePeriod(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ShutterStrobePeriod self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ShutterStrobePeriod" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_ShutterStrobePeriod();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_ShutterStrobePeriod(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_ShutterStrobePeriod self Period ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_ShutterStrobePeriod" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_ShutterStrobePeriod" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->write_ShutterStrobePeriod(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ShutterCloseDelay(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ShutterCloseDelay self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ShutterCloseDelay" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_ShutterCloseDelay();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_ShutterCloseDelay(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_ShutterCloseDelay self ShutterCloseDelay ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_ShutterCloseDelay" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_ShutterCloseDelay" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->write_ShutterCloseDelay(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_SequenceBulkDownload(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_SequenceBulkDownload self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_SequenceBulkDownload" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_SequenceBulkDownload();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_SequenceBulkDownload(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_SequenceBulkDownload self SequenceBulkDownload ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_SequenceBulkDownload" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_SequenceBulkDownload" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_SequenceBulkDownload(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_SequenceDelay(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_SequenceDelay self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_SequenceDelay" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_SequenceDelay();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_SequenceDelay(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_SequenceDelay self Delay ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_SequenceDelay" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_SequenceDelay" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->write_SequenceDelay(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_VariableSequenceDelay(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_VariableSequenceDelay self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_VariableSequenceDelay" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_VariableSequenceDelay();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_VariableSequenceDelay(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_VariableSequenceDelay self VariableSequenceDelay ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_VariableSequenceDelay" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_VariableSequenceDelay" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_VariableSequenceDelay(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ImageCount(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ImageCount self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ImageCount" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_ImageCount();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_ImageCount(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_ImageCount self Count ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_ImageCount" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_ImageCount" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_ImageCount(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_SequenceCounter(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_SequenceCounter self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_SequenceCounter" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_SequenceCounter();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ExposureImageCount(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ExposureImageCount self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ExposureImageCount" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_ExposureImageCount();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ExposureBulkDownload(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ExposureBulkDownload self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ExposureBulkDownload" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_ExposureBulkDownload();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ContinuousImaging(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ContinuousImaging self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ContinuousImaging" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_ContinuousImaging();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_ContinuousImaging(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_ContinuousImaging self ContinuousImaging ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_ContinuousImaging" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_ContinuousImaging" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_ContinuousImaging(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_TDICounter(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_TDICounter self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_TDICounter" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_TDICounter();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_TDIRows(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_TDIRows self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_TDIRows" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_TDIRows();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_TDIRows(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_TDIRows self TdiRows ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_TDIRows" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_TDIRows" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_TDIRows(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_TDIRate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_TDIRate self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_TDIRate" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_TDIRate();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_TDIRate(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_TDIRate self TdiRate ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_TDIRate" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_TDIRate" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->write_TDIRate(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_TDIBinningV(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_TDIBinningV self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_TDIBinningV" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_TDIBinningV();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_TDIBinningV(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_TDIBinningV self TdiBinningV ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_TDIBinningV" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_TDIBinningV" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_TDIBinningV(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_KineticsSections(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_KineticsSections self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_KineticsSections" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_KineticsSections();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_KineticsSections(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_KineticsSections self KineticsSections ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_KineticsSections" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_KineticsSections" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_KineticsSections(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_KineticsShiftInterval(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_KineticsShiftInterval self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_KineticsShiftInterval" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_KineticsShiftInterval();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_KineticsShiftInterval(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_KineticsShiftInterval self KineticsShiftInterval ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_KineticsShiftInterval" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_KineticsShiftInterval" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->write_KineticsShiftInterval(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_KineticsSectionHeight(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_KineticsSectionHeight self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_KineticsSectionHeight" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_KineticsSectionHeight();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_KineticsSectionHeight(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_KineticsSectionHeight self KineticsSectionHeight ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_KineticsSectionHeight" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_KineticsSectionHeight" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_KineticsSectionHeight(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_TriggerNormalEach(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_TriggerNormalEach self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_TriggerNormalEach" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_TriggerNormalEach();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_TriggerNormalEach(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_TriggerNormalEach self TriggerNormalEach ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_TriggerNormalEach" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_TriggerNormalEach" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_TriggerNormalEach(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_TriggerNormalGroup(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_TriggerNormalGroup self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_TriggerNormalGroup" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_TriggerNormalGroup();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_TriggerNormalGroup(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_TriggerNormalGroup self TriggerNormalGroup ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_TriggerNormalGroup" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_TriggerNormalGroup" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_TriggerNormalGroup(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_TriggerTdiKineticsEach(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_TriggerTdiKineticsEach self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_TriggerTdiKineticsEach" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_TriggerTdiKineticsEach();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_TriggerTdiKineticsEach(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_TriggerTdiKineticsEach self TriggerTdiKineticsEach ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_TriggerTdiKineticsEach" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_TriggerTdiKineticsEach" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_TriggerTdiKineticsEach(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_TriggerTdiKineticsGroup(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_TriggerTdiKineticsGroup self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_TriggerTdiKineticsGroup" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_TriggerTdiKineticsGroup();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_TriggerTdiKineticsGroup(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_TriggerTdiKineticsGroup self TriggerTdiKineticsGroup ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_TriggerTdiKineticsGroup" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_TriggerTdiKineticsGroup" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_TriggerTdiKineticsGroup(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ExposureTriggerEach(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ExposureTriggerEach self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ExposureTriggerEach" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_ExposureTriggerEach();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ExposureTriggerGroup(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ExposureTriggerGroup self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ExposureTriggerGroup" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_ExposureTriggerGroup();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ExposureExternalShutter(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ExposureExternalShutter self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ExposureExternalShutter" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_ExposureExternalShutter();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_PreFlashEnable(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_PreFlashEnable self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_PreFlashEnable" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_PreFlashEnable();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_PreFlashEnable(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_PreFlashEnable self PreFlashEnable ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_PreFlashEnable" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_PreFlashEnable" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_PreFlashEnable(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_IoPortAssignment(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_IoPortAssignment self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_IoPortAssignment" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_IoPortAssignment();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_IoPortAssignment(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_IoPortAssignment self IoPortAssignment ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_IoPortAssignment" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_IoPortAssignment" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_IoPortAssignment(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_IoPortBlankingBits(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_IoPortBlankingBits self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_IoPortBlankingBits" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_IoPortBlankingBits();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_IoPortBlankingBits(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_IoPortBlankingBits self IoPortBlankingBits ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_IoPortBlankingBits" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_IoPortBlankingBits" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_IoPortBlankingBits(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_IoPortDirection(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_IoPortDirection self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_IoPortDirection" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_IoPortDirection();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_IoPortDirection(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_IoPortDirection self IoPortDirection ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_IoPortDirection" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_IoPortDirection" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_IoPortDirection(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_IoPortData(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_IoPortData self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_IoPortData" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_IoPortData();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_IoPortData(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_IoPortData self IoPortData ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_IoPortData" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_IoPortData" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_IoPortData(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_TwelveBitGain(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_TwelveBitGain self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_TwelveBitGain" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_TwelveBitGain();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_TwelveBitGain(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_TwelveBitGain self TwelveBitGain ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_TwelveBitGain" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_TwelveBitGain" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_TwelveBitGain(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_TwelveBitOffset(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_TwelveBitOffset self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_TwelveBitOffset" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_TwelveBitOffset();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_TwelveBitOffset(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_TwelveBitOffset self TwelveBitOffset ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_TwelveBitOffset" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_TwelveBitOffset" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_TwelveBitOffset(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_InputVoltage(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_InputVoltage self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_InputVoltage" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_InputVoltage();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_AvailableMemory(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_AvailableMemory self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_AvailableMemory" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (long)(arg1)->read_AvailableMemory();
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_MaxExposureTime(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_MaxExposureTime self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_MaxExposureTime" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_MaxExposureTime();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_NetworkTransferMode(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_NetworkMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_NetworkTransferMode self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_NetworkTransferMode" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (arg1)->read_NetworkTransferMode();
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_NetworkTransferMode(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_NetworkMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_NetworkTransferMode self TransferMode ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_NetworkTransferMode" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_NetworkTransferMode" "', argument " "2"" of type '" "Apn_NetworkMode""'");
  } 
  arg2 = static_cast< Apn_NetworkMode >(val2);
  (arg1)->write_NetworkTransferMode(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_TestLedBrightness(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_TestLedBrightness self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_TestLedBrightness" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_TestLedBrightness();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_TestLedBrightness(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_TestLedBrightness self TestLedBrightness ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_TestLedBrightness" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_TestLedBrightness" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->write_TestLedBrightness(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_PlatformType(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Platform result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_PlatformType self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_PlatformType" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (arg1)->read_PlatformType();
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_AscentADGainSixteenLeft(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_AscentADGainSixteenLeft self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_AscentADGainSixteenLeft" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_AscentADGainSixteenLeft();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_AscentADGainSixteenRight(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_AscentADGainSixteenRight self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_AscentADGainSixteenRight" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_AscentADGainSixteenRight();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_AscentADGainSixteen(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_AscentADGainSixteen self GainValue ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_AscentADGainSixteen" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_AscentADGainSixteen" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_AscentADGainSixteen(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_AscentADOffsetSixteenLeft(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_AscentADOffsetSixteenLeft self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_AscentADOffsetSixteenLeft" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_AscentADOffsetSixteenLeft();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_AscentADOffsetSixteenRight(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_AscentADOffsetSixteenRight self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_AscentADOffsetSixteenRight" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_AscentADOffsetSixteenRight();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_AscentADOffsetSixteen(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_AscentADOffsetSixteen self OffsetValue ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_AscentADOffsetSixteen" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_AscentADOffsetSixteen" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_AscentADOffsetSixteen(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_DigitizationSpeed(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_DigitizationSpeed self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_DigitizationSpeed" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short)(arg1)->read_DigitizationSpeed();
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_DigitizationSpeed(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_DigitizationSpeed self DigitizationSpeed ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_DigitizationSpeed" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_DigitizationSpeed" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  (arg1)->write_DigitizationSpeed(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_DataAveraging(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_DataAveraging self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_DataAveraging" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_DataAveraging();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_DataAveraging(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_DataAveraging self DataAveraging ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_DataAveraging" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_DataAveraging" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_DataAveraging(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_DualReadout(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_DualReadout self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_DualReadout" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_DualReadout();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_DualReadout(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_DualReadout self DualReadout ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_DualReadout" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_DualReadout" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->write_DualReadout(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_ConnectionTest(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_ConnectionTest self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_ConnectionTest" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_ConnectionTest();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_GuideActive(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_GuideActive self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_GuideActive" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->read_GuideActive();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_GuideRAPlusDuration(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_GuideRAPlusDuration self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_GuideRAPlusDuration" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_GuideRAPlusDuration();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_GuideRAPlusDuration(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_GuideRAPlusDuration self GuideRAPlusDuration ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_GuideRAPlusDuration" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_GuideRAPlusDuration" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->write_GuideRAPlusDuration(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_GuideRAMinusDuration(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_GuideRAMinusDuration self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_GuideRAMinusDuration" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_GuideRAMinusDuration();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_GuideRAMinusDuration(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_GuideRAMinusDuration self GuideRAMinusDuration ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_GuideRAMinusDuration" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_GuideRAMinusDuration" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->write_GuideRAMinusDuration(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_GuideDecPlusDuration(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_GuideDecPlusDuration self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_GuideDecPlusDuration" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_GuideDecPlusDuration();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_GuideDecPlusDuration(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_GuideDecPlusDuration self GuideDecPlusDuration ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_GuideDecPlusDuration" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_GuideDecPlusDuration" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->write_GuideDecPlusDuration(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_GuideDecMinusDuration(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_GuideDecMinusDuration self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_GuideDecMinusDuration" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double)(arg1)->read_GuideDecMinusDuration();
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_GuideDecMinusDuration(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_GuideDecMinusDuration self GuideDecMinusDuration ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_GuideDecMinusDuration" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_GuideDecMinusDuration" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  (arg1)->write_GuideDecMinusDuration(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_read_BayerStartPosition(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_BayerShift result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_read_BayerStartPosition self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_read_BayerStartPosition" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (arg1)->read_BayerStartPosition();
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_write_BayerStartPosition(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_BayerShift arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_write_BayerStartPosition self BayerStartPosition ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_write_BayerStartPosition" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_write_BayerStartPosition" "', argument " "2"" of type '" "Apn_BayerShift""'");
  } 
  arg2 = static_cast< Apn_BayerShift >(val2);
  (arg1)->write_BayerStartPosition(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_ApnSensorInfo_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  CApnCamData *arg2 = (CApnCamData *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_ApnSensorInfo_set self m_ApnSensorInfo ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_ApnSensorInfo_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_CApnCamData, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_m_ApnSensorInfo_set" "', argument " "2"" of type '" "CApnCamData *""'"); 
  }
  arg2 = reinterpret_cast< CApnCamData * >(argp2);
  if (arg1) (arg1)->m_ApnSensorInfo = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_ApnSensorInfo_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  CApnCamData *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_ApnSensorInfo_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_ApnSensorInfo_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (CApnCamData *) ((arg1)->m_ApnSensorInfo);
  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p_CApnCamData,0));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_LoadVerticalPattern(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_LoadVerticalPattern self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_LoadVerticalPattern" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (long)(arg1)->LoadVerticalPattern();
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_LoadClampPattern(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_LoadClampPattern self UseOppositePatterns ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_LoadClampPattern" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_LoadClampPattern" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  result = (long)(arg1)->LoadClampPattern(arg2);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_LoadSkipPattern(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_LoadSkipPattern self UseOppositePatterns ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_LoadSkipPattern" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_LoadSkipPattern" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  result = (long)(arg1)->LoadSkipPattern(arg2);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_LoadRoiPattern(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  unsigned short arg3 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  unsigned short val3 ;
  int ecode3 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"ooo:CApnCamera_LoadRoiPattern self UseOppositePatterns Binning ",(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_LoadRoiPattern" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_LoadRoiPattern" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CApnCamera_LoadRoiPattern" "', argument " "3"" of type '" "unsigned short""'");
  } 
  arg3 = static_cast< unsigned short >(val3);
  result = (long)(arg1)->LoadRoiPattern(arg2,arg3);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_WriteHorizontalPattern(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  APN_HPATTERN_FILE *arg2 = (APN_HPATTERN_FILE *) 0 ;
  unsigned short arg3 ;
  unsigned short arg4 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  unsigned short val3 ;
  int ecode3 = 0 ;
  unsigned short val4 ;
  int ecode4 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oooo:CApnCamera_WriteHorizontalPattern self Pattern reg binning ",(void *)0,(void *)0,(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_WriteHorizontalPattern" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_APN_HPATTERN_FILE, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_WriteHorizontalPattern" "', argument " "2"" of type '" "APN_HPATTERN_FILE *""'"); 
  }
  arg2 = reinterpret_cast< APN_HPATTERN_FILE * >(argp2);
  ecode3 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[3], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CApnCamera_WriteHorizontalPattern" "', argument " "3"" of type '" "unsigned short""'");
  } 
  arg3 = static_cast< unsigned short >(val3);
  ecode4 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[4], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CApnCamera_WriteHorizontalPattern" "', argument " "4"" of type '" "unsigned short""'");
  } 
  arg4 = static_cast< unsigned short >(val4);
  result = (long)(arg1)->WriteHorizontalPattern(arg2,arg3,arg4);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_InitTwelveBitAD(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_InitTwelveBitAD self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_InitTwelveBitAD" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (long)(arg1)->InitTwelveBitAD();
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_InitAscentSixteenBitAD(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_InitAscentSixteenBitAD self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_InitAscentSixteenBitAD" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (long)(arg1)->InitAscentSixteenBitAD();
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_UpdateGeneralStatus(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_UpdateGeneralStatus self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_UpdateGeneralStatus" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  (arg1)->UpdateGeneralStatus();
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_LookupAltaCameraId(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_LookupAltaCameraId self CameraId ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_LookupAltaCameraId" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_LookupAltaCameraId" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  result = (long)(arg1)->LookupAltaCameraId(arg2);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_LookupAscentCameraId(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_LookupAscentCameraId self CameraId ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_LookupAscentCameraId" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_LookupAscentCameraId" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  result = (long)(arg1)->LookupAscentCameraId(arg2);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_CheckGuiderRelayDuration(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_CheckGuiderRelayDuration self GuideDuration ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_CheckGuiderRelayDuration" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_CheckGuiderRelayDuration" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  result = (double)(arg1)->CheckGuiderRelayDuration(arg2);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_CalculateGuiderRelayTimeCounts(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_CalculateGuiderRelayTimeCounts self GuideDuration ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_CalculateGuiderRelayTimeCounts" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_CalculateGuiderRelayTimeCounts" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  result = (unsigned short)(arg1)->CalculateGuiderRelayTimeCounts(arg2);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_IssueExposeCommand(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_IssueExposeCommand self Light ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_IssueExposeCommand" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_IssueExposeCommand" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->IssueExposeCommand(arg2);
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_TakeNoDataDarkExposure(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_TakeNoDataDarkExposure self Duration ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_TakeNoDataDarkExposure" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_TakeNoDataDarkExposure" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  result = (bool)(arg1)->TakeNoDataDarkExposure(arg2);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_PostExposureRestoreParams(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_PostExposureRestoreParams self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_PostExposureRestoreParams" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  (arg1)->PostExposureRestoreParams();
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtPlatformType_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Platform arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtPlatformType_set self m_pvtPlatformType ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtPlatformType_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtPlatformType_set" "', argument " "2"" of type '" "Apn_Platform""'");
  } 
  arg2 = static_cast< Apn_Platform >(val2);
  if (arg1) (arg1)->m_pvtPlatformType = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtPlatformType_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Platform result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtPlatformType_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtPlatformType_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result =  ((arg1)->m_pvtPlatformType);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtResetVerticalArrays_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtResetVerticalArrays_set self m_pvtResetVerticalArrays ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtResetVerticalArrays_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtResetVerticalArrays_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtResetVerticalArrays = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtResetVerticalArrays_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtResetVerticalArrays_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtResetVerticalArrays_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtResetVerticalArrays);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtNewFeatureSupport_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  FEATURE_SUPPORT_LIST *arg2 = (FEATURE_SUPPORT_LIST *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtNewFeatureSupport_set self m_pvtNewFeatureSupport ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtNewFeatureSupport_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p__FEATURE_SUPPORT_LIST, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_m_pvtNewFeatureSupport_set" "', argument " "2"" of type '" "FEATURE_SUPPORT_LIST *""'"); 
  }
  arg2 = reinterpret_cast< FEATURE_SUPPORT_LIST * >(argp2);
  if (arg1) (arg1)->m_pvtNewFeatureSupport = *arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtNewFeatureSupport_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  FEATURE_SUPPORT_LIST *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtNewFeatureSupport_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtNewFeatureSupport_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (FEATURE_SUPPORT_LIST *)& ((arg1)->m_pvtNewFeatureSupport);
  Tcl_SetObjResult(interp, SWIG_NewInstanceObj( SWIG_as_voidptr(result), SWIGTYPE_p__FEATURE_SUPPORT_LIST,0));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRoiBinningH_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtRoiBinningH_set self m_pvtRoiBinningH ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRoiBinningH_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtRoiBinningH_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtRoiBinningH = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRoiBinningH_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtRoiBinningH_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRoiBinningH_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtRoiBinningH);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRoiBinningV_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtRoiBinningV_set self m_pvtRoiBinningV ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRoiBinningV_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtRoiBinningV_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtRoiBinningV = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRoiBinningV_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtRoiBinningV_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRoiBinningV_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtRoiBinningV);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRoiPixelsH_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtRoiPixelsH_set self m_pvtRoiPixelsH ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRoiPixelsH_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtRoiPixelsH_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtRoiPixelsH = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRoiPixelsH_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtRoiPixelsH_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRoiPixelsH_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtRoiPixelsH);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRoiPixelsV_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtRoiPixelsV_set self m_pvtRoiPixelsV ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRoiPixelsV_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtRoiPixelsV_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtRoiPixelsV = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRoiPixelsV_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtRoiPixelsV_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRoiPixelsV_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtRoiPixelsV);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRoiStartX_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtRoiStartX_set self m_pvtRoiStartX ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRoiStartX_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtRoiStartX_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtRoiStartX = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRoiStartX_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtRoiStartX_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRoiStartX_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtRoiStartX);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRoiStartY_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtRoiStartY_set self m_pvtRoiStartY ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRoiStartY_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtRoiStartY_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtRoiStartY = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRoiStartY_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtRoiStartY_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRoiStartY_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtRoiStartY);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCameraMode_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_CameraMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtCameraMode_set self m_pvtCameraMode ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCameraMode_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtCameraMode_set" "', argument " "2"" of type '" "Apn_CameraMode""'");
  } 
  arg2 = static_cast< Apn_CameraMode >(val2);
  if (arg1) (arg1)->m_pvtCameraMode = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCameraMode_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_CameraMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtCameraMode_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCameraMode_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result =  ((arg1)->m_pvtCameraMode);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExternalShutter_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExternalShutter_set self m_pvtExternalShutter ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExternalShutter_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExternalShutter_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtExternalShutter = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExternalShutter_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExternalShutter_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExternalShutter_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtExternalShutter);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCameraPoweredDown_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtCameraPoweredDown_set self m_pvtCameraPoweredDown ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCameraPoweredDown_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtCameraPoweredDown_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtCameraPoweredDown = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCameraPoweredDown_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtCameraPoweredDown_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCameraPoweredDown_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtCameraPoweredDown);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtPowerDownCoolerEnable_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtPowerDownCoolerEnable_set self m_pvtPowerDownCoolerEnable ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtPowerDownCoolerEnable_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtPowerDownCoolerEnable_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtPowerDownCoolerEnable = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtPowerDownCoolerEnable_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtPowerDownCoolerEnable_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtPowerDownCoolerEnable_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtPowerDownCoolerEnable);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtPowerDownFanMode_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_FanMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtPowerDownFanMode_set self m_pvtPowerDownFanMode ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtPowerDownFanMode_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtPowerDownFanMode_set" "', argument " "2"" of type '" "Apn_FanMode""'");
  } 
  arg2 = static_cast< Apn_FanMode >(val2);
  if (arg1) (arg1)->m_pvtPowerDownFanMode = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtPowerDownFanMode_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_FanMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtPowerDownFanMode_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtPowerDownFanMode_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result =  ((arg1)->m_pvtPowerDownFanMode);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtDataBits_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Resolution arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtDataBits_set self m_pvtDataBits ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtDataBits_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtDataBits_set" "', argument " "2"" of type '" "Apn_Resolution""'");
  } 
  arg2 = static_cast< Apn_Resolution >(val2);
  if (arg1) (arg1)->m_pvtDataBits = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtDataBits_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Resolution result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtDataBits_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtDataBits_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result =  ((arg1)->m_pvtDataBits);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtNetworkTransferMode_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_NetworkMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtNetworkTransferMode_set self m_pvtNetworkTransferMode ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtNetworkTransferMode_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtNetworkTransferMode_set" "', argument " "2"" of type '" "Apn_NetworkMode""'");
  } 
  arg2 = static_cast< Apn_NetworkMode >(val2);
  if (arg1) (arg1)->m_pvtNetworkTransferMode = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtNetworkTransferMode_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_NetworkMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtNetworkTransferMode_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtNetworkTransferMode_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result =  ((arg1)->m_pvtNetworkTransferMode);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtBayerShift_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_BayerShift arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtBayerShift_set self m_pvtBayerShift ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtBayerShift_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtBayerShift_set" "', argument " "2"" of type '" "Apn_BayerShift""'");
  } 
  arg2 = static_cast< Apn_BayerShift >(val2);
  if (arg1) (arg1)->m_pvtBayerShift = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtBayerShift_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_BayerShift result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtBayerShift_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtBayerShift_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result =  ((arg1)->m_pvtBayerShift);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtUseAdvancedStatus_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtUseAdvancedStatus_set self m_pvtUseAdvancedStatus ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtUseAdvancedStatus_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtUseAdvancedStatus_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtUseAdvancedStatus = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtUseAdvancedStatus_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtUseAdvancedStatus_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtUseAdvancedStatus_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtUseAdvancedStatus);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCameraID_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtCameraID_set self m_pvtCameraID ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCameraID_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtCameraID_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtCameraID = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCameraID_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtCameraID_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCameraID_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtCameraID);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtFirmwareVersion_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtFirmwareVersion_set self m_pvtFirmwareVersion ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtFirmwareVersion_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtFirmwareVersion_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtFirmwareVersion = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtFirmwareVersion_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtFirmwareVersion_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtFirmwareVersion_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtFirmwareVersion);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtImageCount_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtImageCount_set self m_pvtImageCount ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtImageCount_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtImageCount_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtImageCount = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtImageCount_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtImageCount_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtImageCount_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtImageCount);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTDIRows_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtTDIRows_set self m_pvtTDIRows ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTDIRows_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtTDIRows_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtTDIRows = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTDIRows_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtTDIRows_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTDIRows_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtTDIRows);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTDIBinningV_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtTDIBinningV_set self m_pvtTDIBinningV ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTDIBinningV_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtTDIBinningV_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtTDIBinningV = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTDIBinningV_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtTDIBinningV_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTDIBinningV_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtTDIBinningV);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTDIRate_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtTDIRate_set self m_pvtTDIRate ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTDIRate_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtTDIRate_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtTDIRate = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTDIRate_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtTDIRate_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTDIRate_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtTDIRate);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTDICounter_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtTDICounter_set self m_pvtTDICounter ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTDICounter_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtTDICounter_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtTDICounter = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTDICounter_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtTDICounter_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTDICounter_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtTDICounter);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtFlushBinningV_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtFlushBinningV_set self m_pvtFlushBinningV ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtFlushBinningV_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtFlushBinningV_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtFlushBinningV = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtFlushBinningV_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtFlushBinningV_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtFlushBinningV_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtFlushBinningV);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtDigitizeOverscan_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtDigitizeOverscan_set self m_pvtDigitizeOverscan ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtDigitizeOverscan_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtDigitizeOverscan_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtDigitizeOverscan = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtDigitizeOverscan_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtDigitizeOverscan_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtDigitizeOverscan_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtDigitizeOverscan);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtSequenceBulkDownload_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtSequenceBulkDownload_set self m_pvtSequenceBulkDownload ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtSequenceBulkDownload_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtSequenceBulkDownload_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtSequenceBulkDownload = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtSequenceBulkDownload_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtSequenceBulkDownload_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtSequenceBulkDownload_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtSequenceBulkDownload);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtSequenceDelay_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtSequenceDelay_set self m_pvtSequenceDelay ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtSequenceDelay_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtSequenceDelay_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtSequenceDelay = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtSequenceDelay_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtSequenceDelay_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtSequenceDelay_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtSequenceDelay);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtSequenceCounter_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtSequenceCounter_set self m_pvtSequenceCounter ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtSequenceCounter_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtSequenceCounter_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtSequenceCounter = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtSequenceCounter_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtSequenceCounter_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtSequenceCounter_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtSequenceCounter);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtFastSequence_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtFastSequence_set self m_pvtFastSequence ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtFastSequence_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtFastSequence_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtFastSequence = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtFastSequence_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtFastSequence_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtFastSequence_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtFastSequence);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtShutterStrobePosition_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtShutterStrobePosition_set self m_pvtShutterStrobePosition ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtShutterStrobePosition_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtShutterStrobePosition_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtShutterStrobePosition = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtShutterStrobePosition_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtShutterStrobePosition_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtShutterStrobePosition_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtShutterStrobePosition);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtShutterStrobePeriod_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtShutterStrobePeriod_set self m_pvtShutterStrobePeriod ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtShutterStrobePeriod_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtShutterStrobePeriod_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtShutterStrobePeriod = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtShutterStrobePeriod_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtShutterStrobePeriod_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtShutterStrobePeriod_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtShutterStrobePeriod);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtShutterCloseDelay_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtShutterCloseDelay_set self m_pvtShutterCloseDelay ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtShutterCloseDelay_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtShutterCloseDelay_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtShutterCloseDelay = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtShutterCloseDelay_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtShutterCloseDelay_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtShutterCloseDelay_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtShutterCloseDelay);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposureTDIRows_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposureTDIRows_set self m_pvtExposureTDIRows ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposureTDIRows_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposureTDIRows_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtExposureTDIRows = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposureTDIRows_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposureTDIRows_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposureTDIRows_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtExposureTDIRows);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposurePixelsH_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposurePixelsH_set self m_pvtExposurePixelsH ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposurePixelsH_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposurePixelsH_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtExposurePixelsH = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposurePixelsH_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposurePixelsH_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposurePixelsH_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtExposurePixelsH);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposurePixelsV_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposurePixelsV_set self m_pvtExposurePixelsV ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposurePixelsV_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposurePixelsV_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtExposurePixelsV = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposurePixelsV_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposurePixelsV_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposurePixelsV_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtExposurePixelsV);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposureTriggerGroup_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposureTriggerGroup_set self m_pvtExposureTriggerGroup ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposureTriggerGroup_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposureTriggerGroup_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtExposureTriggerGroup = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposureTriggerGroup_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposureTriggerGroup_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposureTriggerGroup_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtExposureTriggerGroup);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposureTriggerEach_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposureTriggerEach_set self m_pvtExposureTriggerEach ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposureTriggerEach_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposureTriggerEach_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtExposureTriggerEach = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposureTriggerEach_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposureTriggerEach_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposureTriggerEach_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtExposureTriggerEach);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposureExternalShutter_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposureExternalShutter_set self m_pvtExposureExternalShutter ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposureExternalShutter_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposureExternalShutter_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtExposureExternalShutter = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposureExternalShutter_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposureExternalShutter_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposureExternalShutter_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtExposureExternalShutter);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposureImageCount_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposureImageCount_set self m_pvtExposureImageCount ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposureImageCount_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposureImageCount_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtExposureImageCount = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposureImageCount_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposureImageCount_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposureImageCount_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtExposureImageCount);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposureBulkDownload_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposureBulkDownload_set self m_pvtExposureBulkDownload ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposureBulkDownload_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposureBulkDownload_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtExposureBulkDownload = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposureBulkDownload_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposureBulkDownload_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposureBulkDownload_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtExposureBulkDownload);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtPreFlashEnable_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtPreFlashEnable_set self m_pvtPreFlashEnable ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtPreFlashEnable_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtPreFlashEnable_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtPreFlashEnable = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtPreFlashEnable_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtPreFlashEnable_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtPreFlashEnable_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtPreFlashEnable);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTwelveBitGain_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtTwelveBitGain_set self m_pvtTwelveBitGain ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTwelveBitGain_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtTwelveBitGain_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtTwelveBitGain = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTwelveBitGain_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtTwelveBitGain_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTwelveBitGain_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtTwelveBitGain);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTwelveBitOffset_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtTwelveBitOffset_set self m_pvtTwelveBitOffset ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTwelveBitOffset_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtTwelveBitOffset_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtTwelveBitOffset = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTwelveBitOffset_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtTwelveBitOffset_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTwelveBitOffset_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtTwelveBitOffset);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtAscentSixteenBitGainLeft_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtAscentSixteenBitGainLeft_set self m_pvtAscentSixteenBitGainLeft ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtAscentSixteenBitGainLeft_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtAscentSixteenBitGainLeft_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtAscentSixteenBitGainLeft = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtAscentSixteenBitGainLeft_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtAscentSixteenBitGainLeft_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtAscentSixteenBitGainLeft_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtAscentSixteenBitGainLeft);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtAscentSixteenBitOffsetLeft_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtAscentSixteenBitOffsetLeft_set self m_pvtAscentSixteenBitOffsetLeft ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtAscentSixteenBitOffsetLeft_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtAscentSixteenBitOffsetLeft_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtAscentSixteenBitOffsetLeft = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtAscentSixteenBitOffsetLeft_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtAscentSixteenBitOffsetLeft_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtAscentSixteenBitOffsetLeft_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtAscentSixteenBitOffsetLeft);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtAscentSixteenBitGainRight_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtAscentSixteenBitGainRight_set self m_pvtAscentSixteenBitGainRight ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtAscentSixteenBitGainRight_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtAscentSixteenBitGainRight_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtAscentSixteenBitGainRight = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtAscentSixteenBitGainRight_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtAscentSixteenBitGainRight_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtAscentSixteenBitGainRight_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtAscentSixteenBitGainRight);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtAscentSixteenBitOffsetRight_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtAscentSixteenBitOffsetRight_set self m_pvtAscentSixteenBitOffsetRight ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtAscentSixteenBitOffsetRight_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtAscentSixteenBitOffsetRight_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtAscentSixteenBitOffsetRight = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtAscentSixteenBitOffsetRight_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtAscentSixteenBitOffsetRight_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtAscentSixteenBitOffsetRight_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtAscentSixteenBitOffsetRight);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtDualReadout_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtDualReadout_set self m_pvtDualReadout ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtDualReadout_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtDualReadout_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtDualReadout = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtDualReadout_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtDualReadout_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtDualReadout_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtDualReadout);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtLedMode_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_LedMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtLedMode_set self m_pvtLedMode ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtLedMode_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtLedMode_set" "', argument " "2"" of type '" "Apn_LedMode""'");
  } 
  arg2 = static_cast< Apn_LedMode >(val2);
  if (arg1) (arg1)->m_pvtLedMode = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtLedMode_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_LedMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtLedMode_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtLedMode_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result =  ((arg1)->m_pvtLedMode);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtLedStateA_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_LedState arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtLedStateA_set self m_pvtLedStateA ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtLedStateA_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtLedStateA_set" "', argument " "2"" of type '" "Apn_LedState""'");
  } 
  arg2 = static_cast< Apn_LedState >(val2);
  if (arg1) (arg1)->m_pvtLedStateA = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtLedStateA_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_LedState result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtLedStateA_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtLedStateA_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result =  ((arg1)->m_pvtLedStateA);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtLedStateB_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_LedState arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtLedStateB_set self m_pvtLedStateB ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtLedStateB_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtLedStateB_set" "', argument " "2"" of type '" "Apn_LedState""'");
  } 
  arg2 = static_cast< Apn_LedState >(val2);
  if (arg1) (arg1)->m_pvtLedStateB = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtLedStateB_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_LedState result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtLedStateB_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtLedStateB_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result =  ((arg1)->m_pvtLedStateB);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTestLedBrightness_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtTestLedBrightness_set self m_pvtTestLedBrightness ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTestLedBrightness_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtTestLedBrightness_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtTestLedBrightness = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTestLedBrightness_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtTestLedBrightness_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTestLedBrightness_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtTestLedBrightness);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCoolerEnable_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtCoolerEnable_set self m_pvtCoolerEnable ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCoolerEnable_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtCoolerEnable_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtCoolerEnable = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCoolerEnable_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtCoolerEnable_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCoolerEnable_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtCoolerEnable);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtFanMode_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_FanMode arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtFanMode_set self m_pvtFanMode ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtFanMode_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtFanMode_set" "', argument " "2"" of type '" "Apn_FanMode""'");
  } 
  arg2 = static_cast< Apn_FanMode >(val2);
  if (arg1) (arg1)->m_pvtFanMode = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtFanMode_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_FanMode result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtFanMode_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtFanMode_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result =  ((arg1)->m_pvtFanMode);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCoolerBackoffPoint_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtCoolerBackoffPoint_set self m_pvtCoolerBackoffPoint ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCoolerBackoffPoint_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtCoolerBackoffPoint_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtCoolerBackoffPoint = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCoolerBackoffPoint_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtCoolerBackoffPoint_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCoolerBackoffPoint_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtCoolerBackoffPoint);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCoolerStatus_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_CoolerStatus arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtCoolerStatus_set self m_pvtCoolerStatus ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCoolerStatus_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtCoolerStatus_set" "', argument " "2"" of type '" "Apn_CoolerStatus""'");
  } 
  arg2 = static_cast< Apn_CoolerStatus >(val2);
  if (arg1) (arg1)->m_pvtCoolerStatus = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCoolerStatus_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_CoolerStatus result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtCoolerStatus_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCoolerStatus_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result =  ((arg1)->m_pvtCoolerStatus);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtImagingStatus_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Status arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtImagingStatus_set self m_pvtImagingStatus ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtImagingStatus_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtImagingStatus_set" "', argument " "2"" of type '" "Apn_Status""'");
  } 
  arg2 = static_cast< Apn_Status >(val2);
  if (arg1) (arg1)->m_pvtImagingStatus = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtImagingStatus_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Status result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtImagingStatus_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtImagingStatus_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result =  ((arg1)->m_pvtImagingStatus);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtPrevImagingStatus_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Status arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtPrevImagingStatus_set self m_pvtPrevImagingStatus ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtPrevImagingStatus_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtPrevImagingStatus_set" "', argument " "2"" of type '" "Apn_Status""'");
  } 
  arg2 = static_cast< Apn_Status >(val2);
  if (arg1) (arg1)->m_pvtPrevImagingStatus = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtPrevImagingStatus_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Status result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtPrevImagingStatus_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtPrevImagingStatus_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result =  ((arg1)->m_pvtPrevImagingStatus);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtShutterState_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtShutterState_set self m_pvtShutterState ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtShutterState_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtShutterState_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtShutterState = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtShutterState_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtShutterState_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtShutterState_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtShutterState);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtImageInProgress_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtImageInProgress_set self m_pvtImageInProgress ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtImageInProgress_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtImageInProgress_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtImageInProgress = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtImageInProgress_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtImageInProgress_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtImageInProgress_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtImageInProgress);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtImageReady_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtImageReady_set self m_pvtImageReady ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtImageReady_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtImageReady_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtImageReady = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtImageReady_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtImageReady_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtImageReady_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtImageReady);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTriggerNormalEach_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtTriggerNormalEach_set self m_pvtTriggerNormalEach ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTriggerNormalEach_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtTriggerNormalEach_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtTriggerNormalEach = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTriggerNormalEach_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtTriggerNormalEach_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTriggerNormalEach_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtTriggerNormalEach);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTriggerNormalGroup_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtTriggerNormalGroup_set self m_pvtTriggerNormalGroup ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTriggerNormalGroup_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtTriggerNormalGroup_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtTriggerNormalGroup = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTriggerNormalGroup_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtTriggerNormalGroup_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTriggerNormalGroup_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtTriggerNormalGroup);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTriggerTdiKineticsEach_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtTriggerTdiKineticsEach_set self m_pvtTriggerTdiKineticsEach ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTriggerTdiKineticsEach_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtTriggerTdiKineticsEach_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtTriggerTdiKineticsEach = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTriggerTdiKineticsEach_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtTriggerTdiKineticsEach_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTriggerTdiKineticsEach_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtTriggerTdiKineticsEach);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTriggerTdiKineticsGroup_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtTriggerTdiKineticsGroup_set self m_pvtTriggerTdiKineticsGroup ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTriggerTdiKineticsGroup_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtTriggerTdiKineticsGroup_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtTriggerTdiKineticsGroup = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTriggerTdiKineticsGroup_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtTriggerTdiKineticsGroup_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTriggerTdiKineticsGroup_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtTriggerTdiKineticsGroup);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtStatusReg_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtStatusReg_set self m_pvtStatusReg ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtStatusReg_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtStatusReg_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtStatusReg = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtStatusReg_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtStatusReg_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtStatusReg_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtStatusReg);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCoolerDrive_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtCoolerDrive_set self m_pvtCoolerDrive ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCoolerDrive_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtCoolerDrive_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtCoolerDrive = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCoolerDrive_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtCoolerDrive_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCoolerDrive_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtCoolerDrive);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCurrentHeatsinkTemp_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtCurrentHeatsinkTemp_set self m_pvtCurrentHeatsinkTemp ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCurrentHeatsinkTemp_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtCurrentHeatsinkTemp_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtCurrentHeatsinkTemp = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCurrentHeatsinkTemp_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtCurrentHeatsinkTemp_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCurrentHeatsinkTemp_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtCurrentHeatsinkTemp);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCurrentCcdTemp_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtCurrentCcdTemp_set self m_pvtCurrentCcdTemp ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCurrentCcdTemp_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtCurrentCcdTemp_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtCurrentCcdTemp = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCurrentCcdTemp_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtCurrentCcdTemp_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCurrentCcdTemp_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtCurrentCcdTemp);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtInputVoltage_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtInputVoltage_set self m_pvtInputVoltage ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtInputVoltage_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtInputVoltage_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtInputVoltage = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtInputVoltage_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtInputVoltage_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtInputVoltage_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtInputVoltage);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtIoPortDirection_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtIoPortDirection_set self m_pvtIoPortDirection ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtIoPortDirection_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtIoPortDirection_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtIoPortDirection = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtIoPortDirection_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtIoPortDirection_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtIoPortDirection_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtIoPortDirection);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtIoPortAssignment_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtIoPortAssignment_set self m_pvtIoPortAssignment ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtIoPortAssignment_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtIoPortAssignment_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtIoPortAssignment = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtIoPortAssignment_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtIoPortAssignment_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtIoPortAssignment_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtIoPortAssignment);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtIoPortBlankingBits_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtIoPortBlankingBits_set self m_pvtIoPortBlankingBits ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtIoPortBlankingBits_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtIoPortBlankingBits_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtIoPortBlankingBits = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtIoPortBlankingBits_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtIoPortBlankingBits_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtIoPortBlankingBits_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtIoPortBlankingBits);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtQueryStatusRetVal_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtQueryStatusRetVal_set self m_pvtQueryStatusRetVal ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtQueryStatusRetVal_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_long SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtQueryStatusRetVal_set" "', argument " "2"" of type '" "long""'");
  } 
  arg2 = static_cast< long >(val2);
  if (arg1) (arg1)->m_pvtQueryStatusRetVal = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtQueryStatusRetVal_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtQueryStatusRetVal_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtQueryStatusRetVal_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (long) ((arg1)->m_pvtQueryStatusRetVal);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtMostRecentFrame_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtMostRecentFrame_set self m_pvtMostRecentFrame ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtMostRecentFrame_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtMostRecentFrame_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtMostRecentFrame = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtMostRecentFrame_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtMostRecentFrame_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtMostRecentFrame_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtMostRecentFrame);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtReadyFrame_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtReadyFrame_set self m_pvtReadyFrame ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtReadyFrame_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtReadyFrame_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtReadyFrame = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtReadyFrame_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtReadyFrame_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtReadyFrame_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtReadyFrame);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCurrentFrame_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtCurrentFrame_set self m_pvtCurrentFrame ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCurrentFrame_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtCurrentFrame_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtCurrentFrame = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtCurrentFrame_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtCurrentFrame_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtCurrentFrame_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtCurrentFrame);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtGuideRAPlusDuration_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtGuideRAPlusDuration_set self m_pvtGuideRAPlusDuration ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtGuideRAPlusDuration_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtGuideRAPlusDuration_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtGuideRAPlusDuration = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtGuideRAPlusDuration_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtGuideRAPlusDuration_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtGuideRAPlusDuration_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtGuideRAPlusDuration);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtGuideRAMinusDuration_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtGuideRAMinusDuration_set self m_pvtGuideRAMinusDuration ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtGuideRAMinusDuration_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtGuideRAMinusDuration_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtGuideRAMinusDuration = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtGuideRAMinusDuration_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtGuideRAMinusDuration_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtGuideRAMinusDuration_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtGuideRAMinusDuration);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtGuideDecPlusDuration_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtGuideDecPlusDuration_set self m_pvtGuideDecPlusDuration ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtGuideDecPlusDuration_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtGuideDecPlusDuration_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtGuideDecPlusDuration = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtGuideDecPlusDuration_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtGuideDecPlusDuration_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtGuideDecPlusDuration_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtGuideDecPlusDuration);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtGuideDecMinusDuration_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtGuideDecMinusDuration_set self m_pvtGuideDecMinusDuration ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtGuideDecMinusDuration_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtGuideDecMinusDuration_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_pvtGuideDecMinusDuration = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtGuideDecMinusDuration_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtGuideDecMinusDuration_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtGuideDecMinusDuration_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_pvtGuideDecMinusDuration);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtFilterWheelType_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Filter arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtFilterWheelType_set self m_pvtFilterWheelType ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtFilterWheelType_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  {
    res2 = SWIG_ConvertPtr(objv[2], &argp2, SWIGTYPE_p_Apn_Filter,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_m_pvtFilterWheelType_set" "', argument " "2"" of type '" "Apn_Filter""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CApnCamera_m_pvtFilterWheelType_set" "', argument " "2"" of type '" "Apn_Filter""'");
    } else {
      arg2 = *(reinterpret_cast< Apn_Filter * >(argp2));
    }
  }
  if (arg1) (arg1)->m_pvtFilterWheelType = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtFilterWheelType_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  Apn_Filter result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtFilterWheelType_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtFilterWheelType_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result =  ((arg1)->m_pvtFilterWheelType);
  Tcl_SetObjResult(interp,SWIG_NewInstanceObj((new Apn_Filter(static_cast< const Apn_Filter& >(result))), SWIGTYPE_p_Apn_Filter, SWIG_POINTER_OWN | 0 ));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtFilterMaxPositions_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtFilterMaxPositions_set self m_pvtFilterMaxPositions ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtFilterMaxPositions_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtFilterMaxPositions_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtFilterMaxPositions = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtFilterMaxPositions_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtFilterMaxPositions_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtFilterMaxPositions_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtFilterMaxPositions);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRestoreTdiRowCount_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtRestoreTdiRowCount_set self m_pvtRestoreTdiRowCount ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRestoreTdiRowCount_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtRestoreTdiRowCount_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtRestoreTdiRowCount = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRestoreTdiRowCount_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtRestoreTdiRowCount_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRestoreTdiRowCount_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtRestoreTdiRowCount);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRestoreShutterControl_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtRestoreShutterControl_set self m_pvtRestoreShutterControl ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRestoreShutterControl_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtRestoreShutterControl_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtRestoreShutterControl = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtRestoreShutterControl_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtRestoreShutterControl_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtRestoreShutterControl_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtRestoreShutterControl);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_SetPlatformConstants(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_SetPlatformConstants self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_SetPlatformConstants" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  (arg1)->SetPlatformConstants();
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformHBinningMax_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformHBinningMax_set self m_PlatformHBinningMax ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformHBinningMax_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformHBinningMax_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_PlatformHBinningMax = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformHBinningMax_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformHBinningMax_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformHBinningMax_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_PlatformHBinningMax);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformVBinningMax_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformVBinningMax_set self m_PlatformVBinningMax ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformVBinningMax_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformVBinningMax_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_PlatformVBinningMax = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformVBinningMax_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformVBinningMax_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformVBinningMax_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_PlatformVBinningMax);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTimerResolution_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTimerResolution_set self m_PlatformTimerResolution ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTimerResolution_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTimerResolution_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTimerResolution = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTimerResolution_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTimerResolution_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTimerResolution_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTimerResolution);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformPeriodTimerResolution_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformPeriodTimerResolution_set self m_PlatformPeriodTimerResolution ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformPeriodTimerResolution_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformPeriodTimerResolution_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformPeriodTimerResolution = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformPeriodTimerResolution_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformPeriodTimerResolution_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformPeriodTimerResolution_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformPeriodTimerResolution);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTimerOffsetCount_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTimerOffsetCount_set self m_PlatformTimerOffsetCount ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTimerOffsetCount_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_long SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTimerOffsetCount_set" "', argument " "2"" of type '" "long""'");
  } 
  arg2 = static_cast< long >(val2);
  if (arg1) (arg1)->m_PlatformTimerOffsetCount = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTimerOffsetCount_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTimerOffsetCount_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTimerOffsetCount_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (long) ((arg1)->m_PlatformTimerOffsetCount);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformSequenceDelayResolution_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformSequenceDelayResolution_set self m_PlatformSequenceDelayResolution ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformSequenceDelayResolution_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformSequenceDelayResolution_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformSequenceDelayResolution = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformSequenceDelayResolution_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformSequenceDelayResolution_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformSequenceDelayResolution_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformSequenceDelayResolution);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformSequenceDelayMaximum_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformSequenceDelayMaximum_set self m_PlatformSequenceDelayMaximum ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformSequenceDelayMaximum_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformSequenceDelayMaximum_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformSequenceDelayMaximum = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformSequenceDelayMaximum_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformSequenceDelayMaximum_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformSequenceDelayMaximum_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformSequenceDelayMaximum);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformSequenceDelayMinimum_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformSequenceDelayMinimum_set self m_PlatformSequenceDelayMinimum ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformSequenceDelayMinimum_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformSequenceDelayMinimum_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformSequenceDelayMinimum = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformSequenceDelayMinimum_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformSequenceDelayMinimum_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformSequenceDelayMinimum_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformSequenceDelayMinimum);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformExposureTimeMin_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformExposureTimeMin_set self m_PlatformExposureTimeMin ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformExposureTimeMin_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformExposureTimeMin_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformExposureTimeMin = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformExposureTimeMin_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformExposureTimeMin_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformExposureTimeMin_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformExposureTimeMin);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformExposureTimeMax_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformExposureTimeMax_set self m_PlatformExposureTimeMax ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformExposureTimeMax_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformExposureTimeMax_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformExposureTimeMax = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformExposureTimeMax_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformExposureTimeMax_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformExposureTimeMax_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformExposureTimeMax);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTdiRateResolution_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTdiRateResolution_set self m_PlatformTdiRateResolution ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTdiRateResolution_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTdiRateResolution_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTdiRateResolution = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTdiRateResolution_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTdiRateResolution_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTdiRateResolution_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTdiRateResolution);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTdiRateMin_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTdiRateMin_set self m_PlatformTdiRateMin ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTdiRateMin_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTdiRateMin_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTdiRateMin = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTdiRateMin_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTdiRateMin_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTdiRateMin_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTdiRateMin);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTdiRateMax_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTdiRateMax_set self m_PlatformTdiRateMax ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTdiRateMax_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTdiRateMax_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTdiRateMax = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTdiRateMax_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTdiRateMax_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTdiRateMax_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTdiRateMax);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTdiRateDefault_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTdiRateDefault_set self m_PlatformTdiRateDefault ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTdiRateDefault_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTdiRateDefault_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTdiRateDefault = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTdiRateDefault_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTdiRateDefault_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTdiRateDefault_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTdiRateDefault);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformVoltageResolution_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformVoltageResolution_set self m_PlatformVoltageResolution ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformVoltageResolution_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformVoltageResolution_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformVoltageResolution = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformVoltageResolution_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformVoltageResolution_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformVoltageResolution_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformVoltageResolution);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformShutterCloseDiff_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformShutterCloseDiff_set self m_PlatformShutterCloseDiff ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformShutterCloseDiff_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformShutterCloseDiff_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformShutterCloseDiff = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformShutterCloseDiff_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformShutterCloseDiff_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformShutterCloseDiff_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformShutterCloseDiff);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformStrobePositionMin_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformStrobePositionMin_set self m_PlatformStrobePositionMin ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformStrobePositionMin_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformStrobePositionMin_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformStrobePositionMin = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformStrobePositionMin_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformStrobePositionMin_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformStrobePositionMin_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformStrobePositionMin);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformStrobePositionMax_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformStrobePositionMax_set self m_PlatformStrobePositionMax ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformStrobePositionMax_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformStrobePositionMax_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformStrobePositionMax = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformStrobePositionMax_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformStrobePositionMax_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformStrobePositionMax_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformStrobePositionMax);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformStrobePositionDefault_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformStrobePositionDefault_set self m_PlatformStrobePositionDefault ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformStrobePositionDefault_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformStrobePositionDefault_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformStrobePositionDefault = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformStrobePositionDefault_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformStrobePositionDefault_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformStrobePositionDefault_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformStrobePositionDefault);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformStrobePeriodMin_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformStrobePeriodMin_set self m_PlatformStrobePeriodMin ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformStrobePeriodMin_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformStrobePeriodMin_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformStrobePeriodMin = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformStrobePeriodMin_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformStrobePeriodMin_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformStrobePeriodMin_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformStrobePeriodMin);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformStrobePeriodMax_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformStrobePeriodMax_set self m_PlatformStrobePeriodMax ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformStrobePeriodMax_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformStrobePeriodMax_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformStrobePeriodMax = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformStrobePeriodMax_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformStrobePeriodMax_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformStrobePeriodMax_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformStrobePeriodMax);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformStrobePeriodDefault_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformStrobePeriodDefault_set self m_PlatformStrobePeriodDefault ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformStrobePeriodDefault_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformStrobePeriodDefault_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformStrobePeriodDefault = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformStrobePeriodDefault_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformStrobePeriodDefault_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformStrobePeriodDefault_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformStrobePeriodDefault);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempCounts_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTempCounts_set self m_PlatformTempCounts ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempCounts_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_long SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTempCounts_set" "', argument " "2"" of type '" "long""'");
  } 
  arg2 = static_cast< long >(val2);
  if (arg1) (arg1)->m_PlatformTempCounts = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempCounts_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTempCounts_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempCounts_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (long) ((arg1)->m_PlatformTempCounts);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempKelvinScaleOffset_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTempKelvinScaleOffset_set self m_PlatformTempKelvinScaleOffset ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempKelvinScaleOffset_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTempKelvinScaleOffset_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTempKelvinScaleOffset = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempKelvinScaleOffset_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTempKelvinScaleOffset_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempKelvinScaleOffset_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTempKelvinScaleOffset);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempSetpointMin_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTempSetpointMin_set self m_PlatformTempSetpointMin ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempSetpointMin_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTempSetpointMin_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTempSetpointMin = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempSetpointMin_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTempSetpointMin_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempSetpointMin_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTempSetpointMin);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempSetpointMax_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTempSetpointMax_set self m_PlatformTempSetpointMax ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempSetpointMax_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTempSetpointMax_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTempSetpointMax = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempSetpointMax_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTempSetpointMax_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempSetpointMax_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTempSetpointMax);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempHeatsinkMin_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTempHeatsinkMin_set self m_PlatformTempHeatsinkMin ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempHeatsinkMin_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTempHeatsinkMin_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTempHeatsinkMin = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempHeatsinkMin_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTempHeatsinkMin_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempHeatsinkMin_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTempHeatsinkMin);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempHeatsinkMax_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTempHeatsinkMax_set self m_PlatformTempHeatsinkMax ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempHeatsinkMax_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTempHeatsinkMax_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTempHeatsinkMax = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempHeatsinkMax_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTempHeatsinkMax_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempHeatsinkMax_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTempHeatsinkMax);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempSetpointZeroPoint_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTempSetpointZeroPoint_set self m_PlatformTempSetpointZeroPoint ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempSetpointZeroPoint_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_long SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTempSetpointZeroPoint_set" "', argument " "2"" of type '" "long""'");
  } 
  arg2 = static_cast< long >(val2);
  if (arg1) (arg1)->m_PlatformTempSetpointZeroPoint = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempSetpointZeroPoint_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTempSetpointZeroPoint_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempSetpointZeroPoint_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (long) ((arg1)->m_PlatformTempSetpointZeroPoint);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempHeatsinkZeroPoint_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTempHeatsinkZeroPoint_set self m_PlatformTempHeatsinkZeroPoint ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempHeatsinkZeroPoint_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_long SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTempHeatsinkZeroPoint_set" "', argument " "2"" of type '" "long""'");
  } 
  arg2 = static_cast< long >(val2);
  if (arg1) (arg1)->m_PlatformTempHeatsinkZeroPoint = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempHeatsinkZeroPoint_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  long result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTempHeatsinkZeroPoint_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempHeatsinkZeroPoint_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (long) ((arg1)->m_PlatformTempHeatsinkZeroPoint);
  Tcl_SetObjResult(interp,SWIG_From_long(static_cast< long >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempDegreesPerBit_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTempDegreesPerBit_set self m_PlatformTempDegreesPerBit ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempDegreesPerBit_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTempDegreesPerBit_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTempDegreesPerBit = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempDegreesPerBit_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTempDegreesPerBit_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempDegreesPerBit_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTempDegreesPerBit);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformFanSpeedOff_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformFanSpeedOff_set self m_PlatformFanSpeedOff ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformFanSpeedOff_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformFanSpeedOff_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_PlatformFanSpeedOff = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformFanSpeedOff_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformFanSpeedOff_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformFanSpeedOff_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_PlatformFanSpeedOff);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformFanSpeedLow_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformFanSpeedLow_set self m_PlatformFanSpeedLow ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformFanSpeedLow_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformFanSpeedLow_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_PlatformFanSpeedLow = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformFanSpeedLow_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformFanSpeedLow_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformFanSpeedLow_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_PlatformFanSpeedLow);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformFanSpeedMedium_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformFanSpeedMedium_set self m_PlatformFanSpeedMedium ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformFanSpeedMedium_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformFanSpeedMedium_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_PlatformFanSpeedMedium = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformFanSpeedMedium_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformFanSpeedMedium_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformFanSpeedMedium_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_PlatformFanSpeedMedium);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformFanSpeedHigh_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformFanSpeedHigh_set self m_PlatformFanSpeedHigh ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformFanSpeedHigh_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformFanSpeedHigh_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_PlatformFanSpeedHigh = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformFanSpeedHigh_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformFanSpeedHigh_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformFanSpeedHigh_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_PlatformFanSpeedHigh);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformGuiderRelayResolution_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformGuiderRelayResolution_set self m_PlatformGuiderRelayResolution ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformGuiderRelayResolution_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformGuiderRelayResolution_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformGuiderRelayResolution = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformGuiderRelayResolution_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformGuiderRelayResolution_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformGuiderRelayResolution_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformGuiderRelayResolution);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformGuiderRelayMin_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformGuiderRelayMin_set self m_PlatformGuiderRelayMin ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformGuiderRelayMin_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformGuiderRelayMin_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformGuiderRelayMin = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformGuiderRelayMin_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformGuiderRelayMin_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformGuiderRelayMin_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformGuiderRelayMin);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformGuiderRelayMax_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformGuiderRelayMax_set self m_PlatformGuiderRelayMax ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformGuiderRelayMax_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformGuiderRelayMax_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformGuiderRelayMax = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformGuiderRelayMax_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformGuiderRelayMax_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformGuiderRelayMax_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformGuiderRelayMax);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformGuiderRelayOpenTime_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformGuiderRelayOpenTime_set self m_PlatformGuiderRelayOpenTime ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformGuiderRelayOpenTime_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformGuiderRelayOpenTime_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformGuiderRelayOpenTime = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformGuiderRelayOpenTime_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformGuiderRelayOpenTime_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformGuiderRelayOpenTime_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformGuiderRelayOpenTime);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformGuiderRelayCloseTime_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformGuiderRelayCloseTime_set self m_PlatformGuiderRelayCloseTime ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformGuiderRelayCloseTime_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformGuiderRelayCloseTime_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformGuiderRelayCloseTime = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformGuiderRelayCloseTime_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformGuiderRelayCloseTime_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformGuiderRelayCloseTime_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformGuiderRelayCloseTime);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformPreflashDuration_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformPreflashDuration_set self m_PlatformPreflashDuration ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformPreflashDuration_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformPreflashDuration_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformPreflashDuration = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformPreflashDuration_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformPreflashDuration_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformPreflashDuration_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformPreflashDuration);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtConnectionOpen_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtConnectionOpen_set self m_pvtConnectionOpen ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtConnectionOpen_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtConnectionOpen_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->m_pvtConnectionOpen = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtConnectionOpen_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtConnectionOpen_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtConnectionOpen_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (int) ((arg1)->m_pvtConnectionOpen);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_SysDeviceName_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[80] ;
  int res2 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_SysDeviceName_set self m_SysDeviceName ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_SysDeviceName_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_AsCharArray(objv[2], temp2, 80);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_m_SysDeviceName_set" "', argument " "2"" of type '" "char [80]""'");
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->m_SysDeviceName,arg2,80*sizeof(char));
  else memset(arg1->m_SysDeviceName,0,80*sizeof(char));
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_SysDeviceName_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_SysDeviceName_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_SysDeviceName_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (char *)(char *) ((arg1)->m_SysDeviceName);
  {
    size_t size = 80;
    
    while (size && (result[size - 1] == '\0')) --size;
    
    Tcl_SetObjResult(interp,SWIG_FromCharPtrAndSize(result, size));
  }
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_CamIdA_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_CamIdA_set self m_CamIdA ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_CamIdA_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_CamIdA_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->m_CamIdA = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_CamIdA_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_CamIdA_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_CamIdA_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (int) ((arg1)->m_CamIdA);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_CamIdB_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_CamIdB_set self m_CamIdB ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_CamIdB_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_CamIdB_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->m_CamIdB = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_CamIdB_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_CamIdB_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_CamIdB_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (int) ((arg1)->m_CamIdB);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_Option_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_Option_set self m_Option ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_Option_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_Option_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->m_Option = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_Option_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_Option_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_Option_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (int) ((arg1)->m_Option);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_SysImgSizeBytes_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_SysImgSizeBytes_set self m_SysImgSizeBytes ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_SysImgSizeBytes_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_SysImgSizeBytes_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->m_SysImgSizeBytes = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_SysImgSizeBytes_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_SysImgSizeBytes_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_SysImgSizeBytes_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (int) ((arg1)->m_SysImgSizeBytes);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtVendorId_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtVendorId_set self m_pvtVendorId ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtVendorId_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtVendorId_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtVendorId = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtVendorId_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtVendorId_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtVendorId_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtVendorId);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtProductId_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtProductId_set self m_pvtProductId ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtProductId_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtProductId_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtProductId = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtProductId_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtProductId_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtProductId_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtProductId);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtDeviceId_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtDeviceId_set self m_pvtDeviceId ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtDeviceId_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtDeviceId_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtDeviceId = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtDeviceId_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtDeviceId_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtDeviceId_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtDeviceId);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_SysDriverVersion_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_SysDriverVersion_set self m_SysDriverVersion ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_SysDriverVersion_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_SysDriverVersion_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_SysDriverVersion = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_SysDriverVersion_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_SysDriverVersion_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_SysDriverVersion_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_SysDriverVersion);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtSequenceImagesDownloaded_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtSequenceImagesDownloaded_set self m_pvtSequenceImagesDownloaded ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtSequenceImagesDownloaded_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtSequenceImagesDownloaded_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtSequenceImagesDownloaded = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtSequenceImagesDownloaded_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtSequenceImagesDownloaded_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtSequenceImagesDownloaded_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtSequenceImagesDownloaded);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtNumImages_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtNumImages_set self m_pvtNumImages ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtNumImages_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtNumImages_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtNumImages = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtNumImages_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtNumImages_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtNumImages_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtNumImages);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTdiLinesDownloaded_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtTdiLinesDownloaded_set self m_pvtTdiLinesDownloaded ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTdiLinesDownloaded_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtTdiLinesDownloaded_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtTdiLinesDownloaded = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtTdiLinesDownloaded_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtTdiLinesDownloaded_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtTdiLinesDownloaded_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtTdiLinesDownloaded);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_HostAddr_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[80] ;
  int res2 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_HostAddr_set self m_HostAddr ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_HostAddr_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_AsCharArray(objv[2], temp2, 80);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_m_HostAddr_set" "', argument " "2"" of type '" "char [80]""'");
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->m_HostAddr,arg2,80*sizeof(char));
  else memset(arg1->m_HostAddr,0,80*sizeof(char));
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_HostAddr_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_HostAddr_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_HostAddr_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (char *)(char *) ((arg1)->m_HostAddr);
  {
    size_t size = 80;
    
    while (size && (result[size - 1] == '\0')) --size;
    
    Tcl_SetObjResult(interp,SWIG_FromCharPtrAndSize(result, size));
  }
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_ImageSizeBytes_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_ImageSizeBytes_set self m_ImageSizeBytes ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_ImageSizeBytes_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_ImageSizeBytes_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  if (arg1) (arg1)->m_ImageSizeBytes = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_ImageSizeBytes_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_ImageSizeBytes_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_ImageSizeBytes_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned int) ((arg1)->m_ImageSizeBytes);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_ImageInProgress_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_ImageInProgress_set self m_ImageInProgress ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_ImageInProgress_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_ImageInProgress_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_ImageInProgress = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_ImageInProgress_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_ImageInProgress_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_ImageInProgress_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_ImageInProgress);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_FastDownload_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_FastDownload_set self m_FastDownload ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_FastDownload_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_FastDownload_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_FastDownload = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_FastDownload_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_FastDownload_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_FastDownload_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_FastDownload);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeWidth_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposeWidth_set self m_pvtExposeWidth ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeWidth_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposeWidth_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtExposeWidth = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeWidth_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposeWidth_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeWidth_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtExposeWidth);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeHeight_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposeHeight_set self m_pvtExposeHeight ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeHeight_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposeHeight_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtExposeHeight = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeHeight_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposeHeight_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeHeight_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtExposeHeight);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeExternalShutter_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposeExternalShutter_set self m_pvtExposeExternalShutter ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeExternalShutter_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposeExternalShutter_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtExposeExternalShutter = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeExternalShutter_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposeExternalShutter_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeExternalShutter_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtExposeExternalShutter);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeCameraMode_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposeCameraMode_set self m_pvtExposeCameraMode ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeCameraMode_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposeCameraMode_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtExposeCameraMode = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeCameraMode_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposeCameraMode_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeCameraMode_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtExposeCameraMode);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeSequenceBulkDownload_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposeSequenceBulkDownload_set self m_pvtExposeSequenceBulkDownload ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeSequenceBulkDownload_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposeSequenceBulkDownload_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtExposeSequenceBulkDownload = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeSequenceBulkDownload_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposeSequenceBulkDownload_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeSequenceBulkDownload_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtExposeSequenceBulkDownload);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeCI_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposeCI_set self m_pvtExposeCI ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeCI_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposeCI_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtExposeCI = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeCI_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposeCI_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeCI_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtExposeCI);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeHBinning_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposeHBinning_set self m_pvtExposeHBinning ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeHBinning_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposeHBinning_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->m_pvtExposeHBinning = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeHBinning_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposeHBinning_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeHBinning_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (int) ((arg1)->m_pvtExposeHBinning);
  Tcl_SetObjResult(interp,SWIG_From_int(static_cast< int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeBitsPerPixel_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposeBitsPerPixel_set self m_pvtExposeBitsPerPixel ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeBitsPerPixel_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposeBitsPerPixel_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtExposeBitsPerPixel = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeBitsPerPixel_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposeBitsPerPixel_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeBitsPerPixel_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtExposeBitsPerPixel);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtBitsPerPixel_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtBitsPerPixel_set self m_pvtBitsPerPixel ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtBitsPerPixel_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtBitsPerPixel_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_pvtBitsPerPixel = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtBitsPerPixel_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtBitsPerPixel_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtBitsPerPixel_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_pvtBitsPerPixel);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeDualReadout_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_pvtExposeDualReadout_set self m_pvtExposeDualReadout ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeDualReadout_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_pvtExposeDualReadout_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_pvtExposeDualReadout = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_pvtExposeDualReadout_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_pvtExposeDualReadout_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_pvtExposeDualReadout_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_pvtExposeDualReadout);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_cameraNumber_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_cameraNumber_set self m_cameraNumber ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_cameraNumber_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_cameraNumber_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = static_cast< unsigned int >(val2);
  if (arg1) (arg1)->m_cameraNumber = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_cameraNumber_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned int result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_cameraNumber_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_cameraNumber_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned int) ((arg1)->m_cameraNumber);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_sensorInfo(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_sensorInfo self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_sensorInfo" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool)(arg1)->sensorInfo();
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_Sensor_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[20] ;
  int res2 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_Sensor_set self m_Sensor ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_Sensor_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_AsCharArray(objv[2], temp2, 20);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_m_Sensor_set" "', argument " "2"" of type '" "char [20]""'");
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->m_Sensor,arg2,20*sizeof(char));
  else memset(arg1->m_Sensor,0,20*sizeof(char));
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_Sensor_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_Sensor_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_Sensor_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (char *)(char *) ((arg1)->m_Sensor);
  {
    size_t size = 20;
    
    while (size && (result[size - 1] == '\0')) --size;
    
    Tcl_SetObjResult(interp,SWIG_FromCharPtrAndSize(result, size));
  }
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_CameraModel_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[20] ;
  int res2 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_CameraModel_set self m_CameraModel ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_CameraModel_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  res2 = SWIG_AsCharArray(objv[2], temp2, 20);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CApnCamera_m_CameraModel_set" "', argument " "2"" of type '" "char [20]""'");
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->m_CameraModel,arg2,20*sizeof(char));
  else memset(arg1->m_CameraModel,0,20*sizeof(char));
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_CameraModel_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  char *result = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_CameraModel_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_CameraModel_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (char *)(char *) ((arg1)->m_CameraModel);
  {
    size_t size = 20;
    
    while (size && (result[size - 1] == '\0')) --size;
    
    Tcl_SetObjResult(interp,SWIG_FromCharPtrAndSize(result, size));
  }
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_CameraId_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_CameraId_set self m_CameraId ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_CameraId_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_CameraId_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_CameraId = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_CameraId_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_CameraId_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_CameraId_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_CameraId);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_InterlineCCD_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_InterlineCCD_set self m_InterlineCCD ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_InterlineCCD_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_InterlineCCD_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_InterlineCCD = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_InterlineCCD_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_InterlineCCD_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_InterlineCCD_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_InterlineCCD);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_SupportsSerialA_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_SupportsSerialA_set self m_SupportsSerialA ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_SupportsSerialA_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_SupportsSerialA_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_SupportsSerialA = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_SupportsSerialA_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_SupportsSerialA_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_SupportsSerialA_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_SupportsSerialA);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_SupportsSerialB_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_SupportsSerialB_set self m_SupportsSerialB ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_SupportsSerialB_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_SupportsSerialB_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_SupportsSerialB = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_SupportsSerialB_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_SupportsSerialB_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_SupportsSerialB_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_SupportsSerialB);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_SensorTypeCCD_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_SensorTypeCCD_set self m_SensorTypeCCD ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_SensorTypeCCD_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_SensorTypeCCD_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_SensorTypeCCD = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_SensorTypeCCD_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_SensorTypeCCD_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_SensorTypeCCD_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_SensorTypeCCD);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_TotalColumns_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_TotalColumns_set self m_TotalColumns ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_TotalColumns_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_TotalColumns_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_TotalColumns = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_TotalColumns_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_TotalColumns_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_TotalColumns_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_TotalColumns);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_ImagingColumns_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_ImagingColumns_set self m_ImagingColumns ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_ImagingColumns_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_ImagingColumns_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_ImagingColumns = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_ImagingColumns_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_ImagingColumns_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_ImagingColumns_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_ImagingColumns);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_ClampColumns_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_ClampColumns_set self m_ClampColumns ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_ClampColumns_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_ClampColumns_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_ClampColumns = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_ClampColumns_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_ClampColumns_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_ClampColumns_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_ClampColumns);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PreRoiSkipColumns_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PreRoiSkipColumns_set self m_PreRoiSkipColumns ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PreRoiSkipColumns_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PreRoiSkipColumns_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_PreRoiSkipColumns = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PreRoiSkipColumns_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PreRoiSkipColumns_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PreRoiSkipColumns_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_PreRoiSkipColumns);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PostRoiSkipColumns_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PostRoiSkipColumns_set self m_PostRoiSkipColumns ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PostRoiSkipColumns_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PostRoiSkipColumns_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_PostRoiSkipColumns = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PostRoiSkipColumns_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PostRoiSkipColumns_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PostRoiSkipColumns_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_PostRoiSkipColumns);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_OverscanColumns_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_OverscanColumns_set self m_OverscanColumns ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_OverscanColumns_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_OverscanColumns_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_OverscanColumns = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_OverscanColumns_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_OverscanColumns_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_OverscanColumns_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_OverscanColumns);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_TotalRows_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_TotalRows_set self m_TotalRows ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_TotalRows_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_TotalRows_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_TotalRows = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_TotalRows_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_TotalRows_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_TotalRows_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_TotalRows);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_ImagingRows_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_ImagingRows_set self m_ImagingRows ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_ImagingRows_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_ImagingRows_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_ImagingRows = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_ImagingRows_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_ImagingRows_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_ImagingRows_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_ImagingRows);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_UnderscanRows_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_UnderscanRows_set self m_UnderscanRows ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_UnderscanRows_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_UnderscanRows_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_UnderscanRows = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_UnderscanRows_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_UnderscanRows_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_UnderscanRows_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_UnderscanRows);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_OverscanRows_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_OverscanRows_set self m_OverscanRows ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_OverscanRows_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_OverscanRows_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_OverscanRows = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_OverscanRows_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_OverscanRows_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_OverscanRows_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_OverscanRows);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_VFlushBinning_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_VFlushBinning_set self m_VFlushBinning ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_VFlushBinning_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_VFlushBinning_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_VFlushBinning = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_VFlushBinning_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_VFlushBinning_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_VFlushBinning_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_VFlushBinning);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_HFlushDisable_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_HFlushDisable_set self m_HFlushDisable ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_HFlushDisable_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_HFlushDisable_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_HFlushDisable = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_HFlushDisable_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_HFlushDisable_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_HFlushDisable_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_HFlushDisable);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_ShutterCloseDelay_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_ShutterCloseDelay_set self m_ShutterCloseDelay ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_ShutterCloseDelay_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_ShutterCloseDelay_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_ShutterCloseDelay = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_ShutterCloseDelay_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_ShutterCloseDelay_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_ShutterCloseDelay_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_ShutterCloseDelay);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PixelSizeX_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PixelSizeX_set self m_PixelSizeX ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PixelSizeX_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PixelSizeX_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PixelSizeX = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PixelSizeX_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PixelSizeX_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PixelSizeX_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PixelSizeX);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PixelSizeY_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PixelSizeY_set self m_PixelSizeY ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PixelSizeY_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PixelSizeY_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PixelSizeY = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PixelSizeY_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PixelSizeY_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PixelSizeY_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PixelSizeY);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_Color_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_Color_set self m_Color ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_Color_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_bool SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_Color_set" "', argument " "2"" of type '" "bool""'");
  } 
  arg2 = static_cast< bool >(val2);
  if (arg1) (arg1)->m_Color = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_Color_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  bool result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_Color_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_Color_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (bool) ((arg1)->m_Color);
  Tcl_SetObjResult(interp,SWIG_From_bool(static_cast< bool >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_MinSuggestedExpTime_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_MinSuggestedExpTime_set self m_MinSuggestedExpTime ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_MinSuggestedExpTime_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_MinSuggestedExpTime_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_MinSuggestedExpTime = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_MinSuggestedExpTime_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_MinSuggestedExpTime_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_MinSuggestedExpTime_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_MinSuggestedExpTime);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_TempRampRateOne_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_TempRampRateOne_set self m_TempRampRateOne ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_TempRampRateOne_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_TempRampRateOne_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_TempRampRateOne = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_TempRampRateOne_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_TempRampRateOne_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_TempRampRateOne_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_TempRampRateOne);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_TempRampRateTwo_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned short val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_TempRampRateTwo_set self m_TempRampRateTwo ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_TempRampRateTwo_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_short SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_TempRampRateTwo_set" "', argument " "2"" of type '" "unsigned short""'");
  } 
  arg2 = static_cast< unsigned short >(val2);
  if (arg1) (arg1)->m_TempRampRateTwo = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_TempRampRateTwo_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  unsigned short result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_TempRampRateTwo_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_TempRampRateTwo_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (unsigned short) ((arg1)->m_TempRampRateTwo);
  Tcl_SetObjResult(interp,SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempSetpointSlope_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTempSetpointSlope_set self m_PlatformTempSetpointSlope ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempSetpointSlope_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTempSetpointSlope_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTempSetpointSlope = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempSetpointSlope_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTempSetpointSlope_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempSetpointSlope_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTempSetpointSlope);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempSetpointIntercept_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTempSetpointIntercept_set self m_PlatformTempSetpointIntercept ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempSetpointIntercept_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTempSetpointIntercept_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTempSetpointIntercept = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempSetpointIntercept_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTempSetpointIntercept_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempSetpointIntercept_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTempSetpointIntercept);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempBackoffMin_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTempBackoffMin_set self m_PlatformTempBackoffMin ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempBackoffMin_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTempBackoffMin_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTempBackoffMin = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempBackoffMin_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTempBackoffMin_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempBackoffMin_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTempBackoffMin);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempBackoffMax_set(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"oo:CApnCamera_m_PlatformTempBackoffMax_set self m_PlatformTempBackoffMax ",(void *)0,(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempBackoffMax_set" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  ecode2 = SWIG_AsVal_double SWIG_TCL_CALL_ARGS_2(objv[2], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CApnCamera_m_PlatformTempBackoffMax_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = static_cast< double >(val2);
  if (arg1) (arg1)->m_PlatformTempBackoffMax = arg2;
  
  
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN int
_wrap_CApnCamera_m_PlatformTempBackoffMax_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) {
  CApnCamera *arg1 = (CApnCamera *) 0 ;
  double result;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if (SWIG_GetArgs(interp, objc, objv,"o:CApnCamera_m_PlatformTempBackoffMax_get self ",(void *)0) == TCL_ERROR) SWIG_fail;
  res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_CApnCamera, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CApnCamera_m_PlatformTempBackoffMax_get" "', argument " "1"" of type '" "CApnCamera *""'"); 
  }
  arg1 = reinterpret_cast< CApnCamera * >(argp1);
  result = (double) ((arg1)->m_PlatformTempBackoffMax);
  Tcl_SetObjResult(interp,SWIG_From_double(static_cast< double >(result)));
  return TCL_OK;
fail:
  return TCL_ERROR;
}


SWIGINTERN void swig_delete_CApnCamera(void *obj) {
CApnCamera *arg1 = (CApnCamera *) obj;
delete arg1;
}
static swig_method swig_CApnCamera_methods[] = {
    {"GetDeviceHandle", _wrap_CApnCamera_GetDeviceHandle}, 
    {"InitDriver", _wrap_CApnCamera_InitDriver}, 
    {"SimpleInitDriver", _wrap_CApnCamera_SimpleInitDriver}, 
    {"GetCameraInterface", _wrap_CApnCamera_GetCameraInterface}, 
    {"GetCameraSerialNumber", _wrap_CApnCamera_GetCameraSerialNumber}, 
    {"GetSystemDriverVersion", _wrap_CApnCamera_GetSystemDriverVersion}, 
    {"GetUsb8051FirmwareRev", _wrap_CApnCamera_GetUsb8051FirmwareRev}, 
    {"GetUsbProductId", _wrap_CApnCamera_GetUsbProductId}, 
    {"GetUsbDeviceId", _wrap_CApnCamera_GetUsbDeviceId}, 
    {"CloseDriver", _wrap_CApnCamera_CloseDriver}, 
    {"PreStartExpose", _wrap_CApnCamera_PreStartExpose}, 
    {"PostStopExposure", _wrap_CApnCamera_PostStopExposure}, 
    {"GetImageData", _wrap_CApnCamera_GetImageData}, 
    {"GetLineData", _wrap_CApnCamera_GetLineData}, 
    {"Read", _wrap_CApnCamera_Read}, 
    {"Write", _wrap_CApnCamera_Write}, 
    {"WriteMultiSRMD", _wrap_CApnCamera_WriteMultiSRMD}, 
    {"WriteMultiMRMD", _wrap_CApnCamera_WriteMultiMRMD}, 
    {"QueryStatusRegs", _wrap_CApnCamera_QueryStatusRegs}, 
    {"SetNetworkTransferMode", _wrap_CApnCamera_SetNetworkTransferMode}, 
    {"SetCameraSerialNumber", _wrap_CApnCamera_SetCameraSerialNumber}, 
    {"DownloadFirmware", _wrap_CApnCamera_DownloadFirmware}, 
    {"InitDefaults", _wrap_CApnCamera_InitDefaults}, 
    {"Expose", _wrap_CApnCamera_Expose}, 
    {"GetImage", _wrap_CApnCamera_GetImage}, 
    {"BufferImage", _wrap_CApnCamera_BufferImage}, 
    {"BufferDriftScan", _wrap_CApnCamera_BufferDriftScan}, 
    {"StopExposure", _wrap_CApnCamera_StopExposure}, 
    {"PowerDown", _wrap_CApnCamera_PowerDown}, 
    {"Resume", _wrap_CApnCamera_Resume}, 
    {"ResetSystem", _wrap_CApnCamera_ResetSystem}, 
    {"ResetSystemNoFlush", _wrap_CApnCamera_ResetSystemNoFlush}, 
    {"PauseTimer", _wrap_CApnCamera_PauseTimer}, 
    {"GuideAbort", _wrap_CApnCamera_GuideAbort}, 
    {"GuideRAPlus", _wrap_CApnCamera_GuideRAPlus}, 
    {"GuideRAMinus", _wrap_CApnCamera_GuideRAMinus}, 
    {"GuideDecPlus", _wrap_CApnCamera_GuideDecPlus}, 
    {"GuideDecMinus", _wrap_CApnCamera_GuideDecMinus}, 
    {"ConvertBayerImageToRGB", _wrap_CApnCamera_ConvertBayerImageToRGB}, 
    {"ImageReady", _wrap_CApnCamera_ImageReady}, 
    {"ImageInProgress", _wrap_CApnCamera_ImageInProgress}, 
    {"SignalImagingDone", _wrap_CApnCamera_SignalImagingDone}, 
    {"GetExposurePixelsH", _wrap_CApnCamera_GetExposurePixelsH}, 
    {"GetExposurePixelsV", _wrap_CApnCamera_GetExposurePixelsV}, 
    {"read_Present", _wrap_CApnCamera_read_Present}, 
    {"read_FirmwareVersion", _wrap_CApnCamera_read_FirmwareVersion}, 
    {"read_CameraModel", _wrap_CApnCamera_read_CameraModel}, 
    {"read_ShutterState", _wrap_CApnCamera_read_ShutterState}, 
    {"read_DisableShutter", _wrap_CApnCamera_read_DisableShutter}, 
    {"write_DisableShutter", _wrap_CApnCamera_write_DisableShutter}, 
    {"read_ForceShutterOpen", _wrap_CApnCamera_read_ForceShutterOpen}, 
    {"write_ForceShutterOpen", _wrap_CApnCamera_write_ForceShutterOpen}, 
    {"read_ShutterAmpControl", _wrap_CApnCamera_read_ShutterAmpControl}, 
    {"write_ShutterAmpControl", _wrap_CApnCamera_write_ShutterAmpControl}, 
    {"read_DisableFlushCommands", _wrap_CApnCamera_read_DisableFlushCommands}, 
    {"write_DisableFlushCommands", _wrap_CApnCamera_write_DisableFlushCommands}, 
    {"read_DisablePostExposeFlushing", _wrap_CApnCamera_read_DisablePostExposeFlushing}, 
    {"write_DisablePostExposeFlushing", _wrap_CApnCamera_write_DisablePostExposeFlushing}, 
    {"read_ExternalIoReadout", _wrap_CApnCamera_read_ExternalIoReadout}, 
    {"write_ExternalIoReadout", _wrap_CApnCamera_write_ExternalIoReadout}, 
    {"read_ExternalShutter", _wrap_CApnCamera_read_ExternalShutter}, 
    {"write_ExternalShutter", _wrap_CApnCamera_write_ExternalShutter}, 
    {"read_FastSequence", _wrap_CApnCamera_read_FastSequence}, 
    {"write_FastSequence", _wrap_CApnCamera_write_FastSequence}, 
    {"read_CameraMode", _wrap_CApnCamera_read_CameraMode}, 
    {"write_CameraMode", _wrap_CApnCamera_write_CameraMode}, 
    {"read_DataBits", _wrap_CApnCamera_read_DataBits}, 
    {"write_DataBits", _wrap_CApnCamera_write_DataBits}, 
    {"read_ImagingStatus", _wrap_CApnCamera_read_ImagingStatus}, 
    {"read_LedMode", _wrap_CApnCamera_read_LedMode}, 
    {"write_LedMode", _wrap_CApnCamera_write_LedMode}, 
    {"read_LedState", _wrap_CApnCamera_read_LedState}, 
    {"write_LedState", _wrap_CApnCamera_write_LedState}, 
    {"read_CoolerEnable", _wrap_CApnCamera_read_CoolerEnable}, 
    {"write_CoolerEnable", _wrap_CApnCamera_write_CoolerEnable}, 
    {"read_CoolerStatus", _wrap_CApnCamera_read_CoolerStatus}, 
    {"read_CoolerSetPoint", _wrap_CApnCamera_read_CoolerSetPoint}, 
    {"write_CoolerSetPoint", _wrap_CApnCamera_write_CoolerSetPoint}, 
    {"read_CoolerBackoffPoint", _wrap_CApnCamera_read_CoolerBackoffPoint}, 
    {"write_CoolerBackoffPoint", _wrap_CApnCamera_write_CoolerBackoffPoint}, 
    {"read_CoolerDrive", _wrap_CApnCamera_read_CoolerDrive}, 
    {"read_TempCCD", _wrap_CApnCamera_read_TempCCD}, 
    {"read_TempHeatsink", _wrap_CApnCamera_read_TempHeatsink}, 
    {"read_FanMode", _wrap_CApnCamera_read_FanMode}, 
    {"write_FanMode", _wrap_CApnCamera_write_FanMode}, 
    {"write_FlushBinningV", _wrap_CApnCamera_write_FlushBinningV}, 
    {"read_FlushBinningV", _wrap_CApnCamera_read_FlushBinningV}, 
    {"read_MaxBinningH", _wrap_CApnCamera_read_MaxBinningH}, 
    {"read_MaxBinningV", _wrap_CApnCamera_read_MaxBinningV}, 
    {"write_RoiBinningH", _wrap_CApnCamera_write_RoiBinningH}, 
    {"read_RoiBinningH", _wrap_CApnCamera_read_RoiBinningH}, 
    {"write_RoiBinningV", _wrap_CApnCamera_write_RoiBinningV}, 
    {"read_RoiBinningV", _wrap_CApnCamera_read_RoiBinningV}, 
    {"read_RoiPixelsH", _wrap_CApnCamera_read_RoiPixelsH}, 
    {"write_RoiPixelsH", _wrap_CApnCamera_write_RoiPixelsH}, 
    {"read_RoiPixelsV", _wrap_CApnCamera_read_RoiPixelsV}, 
    {"write_RoiPixelsV", _wrap_CApnCamera_write_RoiPixelsV}, 
    {"read_RoiStartX", _wrap_CApnCamera_read_RoiStartX}, 
    {"write_RoiStartX", _wrap_CApnCamera_write_RoiStartX}, 
    {"read_RoiStartY", _wrap_CApnCamera_read_RoiStartY}, 
    {"write_RoiStartY", _wrap_CApnCamera_write_RoiStartY}, 
    {"read_DigitizeOverscan", _wrap_CApnCamera_read_DigitizeOverscan}, 
    {"write_DigitizeOverscan", _wrap_CApnCamera_write_DigitizeOverscan}, 
    {"read_OverscanColumns", _wrap_CApnCamera_read_OverscanColumns}, 
    {"read_ShutterStrobePosition", _wrap_CApnCamera_read_ShutterStrobePosition}, 
    {"write_ShutterStrobePosition", _wrap_CApnCamera_write_ShutterStrobePosition}, 
    {"read_ShutterStrobePeriod", _wrap_CApnCamera_read_ShutterStrobePeriod}, 
    {"write_ShutterStrobePeriod", _wrap_CApnCamera_write_ShutterStrobePeriod}, 
    {"read_ShutterCloseDelay", _wrap_CApnCamera_read_ShutterCloseDelay}, 
    {"write_ShutterCloseDelay", _wrap_CApnCamera_write_ShutterCloseDelay}, 
    {"read_SequenceBulkDownload", _wrap_CApnCamera_read_SequenceBulkDownload}, 
    {"write_SequenceBulkDownload", _wrap_CApnCamera_write_SequenceBulkDownload}, 
    {"read_SequenceDelay", _wrap_CApnCamera_read_SequenceDelay}, 
    {"write_SequenceDelay", _wrap_CApnCamera_write_SequenceDelay}, 
    {"read_VariableSequenceDelay", _wrap_CApnCamera_read_VariableSequenceDelay}, 
    {"write_VariableSequenceDelay", _wrap_CApnCamera_write_VariableSequenceDelay}, 
    {"read_ImageCount", _wrap_CApnCamera_read_ImageCount}, 
    {"write_ImageCount", _wrap_CApnCamera_write_ImageCount}, 
    {"read_SequenceCounter", _wrap_CApnCamera_read_SequenceCounter}, 
    {"read_ExposureImageCount", _wrap_CApnCamera_read_ExposureImageCount}, 
    {"read_ExposureBulkDownload", _wrap_CApnCamera_read_ExposureBulkDownload}, 
    {"read_ContinuousImaging", _wrap_CApnCamera_read_ContinuousImaging}, 
    {"write_ContinuousImaging", _wrap_CApnCamera_write_ContinuousImaging}, 
    {"read_TDICounter", _wrap_CApnCamera_read_TDICounter}, 
    {"read_TDIRows", _wrap_CApnCamera_read_TDIRows}, 
    {"write_TDIRows", _wrap_CApnCamera_write_TDIRows}, 
    {"read_TDIRate", _wrap_CApnCamera_read_TDIRate}, 
    {"write_TDIRate", _wrap_CApnCamera_write_TDIRate}, 
    {"read_TDIBinningV", _wrap_CApnCamera_read_TDIBinningV}, 
    {"write_TDIBinningV", _wrap_CApnCamera_write_TDIBinningV}, 
    {"read_KineticsSections", _wrap_CApnCamera_read_KineticsSections}, 
    {"write_KineticsSections", _wrap_CApnCamera_write_KineticsSections}, 
    {"read_KineticsShiftInterval", _wrap_CApnCamera_read_KineticsShiftInterval}, 
    {"write_KineticsShiftInterval", _wrap_CApnCamera_write_KineticsShiftInterval}, 
    {"read_KineticsSectionHeight", _wrap_CApnCamera_read_KineticsSectionHeight}, 
    {"write_KineticsSectionHeight", _wrap_CApnCamera_write_KineticsSectionHeight}, 
    {"read_TriggerNormalEach", _wrap_CApnCamera_read_TriggerNormalEach}, 
    {"write_TriggerNormalEach", _wrap_CApnCamera_write_TriggerNormalEach}, 
    {"read_TriggerNormalGroup", _wrap_CApnCamera_read_TriggerNormalGroup}, 
    {"write_TriggerNormalGroup", _wrap_CApnCamera_write_TriggerNormalGroup}, 
    {"read_TriggerTdiKineticsEach", _wrap_CApnCamera_read_TriggerTdiKineticsEach}, 
    {"write_TriggerTdiKineticsEach", _wrap_CApnCamera_write_TriggerTdiKineticsEach}, 
    {"read_TriggerTdiKineticsGroup", _wrap_CApnCamera_read_TriggerTdiKineticsGroup}, 
    {"write_TriggerTdiKineticsGroup", _wrap_CApnCamera_write_TriggerTdiKineticsGroup}, 
    {"read_ExposureTriggerEach", _wrap_CApnCamera_read_ExposureTriggerEach}, 
    {"read_ExposureTriggerGroup", _wrap_CApnCamera_read_ExposureTriggerGroup}, 
    {"read_ExposureExternalShutter", _wrap_CApnCamera_read_ExposureExternalShutter}, 
    {"read_PreFlashEnable", _wrap_CApnCamera_read_PreFlashEnable}, 
    {"write_PreFlashEnable", _wrap_CApnCamera_write_PreFlashEnable}, 
    {"read_IoPortAssignment", _wrap_CApnCamera_read_IoPortAssignment}, 
    {"write_IoPortAssignment", _wrap_CApnCamera_write_IoPortAssignment}, 
    {"read_IoPortBlankingBits", _wrap_CApnCamera_read_IoPortBlankingBits}, 
    {"write_IoPortBlankingBits", _wrap_CApnCamera_write_IoPortBlankingBits}, 
    {"read_IoPortDirection", _wrap_CApnCamera_read_IoPortDirection}, 
    {"write_IoPortDirection", _wrap_CApnCamera_write_IoPortDirection}, 
    {"read_IoPortData", _wrap_CApnCamera_read_IoPortData}, 
    {"write_IoPortData", _wrap_CApnCamera_write_IoPortData}, 
    {"read_TwelveBitGain", _wrap_CApnCamera_read_TwelveBitGain}, 
    {"write_TwelveBitGain", _wrap_CApnCamera_write_TwelveBitGain}, 
    {"read_TwelveBitOffset", _wrap_CApnCamera_read_TwelveBitOffset}, 
    {"write_TwelveBitOffset", _wrap_CApnCamera_write_TwelveBitOffset}, 
    {"read_InputVoltage", _wrap_CApnCamera_read_InputVoltage}, 
    {"read_AvailableMemory", _wrap_CApnCamera_read_AvailableMemory}, 
    {"read_MaxExposureTime", _wrap_CApnCamera_read_MaxExposureTime}, 
    {"read_NetworkTransferMode", _wrap_CApnCamera_read_NetworkTransferMode}, 
    {"write_NetworkTransferMode", _wrap_CApnCamera_write_NetworkTransferMode}, 
    {"read_TestLedBrightness", _wrap_CApnCamera_read_TestLedBrightness}, 
    {"write_TestLedBrightness", _wrap_CApnCamera_write_TestLedBrightness}, 
    {"read_PlatformType", _wrap_CApnCamera_read_PlatformType}, 
    {"read_AscentADGainSixteenLeft", _wrap_CApnCamera_read_AscentADGainSixteenLeft}, 
    {"read_AscentADGainSixteenRight", _wrap_CApnCamera_read_AscentADGainSixteenRight}, 
    {"write_AscentADGainSixteen", _wrap_CApnCamera_write_AscentADGainSixteen}, 
    {"read_AscentADOffsetSixteenLeft", _wrap_CApnCamera_read_AscentADOffsetSixteenLeft}, 
    {"read_AscentADOffsetSixteenRight", _wrap_CApnCamera_read_AscentADOffsetSixteenRight}, 
    {"write_AscentADOffsetSixteen", _wrap_CApnCamera_write_AscentADOffsetSixteen}, 
    {"read_DigitizationSpeed", _wrap_CApnCamera_read_DigitizationSpeed}, 
    {"write_DigitizationSpeed", _wrap_CApnCamera_write_DigitizationSpeed}, 
    {"read_DataAveraging", _wrap_CApnCamera_read_DataAveraging}, 
    {"write_DataAveraging", _wrap_CApnCamera_write_DataAveraging}, 
    {"read_DualReadout", _wrap_CApnCamera_read_DualReadout}, 
    {"write_DualReadout", _wrap_CApnCamera_write_DualReadout}, 
    {"read_ConnectionTest", _wrap_CApnCamera_read_ConnectionTest}, 
    {"read_GuideActive", _wrap_CApnCamera_read_GuideActive}, 
    {"read_GuideRAPlusDuration", _wrap_CApnCamera_read_GuideRAPlusDuration}, 
    {"write_GuideRAPlusDuration", _wrap_CApnCamera_write_GuideRAPlusDuration}, 
    {"read_GuideRAMinusDuration", _wrap_CApnCamera_read_GuideRAMinusDuration}, 
    {"write_GuideRAMinusDuration", _wrap_CApnCamera_write_GuideRAMinusDuration}, 
    {"read_GuideDecPlusDuration", _wrap_CApnCamera_read_GuideDecPlusDuration}, 
    {"write_GuideDecPlusDuration", _wrap_CApnCamera_write_GuideDecPlusDuration}, 
    {"read_GuideDecMinusDuration", _wrap_CApnCamera_read_GuideDecMinusDuration}, 
    {"write_GuideDecMinusDuration", _wrap_CApnCamera_write_GuideDecMinusDuration}, 
    {"read_BayerStartPosition", _wrap_CApnCamera_read_BayerStartPosition}, 
    {"write_BayerStartPosition", _wrap_CApnCamera_write_BayerStartPosition}, 
    {"LoadVerticalPattern", _wrap_CApnCamera_LoadVerticalPattern}, 
    {"LoadClampPattern", _wrap_CApnCamera_LoadClampPattern}, 
    {"LoadSkipPattern", _wrap_CApnCamera_LoadSkipPattern}, 
    {"LoadRoiPattern", _wrap_CApnCamera_LoadRoiPattern}, 
    {"WriteHorizontalPattern", _wrap_CApnCamera_WriteHorizontalPattern}, 
    {"InitTwelveBitAD", _wrap_CApnCamera_InitTwelveBitAD}, 
    {"InitAscentSixteenBitAD", _wrap_CApnCamera_InitAscentSixteenBitAD}, 
    {"UpdateGeneralStatus", _wrap_CApnCamera_UpdateGeneralStatus}, 
    {"LookupAltaCameraId", _wrap_CApnCamera_LookupAltaCameraId}, 
    {"LookupAscentCameraId", _wrap_CApnCamera_LookupAscentCameraId}, 
    {"CheckGuiderRelayDuration", _wrap_CApnCamera_CheckGuiderRelayDuration}, 
    {"CalculateGuiderRelayTimeCounts", _wrap_CApnCamera_CalculateGuiderRelayTimeCounts}, 
    {"IssueExposeCommand", _wrap_CApnCamera_IssueExposeCommand}, 
    {"TakeNoDataDarkExposure", _wrap_CApnCamera_TakeNoDataDarkExposure}, 
    {"PostExposureRestoreParams", _wrap_CApnCamera_PostExposureRestoreParams}, 
    {"SetPlatformConstants", _wrap_CApnCamera_SetPlatformConstants}, 
    {"sensorInfo", _wrap_CApnCamera_sensorInfo}, 
    {0,0}
};
static swig_attribute swig_CApnCamera_attributes[] = {
    { "-m_ApnSensorInfo",_wrap_CApnCamera_m_ApnSensorInfo_get, _wrap_CApnCamera_m_ApnSensorInfo_set},
    { "-m_pvtPlatformType",_wrap_CApnCamera_m_pvtPlatformType_get, _wrap_CApnCamera_m_pvtPlatformType_set},
    { "-m_pvtResetVerticalArrays",_wrap_CApnCamera_m_pvtResetVerticalArrays_get, _wrap_CApnCamera_m_pvtResetVerticalArrays_set},
    { "-m_pvtNewFeatureSupport",_wrap_CApnCamera_m_pvtNewFeatureSupport_get, _wrap_CApnCamera_m_pvtNewFeatureSupport_set},
    { "-m_pvtRoiBinningH",_wrap_CApnCamera_m_pvtRoiBinningH_get, _wrap_CApnCamera_m_pvtRoiBinningH_set},
    { "-m_pvtRoiBinningV",_wrap_CApnCamera_m_pvtRoiBinningV_get, _wrap_CApnCamera_m_pvtRoiBinningV_set},
    { "-m_pvtRoiPixelsH",_wrap_CApnCamera_m_pvtRoiPixelsH_get, _wrap_CApnCamera_m_pvtRoiPixelsH_set},
    { "-m_pvtRoiPixelsV",_wrap_CApnCamera_m_pvtRoiPixelsV_get, _wrap_CApnCamera_m_pvtRoiPixelsV_set},
    { "-m_pvtRoiStartX",_wrap_CApnCamera_m_pvtRoiStartX_get, _wrap_CApnCamera_m_pvtRoiStartX_set},
    { "-m_pvtRoiStartY",_wrap_CApnCamera_m_pvtRoiStartY_get, _wrap_CApnCamera_m_pvtRoiStartY_set},
    { "-m_pvtCameraMode",_wrap_CApnCamera_m_pvtCameraMode_get, _wrap_CApnCamera_m_pvtCameraMode_set},
    { "-m_pvtExternalShutter",_wrap_CApnCamera_m_pvtExternalShutter_get, _wrap_CApnCamera_m_pvtExternalShutter_set},
    { "-m_pvtCameraPoweredDown",_wrap_CApnCamera_m_pvtCameraPoweredDown_get, _wrap_CApnCamera_m_pvtCameraPoweredDown_set},
    { "-m_pvtPowerDownCoolerEnable",_wrap_CApnCamera_m_pvtPowerDownCoolerEnable_get, _wrap_CApnCamera_m_pvtPowerDownCoolerEnable_set},
    { "-m_pvtPowerDownFanMode",_wrap_CApnCamera_m_pvtPowerDownFanMode_get, _wrap_CApnCamera_m_pvtPowerDownFanMode_set},
    { "-m_pvtDataBits",_wrap_CApnCamera_m_pvtDataBits_get, _wrap_CApnCamera_m_pvtDataBits_set},
    { "-m_pvtNetworkTransferMode",_wrap_CApnCamera_m_pvtNetworkTransferMode_get, _wrap_CApnCamera_m_pvtNetworkTransferMode_set},
    { "-m_pvtBayerShift",_wrap_CApnCamera_m_pvtBayerShift_get, _wrap_CApnCamera_m_pvtBayerShift_set},
    { "-m_pvtUseAdvancedStatus",_wrap_CApnCamera_m_pvtUseAdvancedStatus_get, _wrap_CApnCamera_m_pvtUseAdvancedStatus_set},
    { "-m_pvtCameraID",_wrap_CApnCamera_m_pvtCameraID_get, _wrap_CApnCamera_m_pvtCameraID_set},
    { "-m_pvtFirmwareVersion",_wrap_CApnCamera_m_pvtFirmwareVersion_get, _wrap_CApnCamera_m_pvtFirmwareVersion_set},
    { "-m_pvtImageCount",_wrap_CApnCamera_m_pvtImageCount_get, _wrap_CApnCamera_m_pvtImageCount_set},
    { "-m_pvtTDIRows",_wrap_CApnCamera_m_pvtTDIRows_get, _wrap_CApnCamera_m_pvtTDIRows_set},
    { "-m_pvtTDIBinningV",_wrap_CApnCamera_m_pvtTDIBinningV_get, _wrap_CApnCamera_m_pvtTDIBinningV_set},
    { "-m_pvtTDIRate",_wrap_CApnCamera_m_pvtTDIRate_get, _wrap_CApnCamera_m_pvtTDIRate_set},
    { "-m_pvtTDICounter",_wrap_CApnCamera_m_pvtTDICounter_get, _wrap_CApnCamera_m_pvtTDICounter_set},
    { "-m_pvtFlushBinningV",_wrap_CApnCamera_m_pvtFlushBinningV_get, _wrap_CApnCamera_m_pvtFlushBinningV_set},
    { "-m_pvtDigitizeOverscan",_wrap_CApnCamera_m_pvtDigitizeOverscan_get, _wrap_CApnCamera_m_pvtDigitizeOverscan_set},
    { "-m_pvtSequenceBulkDownload",_wrap_CApnCamera_m_pvtSequenceBulkDownload_get, _wrap_CApnCamera_m_pvtSequenceBulkDownload_set},
    { "-m_pvtSequenceDelay",_wrap_CApnCamera_m_pvtSequenceDelay_get, _wrap_CApnCamera_m_pvtSequenceDelay_set},
    { "-m_pvtSequenceCounter",_wrap_CApnCamera_m_pvtSequenceCounter_get, _wrap_CApnCamera_m_pvtSequenceCounter_set},
    { "-m_pvtFastSequence",_wrap_CApnCamera_m_pvtFastSequence_get, _wrap_CApnCamera_m_pvtFastSequence_set},
    { "-m_pvtShutterStrobePosition",_wrap_CApnCamera_m_pvtShutterStrobePosition_get, _wrap_CApnCamera_m_pvtShutterStrobePosition_set},
    { "-m_pvtShutterStrobePeriod",_wrap_CApnCamera_m_pvtShutterStrobePeriod_get, _wrap_CApnCamera_m_pvtShutterStrobePeriod_set},
    { "-m_pvtShutterCloseDelay",_wrap_CApnCamera_m_pvtShutterCloseDelay_get, _wrap_CApnCamera_m_pvtShutterCloseDelay_set},
    { "-m_pvtExposureTDIRows",_wrap_CApnCamera_m_pvtExposureTDIRows_get, _wrap_CApnCamera_m_pvtExposureTDIRows_set},
    { "-m_pvtExposurePixelsH",_wrap_CApnCamera_m_pvtExposurePixelsH_get, _wrap_CApnCamera_m_pvtExposurePixelsH_set},
    { "-m_pvtExposurePixelsV",_wrap_CApnCamera_m_pvtExposurePixelsV_get, _wrap_CApnCamera_m_pvtExposurePixelsV_set},
    { "-m_pvtExposureTriggerGroup",_wrap_CApnCamera_m_pvtExposureTriggerGroup_get, _wrap_CApnCamera_m_pvtExposureTriggerGroup_set},
    { "-m_pvtExposureTriggerEach",_wrap_CApnCamera_m_pvtExposureTriggerEach_get, _wrap_CApnCamera_m_pvtExposureTriggerEach_set},
    { "-m_pvtExposureExternalShutter",_wrap_CApnCamera_m_pvtExposureExternalShutter_get, _wrap_CApnCamera_m_pvtExposureExternalShutter_set},
    { "-m_pvtExposureImageCount",_wrap_CApnCamera_m_pvtExposureImageCount_get, _wrap_CApnCamera_m_pvtExposureImageCount_set},
    { "-m_pvtExposureBulkDownload",_wrap_CApnCamera_m_pvtExposureBulkDownload_get, _wrap_CApnCamera_m_pvtExposureBulkDownload_set},
    { "-m_pvtPreFlashEnable",_wrap_CApnCamera_m_pvtPreFlashEnable_get, _wrap_CApnCamera_m_pvtPreFlashEnable_set},
    { "-m_pvtTwelveBitGain",_wrap_CApnCamera_m_pvtTwelveBitGain_get, _wrap_CApnCamera_m_pvtTwelveBitGain_set},
    { "-m_pvtTwelveBitOffset",_wrap_CApnCamera_m_pvtTwelveBitOffset_get, _wrap_CApnCamera_m_pvtTwelveBitOffset_set},
    { "-m_pvtAscentSixteenBitGainLeft",_wrap_CApnCamera_m_pvtAscentSixteenBitGainLeft_get, _wrap_CApnCamera_m_pvtAscentSixteenBitGainLeft_set},
    { "-m_pvtAscentSixteenBitOffsetLeft",_wrap_CApnCamera_m_pvtAscentSixteenBitOffsetLeft_get, _wrap_CApnCamera_m_pvtAscentSixteenBitOffsetLeft_set},
    { "-m_pvtAscentSixteenBitGainRight",_wrap_CApnCamera_m_pvtAscentSixteenBitGainRight_get, _wrap_CApnCamera_m_pvtAscentSixteenBitGainRight_set},
    { "-m_pvtAscentSixteenBitOffsetRight",_wrap_CApnCamera_m_pvtAscentSixteenBitOffsetRight_get, _wrap_CApnCamera_m_pvtAscentSixteenBitOffsetRight_set},
    { "-m_pvtDualReadout",_wrap_CApnCamera_m_pvtDualReadout_get, _wrap_CApnCamera_m_pvtDualReadout_set},
    { "-m_pvtLedMode",_wrap_CApnCamera_m_pvtLedMode_get, _wrap_CApnCamera_m_pvtLedMode_set},
    { "-m_pvtLedStateA",_wrap_CApnCamera_m_pvtLedStateA_get, _wrap_CApnCamera_m_pvtLedStateA_set},
    { "-m_pvtLedStateB",_wrap_CApnCamera_m_pvtLedStateB_get, _wrap_CApnCamera_m_pvtLedStateB_set},
    { "-m_pvtTestLedBrightness",_wrap_CApnCamera_m_pvtTestLedBrightness_get, _wrap_CApnCamera_m_pvtTestLedBrightness_set},
    { "-m_pvtCoolerEnable",_wrap_CApnCamera_m_pvtCoolerEnable_get, _wrap_CApnCamera_m_pvtCoolerEnable_set},
    { "-m_pvtFanMode",_wrap_CApnCamera_m_pvtFanMode_get, _wrap_CApnCamera_m_pvtFanMode_set},
    { "-m_pvtCoolerBackoffPoint",_wrap_CApnCamera_m_pvtCoolerBackoffPoint_get, _wrap_CApnCamera_m_pvtCoolerBackoffPoint_set},
    { "-m_pvtCoolerStatus",_wrap_CApnCamera_m_pvtCoolerStatus_get, _wrap_CApnCamera_m_pvtCoolerStatus_set},
    { "-m_pvtImagingStatus",_wrap_CApnCamera_m_pvtImagingStatus_get, _wrap_CApnCamera_m_pvtImagingStatus_set},
    { "-m_pvtPrevImagingStatus",_wrap_CApnCamera_m_pvtPrevImagingStatus_get, _wrap_CApnCamera_m_pvtPrevImagingStatus_set},
    { "-m_pvtShutterState",_wrap_CApnCamera_m_pvtShutterState_get, _wrap_CApnCamera_m_pvtShutterState_set},
    { "-m_pvtImageInProgress",_wrap_CApnCamera_m_pvtImageInProgress_get, _wrap_CApnCamera_m_pvtImageInProgress_set},
    { "-m_pvtImageReady",_wrap_CApnCamera_m_pvtImageReady_get, _wrap_CApnCamera_m_pvtImageReady_set},
    { "-m_pvtTriggerNormalEach",_wrap_CApnCamera_m_pvtTriggerNormalEach_get, _wrap_CApnCamera_m_pvtTriggerNormalEach_set},
    { "-m_pvtTriggerNormalGroup",_wrap_CApnCamera_m_pvtTriggerNormalGroup_get, _wrap_CApnCamera_m_pvtTriggerNormalGroup_set},
    { "-m_pvtTriggerTdiKineticsEach",_wrap_CApnCamera_m_pvtTriggerTdiKineticsEach_get, _wrap_CApnCamera_m_pvtTriggerTdiKineticsEach_set},
    { "-m_pvtTriggerTdiKineticsGroup",_wrap_CApnCamera_m_pvtTriggerTdiKineticsGroup_get, _wrap_CApnCamera_m_pvtTriggerTdiKineticsGroup_set},
    { "-m_pvtStatusReg",_wrap_CApnCamera_m_pvtStatusReg_get, _wrap_CApnCamera_m_pvtStatusReg_set},
    { "-m_pvtCoolerDrive",_wrap_CApnCamera_m_pvtCoolerDrive_get, _wrap_CApnCamera_m_pvtCoolerDrive_set},
    { "-m_pvtCurrentHeatsinkTemp",_wrap_CApnCamera_m_pvtCurrentHeatsinkTemp_get, _wrap_CApnCamera_m_pvtCurrentHeatsinkTemp_set},
    { "-m_pvtCurrentCcdTemp",_wrap_CApnCamera_m_pvtCurrentCcdTemp_get, _wrap_CApnCamera_m_pvtCurrentCcdTemp_set},
    { "-m_pvtInputVoltage",_wrap_CApnCamera_m_pvtInputVoltage_get, _wrap_CApnCamera_m_pvtInputVoltage_set},
    { "-m_pvtIoPortDirection",_wrap_CApnCamera_m_pvtIoPortDirection_get, _wrap_CApnCamera_m_pvtIoPortDirection_set},
    { "-m_pvtIoPortAssignment",_wrap_CApnCamera_m_pvtIoPortAssignment_get, _wrap_CApnCamera_m_pvtIoPortAssignment_set},
    { "-m_pvtIoPortBlankingBits",_wrap_CApnCamera_m_pvtIoPortBlankingBits_get, _wrap_CApnCamera_m_pvtIoPortBlankingBits_set},
    { "-m_pvtQueryStatusRetVal",_wrap_CApnCamera_m_pvtQueryStatusRetVal_get, _wrap_CApnCamera_m_pvtQueryStatusRetVal_set},
    { "-m_pvtMostRecentFrame",_wrap_CApnCamera_m_pvtMostRecentFrame_get, _wrap_CApnCamera_m_pvtMostRecentFrame_set},
    { "-m_pvtReadyFrame",_wrap_CApnCamera_m_pvtReadyFrame_get, _wrap_CApnCamera_m_pvtReadyFrame_set},
    { "-m_pvtCurrentFrame",_wrap_CApnCamera_m_pvtCurrentFrame_get, _wrap_CApnCamera_m_pvtCurrentFrame_set},
    { "-m_pvtGuideRAPlusDuration",_wrap_CApnCamera_m_pvtGuideRAPlusDuration_get, _wrap_CApnCamera_m_pvtGuideRAPlusDuration_set},
    { "-m_pvtGuideRAMinusDuration",_wrap_CApnCamera_m_pvtGuideRAMinusDuration_get, _wrap_CApnCamera_m_pvtGuideRAMinusDuration_set},
    { "-m_pvtGuideDecPlusDuration",_wrap_CApnCamera_m_pvtGuideDecPlusDuration_get, _wrap_CApnCamera_m_pvtGuideDecPlusDuration_set},
    { "-m_pvtGuideDecMinusDuration",_wrap_CApnCamera_m_pvtGuideDecMinusDuration_get, _wrap_CApnCamera_m_pvtGuideDecMinusDuration_set},
    { "-m_pvtFilterWheelType",_wrap_CApnCamera_m_pvtFilterWheelType_get, _wrap_CApnCamera_m_pvtFilterWheelType_set},
    { "-m_pvtFilterMaxPositions",_wrap_CApnCamera_m_pvtFilterMaxPositions_get, _wrap_CApnCamera_m_pvtFilterMaxPositions_set},
    { "-m_pvtRestoreTdiRowCount",_wrap_CApnCamera_m_pvtRestoreTdiRowCount_get, _wrap_CApnCamera_m_pvtRestoreTdiRowCount_set},
    { "-m_pvtRestoreShutterControl",_wrap_CApnCamera_m_pvtRestoreShutterControl_get, _wrap_CApnCamera_m_pvtRestoreShutterControl_set},
    { "-m_PlatformHBinningMax",_wrap_CApnCamera_m_PlatformHBinningMax_get, _wrap_CApnCamera_m_PlatformHBinningMax_set},
    { "-m_PlatformVBinningMax",_wrap_CApnCamera_m_PlatformVBinningMax_get, _wrap_CApnCamera_m_PlatformVBinningMax_set},
    { "-m_PlatformTimerResolution",_wrap_CApnCamera_m_PlatformTimerResolution_get, _wrap_CApnCamera_m_PlatformTimerResolution_set},
    { "-m_PlatformPeriodTimerResolution",_wrap_CApnCamera_m_PlatformPeriodTimerResolution_get, _wrap_CApnCamera_m_PlatformPeriodTimerResolution_set},
    { "-m_PlatformTimerOffsetCount",_wrap_CApnCamera_m_PlatformTimerOffsetCount_get, _wrap_CApnCamera_m_PlatformTimerOffsetCount_set},
    { "-m_PlatformSequenceDelayResolution",_wrap_CApnCamera_m_PlatformSequenceDelayResolution_get, _wrap_CApnCamera_m_PlatformSequenceDelayResolution_set},
    { "-m_PlatformSequenceDelayMaximum",_wrap_CApnCamera_m_PlatformSequenceDelayMaximum_get, _wrap_CApnCamera_m_PlatformSequenceDelayMaximum_set},
    { "-m_PlatformSequenceDelayMinimum",_wrap_CApnCamera_m_PlatformSequenceDelayMinimum_get, _wrap_CApnCamera_m_PlatformSequenceDelayMinimum_set},
    { "-m_PlatformExposureTimeMin",_wrap_CApnCamera_m_PlatformExposureTimeMin_get, _wrap_CApnCamera_m_PlatformExposureTimeMin_set},
    { "-m_PlatformExposureTimeMax",_wrap_CApnCamera_m_PlatformExposureTimeMax_get, _wrap_CApnCamera_m_PlatformExposureTimeMax_set},
    { "-m_PlatformTdiRateResolution",_wrap_CApnCamera_m_PlatformTdiRateResolution_get, _wrap_CApnCamera_m_PlatformTdiRateResolution_set},
    { "-m_PlatformTdiRateMin",_wrap_CApnCamera_m_PlatformTdiRateMin_get, _wrap_CApnCamera_m_PlatformTdiRateMin_set},
    { "-m_PlatformTdiRateMax",_wrap_CApnCamera_m_PlatformTdiRateMax_get, _wrap_CApnCamera_m_PlatformTdiRateMax_set},
    { "-m_PlatformTdiRateDefault",_wrap_CApnCamera_m_PlatformTdiRateDefault_get, _wrap_CApnCamera_m_PlatformTdiRateDefault_set},
    { "-m_PlatformVoltageResolution",_wrap_CApnCamera_m_PlatformVoltageResolution_get, _wrap_CApnCamera_m_PlatformVoltageResolution_set},
    { "-m_PlatformShutterCloseDiff",_wrap_CApnCamera_m_PlatformShutterCloseDiff_get, _wrap_CApnCamera_m_PlatformShutterCloseDiff_set},
    { "-m_PlatformStrobePositionMin",_wrap_CApnCamera_m_PlatformStrobePositionMin_get, _wrap_CApnCamera_m_PlatformStrobePositionMin_set},
    { "-m_PlatformStrobePositionMax",_wrap_CApnCamera_m_PlatformStrobePositionMax_get, _wrap_CApnCamera_m_PlatformStrobePositionMax_set},
    { "-m_PlatformStrobePositionDefault",_wrap_CApnCamera_m_PlatformStrobePositionDefault_get, _wrap_CApnCamera_m_PlatformStrobePositionDefault_set},
    { "-m_PlatformStrobePeriodMin",_wrap_CApnCamera_m_PlatformStrobePeriodMin_get, _wrap_CApnCamera_m_PlatformStrobePeriodMin_set},
    { "-m_PlatformStrobePeriodMax",_wrap_CApnCamera_m_PlatformStrobePeriodMax_get, _wrap_CApnCamera_m_PlatformStrobePeriodMax_set},
    { "-m_PlatformStrobePeriodDefault",_wrap_CApnCamera_m_PlatformStrobePeriodDefault_get, _wrap_CApnCamera_m_PlatformStrobePeriodDefault_set},
    { "-m_PlatformTempCounts",_wrap_CApnCamera_m_PlatformTempCounts_get, _wrap_CApnCamera_m_PlatformTempCounts_set},
    { "-m_PlatformTempKelvinScaleOffset",_wrap_CApnCamera_m_PlatformTempKelvinScaleOffset_get, _wrap_CApnCamera_m_PlatformTempKelvinScaleOffset_set},
    { "-m_PlatformTempSetpointMin",_wrap_CApnCamera_m_PlatformTempSetpointMin_get, _wrap_CApnCamera_m_PlatformTempSetpointMin_set},
    { "-m_PlatformTempSetpointMax",_wrap_CApnCamera_m_PlatformTempSetpointMax_get, _wrap_CApnCamera_m_PlatformTempSetpointMax_set},
    { "-m_PlatformTempHeatsinkMin",_wrap_CApnCamera_m_PlatformTempHeatsinkMin_get, _wrap_CApnCamera_m_PlatformTempHeatsinkMin_set},
    { "-m_PlatformTempHeatsinkMax",_wrap_CApnCamera_m_PlatformTempHeatsinkMax_get, _wrap_CApnCamera_m_PlatformTempHeatsinkMax_set},
    { "-m_PlatformTempSetpointZeroPoint",_wrap_CApnCamera_m_PlatformTempSetpointZeroPoint_get, _wrap_CApnCamera_m_PlatformTempSetpointZeroPoint_set},
    { "-m_PlatformTempHeatsinkZeroPoint",_wrap_CApnCamera_m_PlatformTempHeatsinkZeroPoint_get, _wrap_CApnCamera_m_PlatformTempHeatsinkZeroPoint_set},
    { "-m_PlatformTempDegreesPerBit",_wrap_CApnCamera_m_PlatformTempDegreesPerBit_get, _wrap_CApnCamera_m_PlatformTempDegreesPerBit_set},
    { "-m_PlatformFanSpeedOff",_wrap_CApnCamera_m_PlatformFanSpeedOff_get, _wrap_CApnCamera_m_PlatformFanSpeedOff_set},
    { "-m_PlatformFanSpeedLow",_wrap_CApnCamera_m_PlatformFanSpeedLow_get, _wrap_CApnCamera_m_PlatformFanSpeedLow_set},
    { "-m_PlatformFanSpeedMedium",_wrap_CApnCamera_m_PlatformFanSpeedMedium_get, _wrap_CApnCamera_m_PlatformFanSpeedMedium_set},
    { "-m_PlatformFanSpeedHigh",_wrap_CApnCamera_m_PlatformFanSpeedHigh_get, _wrap_CApnCamera_m_PlatformFanSpeedHigh_set},
    { "-m_PlatformGuiderRelayResolution",_wrap_CApnCamera_m_PlatformGuiderRelayResolution_get, _wrap_CApnCamera_m_PlatformGuiderRelayResolution_set},
    { "-m_PlatformGuiderRelayMin",_wrap_CApnCamera_m_PlatformGuiderRelayMin_get, _wrap_CApnCamera_m_PlatformGuiderRelayMin_set},
    { "-m_PlatformGuiderRelayMax",_wrap_CApnCamera_m_PlatformGuiderRelayMax_get, _wrap_CApnCamera_m_PlatformGuiderRelayMax_set},
    { "-m_PlatformGuiderRelayOpenTime",_wrap_CApnCamera_m_PlatformGuiderRelayOpenTime_get, _wrap_CApnCamera_m_PlatformGuiderRelayOpenTime_set},
    { "-m_PlatformGuiderRelayCloseTime",_wrap_CApnCamera_m_PlatformGuiderRelayCloseTime_get, _wrap_CApnCamera_m_PlatformGuiderRelayCloseTime_set},
    { "-m_PlatformPreflashDuration",_wrap_CApnCamera_m_PlatformPreflashDuration_get, _wrap_CApnCamera_m_PlatformPreflashDuration_set},
    { "-m_pvtConnectionOpen",_wrap_CApnCamera_m_pvtConnectionOpen_get, _wrap_CApnCamera_m_pvtConnectionOpen_set},
    { "-m_SysDeviceName",_wrap_CApnCamera_m_SysDeviceName_get, _wrap_CApnCamera_m_SysDeviceName_set},
    { "-m_CamIdA",_wrap_CApnCamera_m_CamIdA_get, _wrap_CApnCamera_m_CamIdA_set},
    { "-m_CamIdB",_wrap_CApnCamera_m_CamIdB_get, _wrap_CApnCamera_m_CamIdB_set},
    { "-m_Option",_wrap_CApnCamera_m_Option_get, _wrap_CApnCamera_m_Option_set},
    { "-m_SysImgSizeBytes",_wrap_CApnCamera_m_SysImgSizeBytes_get, _wrap_CApnCamera_m_SysImgSizeBytes_set},
    { "-m_pvtVendorId",_wrap_CApnCamera_m_pvtVendorId_get, _wrap_CApnCamera_m_pvtVendorId_set},
    { "-m_pvtProductId",_wrap_CApnCamera_m_pvtProductId_get, _wrap_CApnCamera_m_pvtProductId_set},
    { "-m_pvtDeviceId",_wrap_CApnCamera_m_pvtDeviceId_get, _wrap_CApnCamera_m_pvtDeviceId_set},
    { "-m_SysDriverVersion",_wrap_CApnCamera_m_SysDriverVersion_get, _wrap_CApnCamera_m_SysDriverVersion_set},
    { "-m_pvtSequenceImagesDownloaded",_wrap_CApnCamera_m_pvtSequenceImagesDownloaded_get, _wrap_CApnCamera_m_pvtSequenceImagesDownloaded_set},
    { "-m_pvtNumImages",_wrap_CApnCamera_m_pvtNumImages_get, _wrap_CApnCamera_m_pvtNumImages_set},
    { "-m_pvtTdiLinesDownloaded",_wrap_CApnCamera_m_pvtTdiLinesDownloaded_get, _wrap_CApnCamera_m_pvtTdiLinesDownloaded_set},
    { "-m_HostAddr",_wrap_CApnCamera_m_HostAddr_get, _wrap_CApnCamera_m_HostAddr_set},
    { "-m_ImageSizeBytes",_wrap_CApnCamera_m_ImageSizeBytes_get, _wrap_CApnCamera_m_ImageSizeBytes_set},
    { "-m_ImageInProgress",_wrap_CApnCamera_m_ImageInProgress_get, _wrap_CApnCamera_m_ImageInProgress_set},
    { "-m_FastDownload",_wrap_CApnCamera_m_FastDownload_get, _wrap_CApnCamera_m_FastDownload_set},
    { "-m_pvtExposeWidth",_wrap_CApnCamera_m_pvtExposeWidth_get, _wrap_CApnCamera_m_pvtExposeWidth_set},
    { "-m_pvtExposeHeight",_wrap_CApnCamera_m_pvtExposeHeight_get, _wrap_CApnCamera_m_pvtExposeHeight_set},
    { "-m_pvtExposeExternalShutter",_wrap_CApnCamera_m_pvtExposeExternalShutter_get, _wrap_CApnCamera_m_pvtExposeExternalShutter_set},
    { "-m_pvtExposeCameraMode",_wrap_CApnCamera_m_pvtExposeCameraMode_get, _wrap_CApnCamera_m_pvtExposeCameraMode_set},
    { "-m_pvtExposeSequenceBulkDownload",_wrap_CApnCamera_m_pvtExposeSequenceBulkDownload_get, _wrap_CApnCamera_m_pvtExposeSequenceBulkDownload_set},
    { "-m_pvtExposeCI",_wrap_CApnCamera_m_pvtExposeCI_get, _wrap_CApnCamera_m_pvtExposeCI_set},
    { "-m_pvtExposeHBinning",_wrap_CApnCamera_m_pvtExposeHBinning_get, _wrap_CApnCamera_m_pvtExposeHBinning_set},
    { "-m_pvtExposeBitsPerPixel",_wrap_CApnCamera_m_pvtExposeBitsPerPixel_get, _wrap_CApnCamera_m_pvtExposeBitsPerPixel_set},
    { "-m_pvtBitsPerPixel",_wrap_CApnCamera_m_pvtBitsPerPixel_get, _wrap_CApnCamera_m_pvtBitsPerPixel_set},
    { "-m_pvtExposeDualReadout",_wrap_CApnCamera_m_pvtExposeDualReadout_get, _wrap_CApnCamera_m_pvtExposeDualReadout_set},
    { "-m_cameraNumber",_wrap_CApnCamera_m_cameraNumber_get, _wrap_CApnCamera_m_cameraNumber_set},
    { "-m_Sensor",_wrap_CApnCamera_m_Sensor_get, _wrap_CApnCamera_m_Sensor_set},
    { "-m_CameraModel",_wrap_CApnCamera_m_CameraModel_get, _wrap_CApnCamera_m_CameraModel_set},
    { "-m_CameraId",_wrap_CApnCamera_m_CameraId_get, _wrap_CApnCamera_m_CameraId_set},
    { "-m_InterlineCCD",_wrap_CApnCamera_m_InterlineCCD_get, _wrap_CApnCamera_m_InterlineCCD_set},
    { "-m_SupportsSerialA",_wrap_CApnCamera_m_SupportsSerialA_get, _wrap_CApnCamera_m_SupportsSerialA_set},
    { "-m_SupportsSerialB",_wrap_CApnCamera_m_SupportsSerialB_get, _wrap_CApnCamera_m_SupportsSerialB_set},
    { "-m_SensorTypeCCD",_wrap_CApnCamera_m_SensorTypeCCD_get, _wrap_CApnCamera_m_SensorTypeCCD_set},
    { "-m_TotalColumns",_wrap_CApnCamera_m_TotalColumns_get, _wrap_CApnCamera_m_TotalColumns_set},
    { "-m_ImagingColumns",_wrap_CApnCamera_m_ImagingColumns_get, _wrap_CApnCamera_m_ImagingColumns_set},
    { "-m_ClampColumns",_wrap_CApnCamera_m_ClampColumns_get, _wrap_CApnCamera_m_ClampColumns_set},
    { "-m_PreRoiSkipColumns",_wrap_CApnCamera_m_PreRoiSkipColumns_get, _wrap_CApnCamera_m_PreRoiSkipColumns_set},
    { "-m_PostRoiSkipColumns",_wrap_CApnCamera_m_PostRoiSkipColumns_get, _wrap_CApnCamera_m_PostRoiSkipColumns_set},
    { "-m_OverscanColumns",_wrap_CApnCamera_m_OverscanColumns_get, _wrap_CApnCamera_m_OverscanColumns_set},
    { "-m_TotalRows",_wrap_CApnCamera_m_TotalRows_get, _wrap_CApnCamera_m_TotalRows_set},
    { "-m_ImagingRows",_wrap_CApnCamera_m_ImagingRows_get, _wrap_CApnCamera_m_ImagingRows_set},
    { "-m_UnderscanRows",_wrap_CApnCamera_m_UnderscanRows_get, _wrap_CApnCamera_m_UnderscanRows_set},
    { "-m_OverscanRows",_wrap_CApnCamera_m_OverscanRows_get, _wrap_CApnCamera_m_OverscanRows_set},
    { "-m_VFlushBinning",_wrap_CApnCamera_m_VFlushBinning_get, _wrap_CApnCamera_m_VFlushBinning_set},
    { "-m_HFlushDisable",_wrap_CApnCamera_m_HFlushDisable_get, _wrap_CApnCamera_m_HFlushDisable_set},
    { "-m_ShutterCloseDelay",_wrap_CApnCamera_m_ShutterCloseDelay_get, _wrap_CApnCamera_m_ShutterCloseDelay_set},
    { "-m_PixelSizeX",_wrap_CApnCamera_m_PixelSizeX_get, _wrap_CApnCamera_m_PixelSizeX_set},
    { "-m_PixelSizeY",_wrap_CApnCamera_m_PixelSizeY_get, _wrap_CApnCamera_m_PixelSizeY_set},
    { "-m_Color",_wrap_CApnCamera_m_Color_get, _wrap_CApnCamera_m_Color_set},
    { "-m_MinSuggestedExpTime",_wrap_CApnCamera_m_MinSuggestedExpTime_get, _wrap_CApnCamera_m_MinSuggestedExpTime_set},
    { "-m_TempRampRateOne",_wrap_CApnCamera_m_TempRampRateOne_get, _wrap_CApnCamera_m_TempRampRateOne_set},
    { "-m_TempRampRateTwo",_wrap_CApnCamera_m_TempRampRateTwo_get, _wrap_CApnCamera_m_TempRampRateTwo_set},
    { "-m_PlatformTempSetpointSlope",_wrap_CApnCamera_m_PlatformTempSetpointSlope_get, _wrap_CApnCamera_m_PlatformTempSetpointSlope_set},
    { "-m_PlatformTempSetpointIntercept",_wrap_CApnCamera_m_PlatformTempSetpointIntercept_get, _wrap_CApnCamera_m_PlatformTempSetpointIntercept_set},
    { "-m_PlatformTempBackoffMin",_wrap_CApnCamera_m_PlatformTempBackoffMin_get, _wrap_CApnCamera_m_PlatformTempBackoffMin_set},
    { "-m_PlatformTempBackoffMax",_wrap_CApnCamera_m_PlatformTempBackoffMax_get, _wrap_CApnCamera_m_PlatformTempBackoffMax_set},
    {0,0,0}
};
static swig_class *swig_CApnCamera_bases[] = {0};
static const char * swig_CApnCamera_base_names[] = {0};
static swig_class _wrap_class_CApnCamera = { "CApnCamera", &SWIGTYPE_p_CApnCamera,_wrap_new_CApnCamera, swig_delete_CApnCamera, swig_CApnCamera_methods, swig_CApnCamera_attributes, swig_CApnCamera_bases,swig_CApnCamera_base_names, &swig_module };

static swig_command_info swig_commands[] = {
    { SWIG_prefix "cdata", (swig_wrapper_func) _wrap_cdata, NULL},
    { SWIG_prefix "memmove", (swig_wrapper_func) _wrap_memmove, NULL},
    { SWIG_prefix "new_ushortArray", (swig_wrapper_func) _wrap_new_ushortArray, NULL},
    { SWIG_prefix "delete_ushortArray", (swig_wrapper_func) _wrap_delete_ushortArray, NULL},
    { SWIG_prefix "ushortArray_getitem", (swig_wrapper_func) _wrap_ushortArray_getitem, NULL},
    { SWIG_prefix "ushortArray_setitem", (swig_wrapper_func) _wrap_ushortArray_setitem, NULL},
    { SWIG_prefix "ushortArray_cast", (swig_wrapper_func) _wrap_ushortArray_cast, NULL},
    { SWIG_prefix "ushortArray_frompointer", (swig_wrapper_func) _wrap_ushortArray_frompointer, NULL},
    { SWIG_prefix "ushortArray", (swig_wrapper_func) SWIG_ObjectConstructor, (ClientData)&_wrap_class_ushortArray},
    { SWIG_prefix "INTEL_HEX_RECORD_Length_set", (swig_wrapper_func) _wrap_INTEL_HEX_RECORD_Length_set, NULL},
    { SWIG_prefix "INTEL_HEX_RECORD_Length_get", (swig_wrapper_func) _wrap_INTEL_HEX_RECORD_Length_get, NULL},
    { SWIG_prefix "INTEL_HEX_RECORD_Address_set", (swig_wrapper_func) _wrap_INTEL_HEX_RECORD_Address_set, NULL},
    { SWIG_prefix "INTEL_HEX_RECORD_Address_get", (swig_wrapper_func) _wrap_INTEL_HEX_RECORD_Address_get, NULL},
    { SWIG_prefix "INTEL_HEX_RECORD_Type_set", (swig_wrapper_func) _wrap_INTEL_HEX_RECORD_Type_set, NULL},
    { SWIG_prefix "INTEL_HEX_RECORD_Type_get", (swig_wrapper_func) _wrap_INTEL_HEX_RECORD_Type_get, NULL},
    { SWIG_prefix "INTEL_HEX_RECORD_Data_set", (swig_wrapper_func) _wrap_INTEL_HEX_RECORD_Data_set, NULL},
    { SWIG_prefix "INTEL_HEX_RECORD_Data_get", (swig_wrapper_func) _wrap_INTEL_HEX_RECORD_Data_get, NULL},
    { SWIG_prefix "new_INTEL_HEX_RECORD", (swig_wrapper_func) _wrap_new_INTEL_HEX_RECORD, NULL},
    { SWIG_prefix "delete_INTEL_HEX_RECORD", (swig_wrapper_func) _wrap_delete_INTEL_HEX_RECORD, NULL},
    { SWIG_prefix "INTEL_HEX_RECORD", (swig_wrapper_func) SWIG_ObjectConstructor, (ClientData)&_wrap_class_INTEL_HEX_RECORD},
    { SWIG_prefix "FEATURE_SUPPORT_LIST_bSequenceBulkDownload_set", (swig_wrapper_func) _wrap_FEATURE_SUPPORT_LIST_bSequenceBulkDownload_set, NULL},
    { SWIG_prefix "FEATURE_SUPPORT_LIST_bSequenceBulkDownload_get", (swig_wrapper_func) _wrap_FEATURE_SUPPORT_LIST_bSequenceBulkDownload_get, NULL},
    { SWIG_prefix "new_FEATURE_SUPPORT_LIST", (swig_wrapper_func) _wrap_new_FEATURE_SUPPORT_LIST, NULL},
    { SWIG_prefix "delete_FEATURE_SUPPORT_LIST", (swig_wrapper_func) _wrap_delete_FEATURE_SUPPORT_LIST, NULL},
    { SWIG_prefix "FEATURE_SUPPORT_LIST", (swig_wrapper_func) SWIG_ObjectConstructor, (ClientData)&_wrap_class_FEATURE_SUPPORT_LIST},
    { SWIG_prefix "new_CApnCamera", (swig_wrapper_func) _wrap_new_CApnCamera, NULL},
    { SWIG_prefix "delete_CApnCamera", (swig_wrapper_func) _wrap_delete_CApnCamera, NULL},
    { SWIG_prefix "CApnCamera_GetDeviceHandle", (swig_wrapper_func) _wrap_CApnCamera_GetDeviceHandle, NULL},
    { SWIG_prefix "CApnCamera_InitDriver", (swig_wrapper_func) _wrap_CApnCamera_InitDriver, NULL},
    { SWIG_prefix "CApnCamera_SimpleInitDriver", (swig_wrapper_func) _wrap_CApnCamera_SimpleInitDriver, NULL},
    { SWIG_prefix "CApnCamera_GetCameraInterface", (swig_wrapper_func) _wrap_CApnCamera_GetCameraInterface, NULL},
    { SWIG_prefix "CApnCamera_GetCameraSerialNumber", (swig_wrapper_func) _wrap_CApnCamera_GetCameraSerialNumber, NULL},
    { SWIG_prefix "CApnCamera_GetSystemDriverVersion", (swig_wrapper_func) _wrap_CApnCamera_GetSystemDriverVersion, NULL},
    { SWIG_prefix "CApnCamera_GetUsb8051FirmwareRev", (swig_wrapper_func) _wrap_CApnCamera_GetUsb8051FirmwareRev, NULL},
    { SWIG_prefix "CApnCamera_GetUsbProductId", (swig_wrapper_func) _wrap_CApnCamera_GetUsbProductId, NULL},
    { SWIG_prefix "CApnCamera_GetUsbDeviceId", (swig_wrapper_func) _wrap_CApnCamera_GetUsbDeviceId, NULL},
    { SWIG_prefix "CApnCamera_CloseDriver", (swig_wrapper_func) _wrap_CApnCamera_CloseDriver, NULL},
    { SWIG_prefix "CApnCamera_PreStartExpose", (swig_wrapper_func) _wrap_CApnCamera_PreStartExpose, NULL},
    { SWIG_prefix "CApnCamera_PostStopExposure", (swig_wrapper_func) _wrap_CApnCamera_PostStopExposure, NULL},
    { SWIG_prefix "CApnCamera_GetImageData", (swig_wrapper_func) _wrap_CApnCamera_GetImageData, NULL},
    { SWIG_prefix "CApnCamera_GetLineData", (swig_wrapper_func) _wrap_CApnCamera_GetLineData, NULL},
    { SWIG_prefix "CApnCamera_Read", (swig_wrapper_func) _wrap_CApnCamera_Read, NULL},
    { SWIG_prefix "CApnCamera_Write", (swig_wrapper_func) _wrap_CApnCamera_Write, NULL},
    { SWIG_prefix "CApnCamera_WriteMultiSRMD", (swig_wrapper_func) _wrap_CApnCamera_WriteMultiSRMD, NULL},
    { SWIG_prefix "CApnCamera_WriteMultiMRMD", (swig_wrapper_func) _wrap_CApnCamera_WriteMultiMRMD, NULL},
    { SWIG_prefix "CApnCamera_QueryStatusRegs", (swig_wrapper_func) _wrap_CApnCamera_QueryStatusRegs, NULL},
    { SWIG_prefix "CApnCamera_SetNetworkTransferMode", (swig_wrapper_func) _wrap_CApnCamera_SetNetworkTransferMode, NULL},
    { SWIG_prefix "CApnCamera_SetCameraSerialNumber", (swig_wrapper_func) _wrap_CApnCamera_SetCameraSerialNumber, NULL},
    { SWIG_prefix "CApnCamera_DownloadFirmware", (swig_wrapper_func) _wrap_CApnCamera_DownloadFirmware, NULL},
    { SWIG_prefix "CApnCamera_InitDefaults", (swig_wrapper_func) _wrap_CApnCamera_InitDefaults, NULL},
    { SWIG_prefix "CApnCamera_Expose", (swig_wrapper_func) _wrap_CApnCamera_Expose, NULL},
    { SWIG_prefix "CApnCamera_GetImage", (swig_wrapper_func) _wrap_CApnCamera_GetImage, NULL},
    { SWIG_prefix "CApnCamera_BufferImage", (swig_wrapper_func) _wrap_CApnCamera_BufferImage, NULL},
    { SWIG_prefix "CApnCamera_BufferDriftScan", (swig_wrapper_func) _wrap_CApnCamera_BufferDriftScan, NULL},
    { SWIG_prefix "CApnCamera_StopExposure", (swig_wrapper_func) _wrap_CApnCamera_StopExposure, NULL},
    { SWIG_prefix "CApnCamera_PowerDown", (swig_wrapper_func) _wrap_CApnCamera_PowerDown, NULL},
    { SWIG_prefix "CApnCamera_Resume", (swig_wrapper_func) _wrap_CApnCamera_Resume, NULL},
    { SWIG_prefix "CApnCamera_ResetSystem", (swig_wrapper_func) _wrap_CApnCamera_ResetSystem, NULL},
    { SWIG_prefix "CApnCamera_ResetSystemNoFlush", (swig_wrapper_func) _wrap_CApnCamera_ResetSystemNoFlush, NULL},
    { SWIG_prefix "CApnCamera_PauseTimer", (swig_wrapper_func) _wrap_CApnCamera_PauseTimer, NULL},
    { SWIG_prefix "CApnCamera_GuideAbort", (swig_wrapper_func) _wrap_CApnCamera_GuideAbort, NULL},
    { SWIG_prefix "CApnCamera_GuideRAPlus", (swig_wrapper_func) _wrap_CApnCamera_GuideRAPlus, NULL},
    { SWIG_prefix "CApnCamera_GuideRAMinus", (swig_wrapper_func) _wrap_CApnCamera_GuideRAMinus, NULL},
    { SWIG_prefix "CApnCamera_GuideDecPlus", (swig_wrapper_func) _wrap_CApnCamera_GuideDecPlus, NULL},
    { SWIG_prefix "CApnCamera_GuideDecMinus", (swig_wrapper_func) _wrap_CApnCamera_GuideDecMinus, NULL},
    { SWIG_prefix "CApnCamera_ConvertBayerImageToRGB", (swig_wrapper_func) _wrap_CApnCamera_ConvertBayerImageToRGB, NULL},
    { SWIG_prefix "CApnCamera_ImageReady", (swig_wrapper_func) _wrap_CApnCamera_ImageReady, NULL},
    { SWIG_prefix "CApnCamera_ImageInProgress", (swig_wrapper_func) _wrap_CApnCamera_ImageInProgress, NULL},
    { SWIG_prefix "CApnCamera_SignalImagingDone", (swig_wrapper_func) _wrap_CApnCamera_SignalImagingDone, NULL},
    { SWIG_prefix "CApnCamera_GetExposurePixelsH", (swig_wrapper_func) _wrap_CApnCamera_GetExposurePixelsH, NULL},
    { SWIG_prefix "CApnCamera_GetExposurePixelsV", (swig_wrapper_func) _wrap_CApnCamera_GetExposurePixelsV, NULL},
    { SWIG_prefix "CApnCamera_read_Present", (swig_wrapper_func) _wrap_CApnCamera_read_Present, NULL},
    { SWIG_prefix "CApnCamera_read_FirmwareVersion", (swig_wrapper_func) _wrap_CApnCamera_read_FirmwareVersion, NULL},
    { SWIG_prefix "CApnCamera_read_CameraModel", (swig_wrapper_func) _wrap_CApnCamera_read_CameraModel, NULL},
    { SWIG_prefix "CApnCamera_read_ShutterState", (swig_wrapper_func) _wrap_CApnCamera_read_ShutterState, NULL},
    { SWIG_prefix "CApnCamera_read_DisableShutter", (swig_wrapper_func) _wrap_CApnCamera_read_DisableShutter, NULL},
    { SWIG_prefix "CApnCamera_write_DisableShutter", (swig_wrapper_func) _wrap_CApnCamera_write_DisableShutter, NULL},
    { SWIG_prefix "CApnCamera_read_ForceShutterOpen", (swig_wrapper_func) _wrap_CApnCamera_read_ForceShutterOpen, NULL},
    { SWIG_prefix "CApnCamera_write_ForceShutterOpen", (swig_wrapper_func) _wrap_CApnCamera_write_ForceShutterOpen, NULL},
    { SWIG_prefix "CApnCamera_read_ShutterAmpControl", (swig_wrapper_func) _wrap_CApnCamera_read_ShutterAmpControl, NULL},
    { SWIG_prefix "CApnCamera_write_ShutterAmpControl", (swig_wrapper_func) _wrap_CApnCamera_write_ShutterAmpControl, NULL},
    { SWIG_prefix "CApnCamera_read_DisableFlushCommands", (swig_wrapper_func) _wrap_CApnCamera_read_DisableFlushCommands, NULL},
    { SWIG_prefix "CApnCamera_write_DisableFlushCommands", (swig_wrapper_func) _wrap_CApnCamera_write_DisableFlushCommands, NULL},
    { SWIG_prefix "CApnCamera_read_DisablePostExposeFlushing", (swig_wrapper_func) _wrap_CApnCamera_read_DisablePostExposeFlushing, NULL},
    { SWIG_prefix "CApnCamera_write_DisablePostExposeFlushing", (swig_wrapper_func) _wrap_CApnCamera_write_DisablePostExposeFlushing, NULL},
    { SWIG_prefix "CApnCamera_read_ExternalIoReadout", (swig_wrapper_func) _wrap_CApnCamera_read_ExternalIoReadout, NULL},
    { SWIG_prefix "CApnCamera_write_ExternalIoReadout", (swig_wrapper_func) _wrap_CApnCamera_write_ExternalIoReadout, NULL},
    { SWIG_prefix "CApnCamera_read_ExternalShutter", (swig_wrapper_func) _wrap_CApnCamera_read_ExternalShutter, NULL},
    { SWIG_prefix "CApnCamera_write_ExternalShutter", (swig_wrapper_func) _wrap_CApnCamera_write_ExternalShutter, NULL},
    { SWIG_prefix "CApnCamera_read_FastSequence", (swig_wrapper_func) _wrap_CApnCamera_read_FastSequence, NULL},
    { SWIG_prefix "CApnCamera_write_FastSequence", (swig_wrapper_func) _wrap_CApnCamera_write_FastSequence, NULL},
    { SWIG_prefix "CApnCamera_read_CameraMode", (swig_wrapper_func) _wrap_CApnCamera_read_CameraMode, NULL},
    { SWIG_prefix "CApnCamera_write_CameraMode", (swig_wrapper_func) _wrap_CApnCamera_write_CameraMode, NULL},
    { SWIG_prefix "CApnCamera_read_DataBits", (swig_wrapper_func) _wrap_CApnCamera_read_DataBits, NULL},
    { SWIG_prefix "CApnCamera_write_DataBits", (swig_wrapper_func) _wrap_CApnCamera_write_DataBits, NULL},
    { SWIG_prefix "CApnCamera_read_ImagingStatus", (swig_wrapper_func) _wrap_CApnCamera_read_ImagingStatus, NULL},
    { SWIG_prefix "CApnCamera_read_LedMode", (swig_wrapper_func) _wrap_CApnCamera_read_LedMode, NULL},
    { SWIG_prefix "CApnCamera_write_LedMode", (swig_wrapper_func) _wrap_CApnCamera_write_LedMode, NULL},
    { SWIG_prefix "CApnCamera_read_LedState", (swig_wrapper_func) _wrap_CApnCamera_read_LedState, NULL},
    { SWIG_prefix "CApnCamera_write_LedState", (swig_wrapper_func) _wrap_CApnCamera_write_LedState, NULL},
    { SWIG_prefix "CApnCamera_read_CoolerEnable", (swig_wrapper_func) _wrap_CApnCamera_read_CoolerEnable, NULL},
    { SWIG_prefix "CApnCamera_write_CoolerEnable", (swig_wrapper_func) _wrap_CApnCamera_write_CoolerEnable, NULL},
    { SWIG_prefix "CApnCamera_read_CoolerStatus", (swig_wrapper_func) _wrap_CApnCamera_read_CoolerStatus, NULL},
    { SWIG_prefix "CApnCamera_read_CoolerSetPoint", (swig_wrapper_func) _wrap_CApnCamera_read_CoolerSetPoint, NULL},
    { SWIG_prefix "CApnCamera_write_CoolerSetPoint", (swig_wrapper_func) _wrap_CApnCamera_write_CoolerSetPoint, NULL},
    { SWIG_prefix "CApnCamera_read_CoolerBackoffPoint", (swig_wrapper_func) _wrap_CApnCamera_read_CoolerBackoffPoint, NULL},
    { SWIG_prefix "CApnCamera_write_CoolerBackoffPoint", (swig_wrapper_func) _wrap_CApnCamera_write_CoolerBackoffPoint, NULL},
    { SWIG_prefix "CApnCamera_read_CoolerDrive", (swig_wrapper_func) _wrap_CApnCamera_read_CoolerDrive, NULL},
    { SWIG_prefix "CApnCamera_read_TempCCD", (swig_wrapper_func) _wrap_CApnCamera_read_TempCCD, NULL},
    { SWIG_prefix "CApnCamera_read_TempHeatsink", (swig_wrapper_func) _wrap_CApnCamera_read_TempHeatsink, NULL},
    { SWIG_prefix "CApnCamera_read_FanMode", (swig_wrapper_func) _wrap_CApnCamera_read_FanMode, NULL},
    { SWIG_prefix "CApnCamera_write_FanMode", (swig_wrapper_func) _wrap_CApnCamera_write_FanMode, NULL},
    { SWIG_prefix "CApnCamera_write_FlushBinningV", (swig_wrapper_func) _wrap_CApnCamera_write_FlushBinningV, NULL},
    { SWIG_prefix "CApnCamera_read_FlushBinningV", (swig_wrapper_func) _wrap_CApnCamera_read_FlushBinningV, NULL},
    { SWIG_prefix "CApnCamera_read_MaxBinningH", (swig_wrapper_func) _wrap_CApnCamera_read_MaxBinningH, NULL},
    { SWIG_prefix "CApnCamera_read_MaxBinningV", (swig_wrapper_func) _wrap_CApnCamera_read_MaxBinningV, NULL},
    { SWIG_prefix "CApnCamera_write_RoiBinningH", (swig_wrapper_func) _wrap_CApnCamera_write_RoiBinningH, NULL},
    { SWIG_prefix "CApnCamera_read_RoiBinningH", (swig_wrapper_func) _wrap_CApnCamera_read_RoiBinningH, NULL},
    { SWIG_prefix "CApnCamera_write_RoiBinningV", (swig_wrapper_func) _wrap_CApnCamera_write_RoiBinningV, NULL},
    { SWIG_prefix "CApnCamera_read_RoiBinningV", (swig_wrapper_func) _wrap_CApnCamera_read_RoiBinningV, NULL},
    { SWIG_prefix "CApnCamera_read_RoiPixelsH", (swig_wrapper_func) _wrap_CApnCamera_read_RoiPixelsH, NULL},
    { SWIG_prefix "CApnCamera_write_RoiPixelsH", (swig_wrapper_func) _wrap_CApnCamera_write_RoiPixelsH, NULL},
    { SWIG_prefix "CApnCamera_read_RoiPixelsV", (swig_wrapper_func) _wrap_CApnCamera_read_RoiPixelsV, NULL},
    { SWIG_prefix "CApnCamera_write_RoiPixelsV", (swig_wrapper_func) _wrap_CApnCamera_write_RoiPixelsV, NULL},
    { SWIG_prefix "CApnCamera_read_RoiStartX", (swig_wrapper_func) _wrap_CApnCamera_read_RoiStartX, NULL},
    { SWIG_prefix "CApnCamera_write_RoiStartX", (swig_wrapper_func) _wrap_CApnCamera_write_RoiStartX, NULL},
    { SWIG_prefix "CApnCamera_read_RoiStartY", (swig_wrapper_func) _wrap_CApnCamera_read_RoiStartY, NULL},
    { SWIG_prefix "CApnCamera_write_RoiStartY", (swig_wrapper_func) _wrap_CApnCamera_write_RoiStartY, NULL},
    { SWIG_prefix "CApnCamera_read_DigitizeOverscan", (swig_wrapper_func) _wrap_CApnCamera_read_DigitizeOverscan, NULL},
    { SWIG_prefix "CApnCamera_write_DigitizeOverscan", (swig_wrapper_func) _wrap_CApnCamera_write_DigitizeOverscan, NULL},
    { SWIG_prefix "CApnCamera_read_OverscanColumns", (swig_wrapper_func) _wrap_CApnCamera_read_OverscanColumns, NULL},
    { SWIG_prefix "CApnCamera_read_ShutterStrobePosition", (swig_wrapper_func) _wrap_CApnCamera_read_ShutterStrobePosition, NULL},
    { SWIG_prefix "CApnCamera_write_ShutterStrobePosition", (swig_wrapper_func) _wrap_CApnCamera_write_ShutterStrobePosition, NULL},
    { SWIG_prefix "CApnCamera_read_ShutterStrobePeriod", (swig_wrapper_func) _wrap_CApnCamera_read_ShutterStrobePeriod, NULL},
    { SWIG_prefix "CApnCamera_write_ShutterStrobePeriod", (swig_wrapper_func) _wrap_CApnCamera_write_ShutterStrobePeriod, NULL},
    { SWIG_prefix "CApnCamera_read_ShutterCloseDelay", (swig_wrapper_func) _wrap_CApnCamera_read_ShutterCloseDelay, NULL},
    { SWIG_prefix "CApnCamera_write_ShutterCloseDelay", (swig_wrapper_func) _wrap_CApnCamera_write_ShutterCloseDelay, NULL},
    { SWIG_prefix "CApnCamera_read_SequenceBulkDownload", (swig_wrapper_func) _wrap_CApnCamera_read_SequenceBulkDownload, NULL},
    { SWIG_prefix "CApnCamera_write_SequenceBulkDownload", (swig_wrapper_func) _wrap_CApnCamera_write_SequenceBulkDownload, NULL},
    { SWIG_prefix "CApnCamera_read_SequenceDelay", (swig_wrapper_func) _wrap_CApnCamera_read_SequenceDelay, NULL},
    { SWIG_prefix "CApnCamera_write_SequenceDelay", (swig_wrapper_func) _wrap_CApnCamera_write_SequenceDelay, NULL},
    { SWIG_prefix "CApnCamera_read_VariableSequenceDelay", (swig_wrapper_func) _wrap_CApnCamera_read_VariableSequenceDelay, NULL},
    { SWIG_prefix "CApnCamera_write_VariableSequenceDelay", (swig_wrapper_func) _wrap_CApnCamera_write_VariableSequenceDelay, NULL},
    { SWIG_prefix "CApnCamera_read_ImageCount", (swig_wrapper_func) _wrap_CApnCamera_read_ImageCount, NULL},
    { SWIG_prefix "CApnCamera_write_ImageCount", (swig_wrapper_func) _wrap_CApnCamera_write_ImageCount, NULL},
    { SWIG_prefix "CApnCamera_read_SequenceCounter", (swig_wrapper_func) _wrap_CApnCamera_read_SequenceCounter, NULL},
    { SWIG_prefix "CApnCamera_read_ExposureImageCount", (swig_wrapper_func) _wrap_CApnCamera_read_ExposureImageCount, NULL},
    { SWIG_prefix "CApnCamera_read_ExposureBulkDownload", (swig_wrapper_func) _wrap_CApnCamera_read_ExposureBulkDownload, NULL},
    { SWIG_prefix "CApnCamera_read_ContinuousImaging", (swig_wrapper_func) _wrap_CApnCamera_read_ContinuousImaging, NULL},
    { SWIG_prefix "CApnCamera_write_ContinuousImaging", (swig_wrapper_func) _wrap_CApnCamera_write_ContinuousImaging, NULL},
    { SWIG_prefix "CApnCamera_read_TDICounter", (swig_wrapper_func) _wrap_CApnCamera_read_TDICounter, NULL},
    { SWIG_prefix "CApnCamera_read_TDIRows", (swig_wrapper_func) _wrap_CApnCamera_read_TDIRows, NULL},
    { SWIG_prefix "CApnCamera_write_TDIRows", (swig_wrapper_func) _wrap_CApnCamera_write_TDIRows, NULL},
    { SWIG_prefix "CApnCamera_read_TDIRate", (swig_wrapper_func) _wrap_CApnCamera_read_TDIRate, NULL},
    { SWIG_prefix "CApnCamera_write_TDIRate", (swig_wrapper_func) _wrap_CApnCamera_write_TDIRate, NULL},
    { SWIG_prefix "CApnCamera_read_TDIBinningV", (swig_wrapper_func) _wrap_CApnCamera_read_TDIBinningV, NULL},
    { SWIG_prefix "CApnCamera_write_TDIBinningV", (swig_wrapper_func) _wrap_CApnCamera_write_TDIBinningV, NULL},
    { SWIG_prefix "CApnCamera_read_KineticsSections", (swig_wrapper_func) _wrap_CApnCamera_read_KineticsSections, NULL},
    { SWIG_prefix "CApnCamera_write_KineticsSections", (swig_wrapper_func) _wrap_CApnCamera_write_KineticsSections, NULL},
    { SWIG_prefix "CApnCamera_read_KineticsShiftInterval", (swig_wrapper_func) _wrap_CApnCamera_read_KineticsShiftInterval, NULL},
    { SWIG_prefix "CApnCamera_write_KineticsShiftInterval", (swig_wrapper_func) _wrap_CApnCamera_write_KineticsShiftInterval, NULL},
    { SWIG_prefix "CApnCamera_read_KineticsSectionHeight", (swig_wrapper_func) _wrap_CApnCamera_read_KineticsSectionHeight, NULL},
    { SWIG_prefix "CApnCamera_write_KineticsSectionHeight", (swig_wrapper_func) _wrap_CApnCamera_write_KineticsSectionHeight, NULL},
    { SWIG_prefix "CApnCamera_read_TriggerNormalEach", (swig_wrapper_func) _wrap_CApnCamera_read_TriggerNormalEach, NULL},
    { SWIG_prefix "CApnCamera_write_TriggerNormalEach", (swig_wrapper_func) _wrap_CApnCamera_write_TriggerNormalEach, NULL},
    { SWIG_prefix "CApnCamera_read_TriggerNormalGroup", (swig_wrapper_func) _wrap_CApnCamera_read_TriggerNormalGroup, NULL},
    { SWIG_prefix "CApnCamera_write_TriggerNormalGroup", (swig_wrapper_func) _wrap_CApnCamera_write_TriggerNormalGroup, NULL},
    { SWIG_prefix "CApnCamera_read_TriggerTdiKineticsEach", (swig_wrapper_func) _wrap_CApnCamera_read_TriggerTdiKineticsEach, NULL},
    { SWIG_prefix "CApnCamera_write_TriggerTdiKineticsEach", (swig_wrapper_func) _wrap_CApnCamera_write_TriggerTdiKineticsEach, NULL},
    { SWIG_prefix "CApnCamera_read_TriggerTdiKineticsGroup", (swig_wrapper_func) _wrap_CApnCamera_read_TriggerTdiKineticsGroup, NULL},
    { SWIG_prefix "CApnCamera_write_TriggerTdiKineticsGroup", (swig_wrapper_func) _wrap_CApnCamera_write_TriggerTdiKineticsGroup, NULL},
    { SWIG_prefix "CApnCamera_read_ExposureTriggerEach", (swig_wrapper_func) _wrap_CApnCamera_read_ExposureTriggerEach, NULL},
    { SWIG_prefix "CApnCamera_read_ExposureTriggerGroup", (swig_wrapper_func) _wrap_CApnCamera_read_ExposureTriggerGroup, NULL},
    { SWIG_prefix "CApnCamera_read_ExposureExternalShutter", (swig_wrapper_func) _wrap_CApnCamera_read_ExposureExternalShutter, NULL},
    { SWIG_prefix "CApnCamera_read_PreFlashEnable", (swig_wrapper_func) _wrap_CApnCamera_read_PreFlashEnable, NULL},
    { SWIG_prefix "CApnCamera_write_PreFlashEnable", (swig_wrapper_func) _wrap_CApnCamera_write_PreFlashEnable, NULL},
    { SWIG_prefix "CApnCamera_read_IoPortAssignment", (swig_wrapper_func) _wrap_CApnCamera_read_IoPortAssignment, NULL},
    { SWIG_prefix "CApnCamera_write_IoPortAssignment", (swig_wrapper_func) _wrap_CApnCamera_write_IoPortAssignment, NULL},
    { SWIG_prefix "CApnCamera_read_IoPortBlankingBits", (swig_wrapper_func) _wrap_CApnCamera_read_IoPortBlankingBits, NULL},
    { SWIG_prefix "CApnCamera_write_IoPortBlankingBits", (swig_wrapper_func) _wrap_CApnCamera_write_IoPortBlankingBits, NULL},
    { SWIG_prefix "CApnCamera_read_IoPortDirection", (swig_wrapper_func) _wrap_CApnCamera_read_IoPortDirection, NULL},
    { SWIG_prefix "CApnCamera_write_IoPortDirection", (swig_wrapper_func) _wrap_CApnCamera_write_IoPortDirection, NULL},
    { SWIG_prefix "CApnCamera_read_IoPortData", (swig_wrapper_func) _wrap_CApnCamera_read_IoPortData, NULL},
    { SWIG_prefix "CApnCamera_write_IoPortData", (swig_wrapper_func) _wrap_CApnCamera_write_IoPortData, NULL},
    { SWIG_prefix "CApnCamera_read_TwelveBitGain", (swig_wrapper_func) _wrap_CApnCamera_read_TwelveBitGain, NULL},
    { SWIG_prefix "CApnCamera_write_TwelveBitGain", (swig_wrapper_func) _wrap_CApnCamera_write_TwelveBitGain, NULL},
    { SWIG_prefix "CApnCamera_read_TwelveBitOffset", (swig_wrapper_func) _wrap_CApnCamera_read_TwelveBitOffset, NULL},
    { SWIG_prefix "CApnCamera_write_TwelveBitOffset", (swig_wrapper_func) _wrap_CApnCamera_write_TwelveBitOffset, NULL},
    { SWIG_prefix "CApnCamera_read_InputVoltage", (swig_wrapper_func) _wrap_CApnCamera_read_InputVoltage, NULL},
    { SWIG_prefix "CApnCamera_read_AvailableMemory", (swig_wrapper_func) _wrap_CApnCamera_read_AvailableMemory, NULL},
    { SWIG_prefix "CApnCamera_read_MaxExposureTime", (swig_wrapper_func) _wrap_CApnCamera_read_MaxExposureTime, NULL},
    { SWIG_prefix "CApnCamera_read_NetworkTransferMode", (swig_wrapper_func) _wrap_CApnCamera_read_NetworkTransferMode, NULL},
    { SWIG_prefix "CApnCamera_write_NetworkTransferMode", (swig_wrapper_func) _wrap_CApnCamera_write_NetworkTransferMode, NULL},
    { SWIG_prefix "CApnCamera_read_TestLedBrightness", (swig_wrapper_func) _wrap_CApnCamera_read_TestLedBrightness, NULL},
    { SWIG_prefix "CApnCamera_write_TestLedBrightness", (swig_wrapper_func) _wrap_CApnCamera_write_TestLedBrightness, NULL},
    { SWIG_prefix "CApnCamera_read_PlatformType", (swig_wrapper_func) _wrap_CApnCamera_read_PlatformType, NULL},
    { SWIG_prefix "CApnCamera_read_AscentADGainSixteenLeft", (swig_wrapper_func) _wrap_CApnCamera_read_AscentADGainSixteenLeft, NULL},
    { SWIG_prefix "CApnCamera_read_AscentADGainSixteenRight", (swig_wrapper_func) _wrap_CApnCamera_read_AscentADGainSixteenRight, NULL},
    { SWIG_prefix "CApnCamera_write_AscentADGainSixteen", (swig_wrapper_func) _wrap_CApnCamera_write_AscentADGainSixteen, NULL},
    { SWIG_prefix "CApnCamera_read_AscentADOffsetSixteenLeft", (swig_wrapper_func) _wrap_CApnCamera_read_AscentADOffsetSixteenLeft, NULL},
    { SWIG_prefix "CApnCamera_read_AscentADOffsetSixteenRight", (swig_wrapper_func) _wrap_CApnCamera_read_AscentADOffsetSixteenRight, NULL},
    { SWIG_prefix "CApnCamera_write_AscentADOffsetSixteen", (swig_wrapper_func) _wrap_CApnCamera_write_AscentADOffsetSixteen, NULL},
    { SWIG_prefix "CApnCamera_read_DigitizationSpeed", (swig_wrapper_func) _wrap_CApnCamera_read_DigitizationSpeed, NULL},
    { SWIG_prefix "CApnCamera_write_DigitizationSpeed", (swig_wrapper_func) _wrap_CApnCamera_write_DigitizationSpeed, NULL},
    { SWIG_prefix "CApnCamera_read_DataAveraging", (swig_wrapper_func) _wrap_CApnCamera_read_DataAveraging, NULL},
    { SWIG_prefix "CApnCamera_write_DataAveraging", (swig_wrapper_func) _wrap_CApnCamera_write_DataAveraging, NULL},
    { SWIG_prefix "CApnCamera_read_DualReadout", (swig_wrapper_func) _wrap_CApnCamera_read_DualReadout, NULL},
    { SWIG_prefix "CApnCamera_write_DualReadout", (swig_wrapper_func) _wrap_CApnCamera_write_DualReadout, NULL},
    { SWIG_prefix "CApnCamera_read_ConnectionTest", (swig_wrapper_func) _wrap_CApnCamera_read_ConnectionTest, NULL},
    { SWIG_prefix "CApnCamera_read_GuideActive", (swig_wrapper_func) _wrap_CApnCamera_read_GuideActive, NULL},
    { SWIG_prefix "CApnCamera_read_GuideRAPlusDuration", (swig_wrapper_func) _wrap_CApnCamera_read_GuideRAPlusDuration, NULL},
    { SWIG_prefix "CApnCamera_write_GuideRAPlusDuration", (swig_wrapper_func) _wrap_CApnCamera_write_GuideRAPlusDuration, NULL},
    { SWIG_prefix "CApnCamera_read_GuideRAMinusDuration", (swig_wrapper_func) _wrap_CApnCamera_read_GuideRAMinusDuration, NULL},
    { SWIG_prefix "CApnCamera_write_GuideRAMinusDuration", (swig_wrapper_func) _wrap_CApnCamera_write_GuideRAMinusDuration, NULL},
    { SWIG_prefix "CApnCamera_read_GuideDecPlusDuration", (swig_wrapper_func) _wrap_CApnCamera_read_GuideDecPlusDuration, NULL},
    { SWIG_prefix "CApnCamera_write_GuideDecPlusDuration", (swig_wrapper_func) _wrap_CApnCamera_write_GuideDecPlusDuration, NULL},
    { SWIG_prefix "CApnCamera_read_GuideDecMinusDuration", (swig_wrapper_func) _wrap_CApnCamera_read_GuideDecMinusDuration, NULL},
    { SWIG_prefix "CApnCamera_write_GuideDecMinusDuration", (swig_wrapper_func) _wrap_CApnCamera_write_GuideDecMinusDuration, NULL},
    { SWIG_prefix "CApnCamera_read_BayerStartPosition", (swig_wrapper_func) _wrap_CApnCamera_read_BayerStartPosition, NULL},
    { SWIG_prefix "CApnCamera_write_BayerStartPosition", (swig_wrapper_func) _wrap_CApnCamera_write_BayerStartPosition, NULL},
    { SWIG_prefix "CApnCamera_m_ApnSensorInfo_set", (swig_wrapper_func) _wrap_CApnCamera_m_ApnSensorInfo_set, NULL},
    { SWIG_prefix "CApnCamera_m_ApnSensorInfo_get", (swig_wrapper_func) _wrap_CApnCamera_m_ApnSensorInfo_get, NULL},
    { SWIG_prefix "CApnCamera_LoadVerticalPattern", (swig_wrapper_func) _wrap_CApnCamera_LoadVerticalPattern, NULL},
    { SWIG_prefix "CApnCamera_LoadClampPattern", (swig_wrapper_func) _wrap_CApnCamera_LoadClampPattern, NULL},
    { SWIG_prefix "CApnCamera_LoadSkipPattern", (swig_wrapper_func) _wrap_CApnCamera_LoadSkipPattern, NULL},
    { SWIG_prefix "CApnCamera_LoadRoiPattern", (swig_wrapper_func) _wrap_CApnCamera_LoadRoiPattern, NULL},
    { SWIG_prefix "CApnCamera_WriteHorizontalPattern", (swig_wrapper_func) _wrap_CApnCamera_WriteHorizontalPattern, NULL},
    { SWIG_prefix "CApnCamera_InitTwelveBitAD", (swig_wrapper_func) _wrap_CApnCamera_InitTwelveBitAD, NULL},
    { SWIG_prefix "CApnCamera_InitAscentSixteenBitAD", (swig_wrapper_func) _wrap_CApnCamera_InitAscentSixteenBitAD, NULL},
    { SWIG_prefix "CApnCamera_UpdateGeneralStatus", (swig_wrapper_func) _wrap_CApnCamera_UpdateGeneralStatus, NULL},
    { SWIG_prefix "CApnCamera_LookupAltaCameraId", (swig_wrapper_func) _wrap_CApnCamera_LookupAltaCameraId, NULL},
    { SWIG_prefix "CApnCamera_LookupAscentCameraId", (swig_wrapper_func) _wrap_CApnCamera_LookupAscentCameraId, NULL},
    { SWIG_prefix "CApnCamera_CheckGuiderRelayDuration", (swig_wrapper_func) _wrap_CApnCamera_CheckGuiderRelayDuration, NULL},
    { SWIG_prefix "CApnCamera_CalculateGuiderRelayTimeCounts", (swig_wrapper_func) _wrap_CApnCamera_CalculateGuiderRelayTimeCounts, NULL},
    { SWIG_prefix "CApnCamera_IssueExposeCommand", (swig_wrapper_func) _wrap_CApnCamera_IssueExposeCommand, NULL},
    { SWIG_prefix "CApnCamera_TakeNoDataDarkExposure", (swig_wrapper_func) _wrap_CApnCamera_TakeNoDataDarkExposure, NULL},
    { SWIG_prefix "CApnCamera_PostExposureRestoreParams", (swig_wrapper_func) _wrap_CApnCamera_PostExposureRestoreParams, NULL},
    { SWIG_prefix "CApnCamera_m_pvtPlatformType_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtPlatformType_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtPlatformType_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtPlatformType_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtResetVerticalArrays_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtResetVerticalArrays_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtResetVerticalArrays_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtResetVerticalArrays_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtNewFeatureSupport_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtNewFeatureSupport_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtNewFeatureSupport_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtNewFeatureSupport_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRoiBinningH_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRoiBinningH_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRoiBinningH_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRoiBinningH_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRoiBinningV_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRoiBinningV_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRoiBinningV_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRoiBinningV_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRoiPixelsH_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRoiPixelsH_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRoiPixelsH_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRoiPixelsH_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRoiPixelsV_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRoiPixelsV_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRoiPixelsV_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRoiPixelsV_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRoiStartX_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRoiStartX_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRoiStartX_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRoiStartX_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRoiStartY_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRoiStartY_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRoiStartY_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRoiStartY_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCameraMode_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCameraMode_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCameraMode_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCameraMode_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExternalShutter_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExternalShutter_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExternalShutter_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExternalShutter_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCameraPoweredDown_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCameraPoweredDown_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCameraPoweredDown_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCameraPoweredDown_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtPowerDownCoolerEnable_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtPowerDownCoolerEnable_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtPowerDownCoolerEnable_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtPowerDownCoolerEnable_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtPowerDownFanMode_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtPowerDownFanMode_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtPowerDownFanMode_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtPowerDownFanMode_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtDataBits_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtDataBits_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtDataBits_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtDataBits_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtNetworkTransferMode_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtNetworkTransferMode_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtNetworkTransferMode_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtNetworkTransferMode_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtBayerShift_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtBayerShift_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtBayerShift_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtBayerShift_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtUseAdvancedStatus_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtUseAdvancedStatus_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtUseAdvancedStatus_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtUseAdvancedStatus_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCameraID_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCameraID_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCameraID_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCameraID_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtFirmwareVersion_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtFirmwareVersion_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtFirmwareVersion_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtFirmwareVersion_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtImageCount_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtImageCount_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtImageCount_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtImageCount_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTDIRows_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTDIRows_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTDIRows_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTDIRows_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTDIBinningV_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTDIBinningV_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTDIBinningV_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTDIBinningV_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTDIRate_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTDIRate_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTDIRate_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTDIRate_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTDICounter_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTDICounter_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTDICounter_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTDICounter_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtFlushBinningV_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtFlushBinningV_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtFlushBinningV_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtFlushBinningV_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtDigitizeOverscan_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtDigitizeOverscan_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtDigitizeOverscan_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtDigitizeOverscan_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtSequenceBulkDownload_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtSequenceBulkDownload_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtSequenceBulkDownload_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtSequenceBulkDownload_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtSequenceDelay_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtSequenceDelay_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtSequenceDelay_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtSequenceDelay_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtSequenceCounter_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtSequenceCounter_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtSequenceCounter_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtSequenceCounter_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtFastSequence_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtFastSequence_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtFastSequence_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtFastSequence_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtShutterStrobePosition_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtShutterStrobePosition_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtShutterStrobePosition_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtShutterStrobePosition_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtShutterStrobePeriod_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtShutterStrobePeriod_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtShutterStrobePeriod_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtShutterStrobePeriod_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtShutterCloseDelay_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtShutterCloseDelay_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtShutterCloseDelay_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtShutterCloseDelay_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposureTDIRows_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposureTDIRows_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposureTDIRows_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposureTDIRows_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposurePixelsH_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposurePixelsH_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposurePixelsH_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposurePixelsH_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposurePixelsV_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposurePixelsV_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposurePixelsV_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposurePixelsV_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposureTriggerGroup_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposureTriggerGroup_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposureTriggerGroup_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposureTriggerGroup_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposureTriggerEach_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposureTriggerEach_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposureTriggerEach_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposureTriggerEach_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposureExternalShutter_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposureExternalShutter_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposureExternalShutter_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposureExternalShutter_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposureImageCount_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposureImageCount_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposureImageCount_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposureImageCount_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposureBulkDownload_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposureBulkDownload_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposureBulkDownload_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposureBulkDownload_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtPreFlashEnable_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtPreFlashEnable_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtPreFlashEnable_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtPreFlashEnable_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTwelveBitGain_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTwelveBitGain_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTwelveBitGain_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTwelveBitGain_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTwelveBitOffset_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTwelveBitOffset_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTwelveBitOffset_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTwelveBitOffset_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtAscentSixteenBitGainLeft_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtAscentSixteenBitGainLeft_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtAscentSixteenBitGainLeft_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtAscentSixteenBitGainLeft_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtAscentSixteenBitOffsetLeft_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtAscentSixteenBitOffsetLeft_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtAscentSixteenBitOffsetLeft_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtAscentSixteenBitOffsetLeft_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtAscentSixteenBitGainRight_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtAscentSixteenBitGainRight_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtAscentSixteenBitGainRight_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtAscentSixteenBitGainRight_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtAscentSixteenBitOffsetRight_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtAscentSixteenBitOffsetRight_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtAscentSixteenBitOffsetRight_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtAscentSixteenBitOffsetRight_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtDualReadout_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtDualReadout_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtDualReadout_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtDualReadout_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtLedMode_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtLedMode_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtLedMode_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtLedMode_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtLedStateA_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtLedStateA_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtLedStateA_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtLedStateA_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtLedStateB_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtLedStateB_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtLedStateB_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtLedStateB_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTestLedBrightness_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTestLedBrightness_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTestLedBrightness_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTestLedBrightness_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCoolerEnable_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCoolerEnable_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCoolerEnable_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCoolerEnable_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtFanMode_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtFanMode_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtFanMode_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtFanMode_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCoolerBackoffPoint_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCoolerBackoffPoint_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCoolerBackoffPoint_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCoolerBackoffPoint_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCoolerStatus_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCoolerStatus_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCoolerStatus_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCoolerStatus_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtImagingStatus_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtImagingStatus_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtImagingStatus_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtImagingStatus_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtPrevImagingStatus_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtPrevImagingStatus_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtPrevImagingStatus_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtPrevImagingStatus_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtShutterState_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtShutterState_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtShutterState_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtShutterState_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtImageInProgress_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtImageInProgress_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtImageInProgress_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtImageInProgress_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtImageReady_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtImageReady_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtImageReady_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtImageReady_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTriggerNormalEach_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTriggerNormalEach_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTriggerNormalEach_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTriggerNormalEach_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTriggerNormalGroup_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTriggerNormalGroup_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTriggerNormalGroup_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTriggerNormalGroup_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTriggerTdiKineticsEach_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTriggerTdiKineticsEach_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTriggerTdiKineticsEach_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTriggerTdiKineticsEach_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTriggerTdiKineticsGroup_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTriggerTdiKineticsGroup_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTriggerTdiKineticsGroup_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTriggerTdiKineticsGroup_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtStatusReg_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtStatusReg_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtStatusReg_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtStatusReg_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCoolerDrive_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCoolerDrive_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCoolerDrive_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCoolerDrive_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCurrentHeatsinkTemp_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCurrentHeatsinkTemp_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCurrentHeatsinkTemp_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCurrentHeatsinkTemp_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCurrentCcdTemp_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCurrentCcdTemp_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCurrentCcdTemp_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCurrentCcdTemp_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtInputVoltage_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtInputVoltage_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtInputVoltage_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtInputVoltage_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtIoPortDirection_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtIoPortDirection_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtIoPortDirection_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtIoPortDirection_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtIoPortAssignment_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtIoPortAssignment_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtIoPortAssignment_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtIoPortAssignment_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtIoPortBlankingBits_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtIoPortBlankingBits_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtIoPortBlankingBits_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtIoPortBlankingBits_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtQueryStatusRetVal_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtQueryStatusRetVal_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtQueryStatusRetVal_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtQueryStatusRetVal_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtMostRecentFrame_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtMostRecentFrame_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtMostRecentFrame_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtMostRecentFrame_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtReadyFrame_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtReadyFrame_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtReadyFrame_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtReadyFrame_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCurrentFrame_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCurrentFrame_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtCurrentFrame_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtCurrentFrame_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtGuideRAPlusDuration_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtGuideRAPlusDuration_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtGuideRAPlusDuration_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtGuideRAPlusDuration_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtGuideRAMinusDuration_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtGuideRAMinusDuration_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtGuideRAMinusDuration_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtGuideRAMinusDuration_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtGuideDecPlusDuration_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtGuideDecPlusDuration_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtGuideDecPlusDuration_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtGuideDecPlusDuration_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtGuideDecMinusDuration_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtGuideDecMinusDuration_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtGuideDecMinusDuration_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtGuideDecMinusDuration_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtFilterWheelType_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtFilterWheelType_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtFilterWheelType_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtFilterWheelType_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtFilterMaxPositions_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtFilterMaxPositions_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtFilterMaxPositions_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtFilterMaxPositions_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRestoreTdiRowCount_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRestoreTdiRowCount_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRestoreTdiRowCount_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRestoreTdiRowCount_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRestoreShutterControl_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRestoreShutterControl_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtRestoreShutterControl_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtRestoreShutterControl_get, NULL},
    { SWIG_prefix "CApnCamera_SetPlatformConstants", (swig_wrapper_func) _wrap_CApnCamera_SetPlatformConstants, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformHBinningMax_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformHBinningMax_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformHBinningMax_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformHBinningMax_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformVBinningMax_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformVBinningMax_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformVBinningMax_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformVBinningMax_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTimerResolution_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTimerResolution_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTimerResolution_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTimerResolution_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformPeriodTimerResolution_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformPeriodTimerResolution_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformPeriodTimerResolution_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformPeriodTimerResolution_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTimerOffsetCount_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTimerOffsetCount_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTimerOffsetCount_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTimerOffsetCount_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformSequenceDelayResolution_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformSequenceDelayResolution_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformSequenceDelayResolution_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformSequenceDelayResolution_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformSequenceDelayMaximum_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformSequenceDelayMaximum_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformSequenceDelayMaximum_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformSequenceDelayMaximum_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformSequenceDelayMinimum_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformSequenceDelayMinimum_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformSequenceDelayMinimum_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformSequenceDelayMinimum_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformExposureTimeMin_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformExposureTimeMin_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformExposureTimeMin_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformExposureTimeMin_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformExposureTimeMax_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformExposureTimeMax_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformExposureTimeMax_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformExposureTimeMax_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTdiRateResolution_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTdiRateResolution_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTdiRateResolution_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTdiRateResolution_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTdiRateMin_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTdiRateMin_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTdiRateMin_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTdiRateMin_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTdiRateMax_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTdiRateMax_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTdiRateMax_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTdiRateMax_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTdiRateDefault_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTdiRateDefault_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTdiRateDefault_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTdiRateDefault_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformVoltageResolution_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformVoltageResolution_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformVoltageResolution_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformVoltageResolution_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformShutterCloseDiff_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformShutterCloseDiff_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformShutterCloseDiff_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformShutterCloseDiff_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformStrobePositionMin_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformStrobePositionMin_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformStrobePositionMin_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformStrobePositionMin_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformStrobePositionMax_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformStrobePositionMax_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformStrobePositionMax_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformStrobePositionMax_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformStrobePositionDefault_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformStrobePositionDefault_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformStrobePositionDefault_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformStrobePositionDefault_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformStrobePeriodMin_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformStrobePeriodMin_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformStrobePeriodMin_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformStrobePeriodMin_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformStrobePeriodMax_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformStrobePeriodMax_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformStrobePeriodMax_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformStrobePeriodMax_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformStrobePeriodDefault_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformStrobePeriodDefault_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformStrobePeriodDefault_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformStrobePeriodDefault_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempCounts_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempCounts_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempCounts_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempCounts_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempKelvinScaleOffset_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempKelvinScaleOffset_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempKelvinScaleOffset_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempKelvinScaleOffset_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempSetpointMin_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempSetpointMin_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempSetpointMin_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempSetpointMin_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempSetpointMax_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempSetpointMax_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempSetpointMax_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempSetpointMax_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempHeatsinkMin_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempHeatsinkMin_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempHeatsinkMin_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempHeatsinkMin_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempHeatsinkMax_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempHeatsinkMax_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempHeatsinkMax_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempHeatsinkMax_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempSetpointZeroPoint_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempSetpointZeroPoint_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempSetpointZeroPoint_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempSetpointZeroPoint_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempHeatsinkZeroPoint_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempHeatsinkZeroPoint_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempHeatsinkZeroPoint_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempHeatsinkZeroPoint_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempDegreesPerBit_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempDegreesPerBit_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempDegreesPerBit_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempDegreesPerBit_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformFanSpeedOff_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformFanSpeedOff_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformFanSpeedOff_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformFanSpeedOff_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformFanSpeedLow_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformFanSpeedLow_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformFanSpeedLow_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformFanSpeedLow_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformFanSpeedMedium_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformFanSpeedMedium_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformFanSpeedMedium_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformFanSpeedMedium_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformFanSpeedHigh_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformFanSpeedHigh_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformFanSpeedHigh_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformFanSpeedHigh_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformGuiderRelayResolution_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformGuiderRelayResolution_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformGuiderRelayResolution_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformGuiderRelayResolution_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformGuiderRelayMin_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformGuiderRelayMin_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformGuiderRelayMin_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformGuiderRelayMin_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformGuiderRelayMax_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformGuiderRelayMax_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformGuiderRelayMax_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformGuiderRelayMax_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformGuiderRelayOpenTime_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformGuiderRelayOpenTime_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformGuiderRelayOpenTime_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformGuiderRelayOpenTime_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformGuiderRelayCloseTime_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformGuiderRelayCloseTime_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformGuiderRelayCloseTime_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformGuiderRelayCloseTime_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformPreflashDuration_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformPreflashDuration_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformPreflashDuration_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformPreflashDuration_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtConnectionOpen_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtConnectionOpen_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtConnectionOpen_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtConnectionOpen_get, NULL},
    { SWIG_prefix "CApnCamera_m_SysDeviceName_set", (swig_wrapper_func) _wrap_CApnCamera_m_SysDeviceName_set, NULL},
    { SWIG_prefix "CApnCamera_m_SysDeviceName_get", (swig_wrapper_func) _wrap_CApnCamera_m_SysDeviceName_get, NULL},
    { SWIG_prefix "CApnCamera_m_CamIdA_set", (swig_wrapper_func) _wrap_CApnCamera_m_CamIdA_set, NULL},
    { SWIG_prefix "CApnCamera_m_CamIdA_get", (swig_wrapper_func) _wrap_CApnCamera_m_CamIdA_get, NULL},
    { SWIG_prefix "CApnCamera_m_CamIdB_set", (swig_wrapper_func) _wrap_CApnCamera_m_CamIdB_set, NULL},
    { SWIG_prefix "CApnCamera_m_CamIdB_get", (swig_wrapper_func) _wrap_CApnCamera_m_CamIdB_get, NULL},
    { SWIG_prefix "CApnCamera_m_Option_set", (swig_wrapper_func) _wrap_CApnCamera_m_Option_set, NULL},
    { SWIG_prefix "CApnCamera_m_Option_get", (swig_wrapper_func) _wrap_CApnCamera_m_Option_get, NULL},
    { SWIG_prefix "CApnCamera_m_SysImgSizeBytes_set", (swig_wrapper_func) _wrap_CApnCamera_m_SysImgSizeBytes_set, NULL},
    { SWIG_prefix "CApnCamera_m_SysImgSizeBytes_get", (swig_wrapper_func) _wrap_CApnCamera_m_SysImgSizeBytes_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtVendorId_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtVendorId_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtVendorId_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtVendorId_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtProductId_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtProductId_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtProductId_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtProductId_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtDeviceId_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtDeviceId_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtDeviceId_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtDeviceId_get, NULL},
    { SWIG_prefix "CApnCamera_m_SysDriverVersion_set", (swig_wrapper_func) _wrap_CApnCamera_m_SysDriverVersion_set, NULL},
    { SWIG_prefix "CApnCamera_m_SysDriverVersion_get", (swig_wrapper_func) _wrap_CApnCamera_m_SysDriverVersion_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtSequenceImagesDownloaded_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtSequenceImagesDownloaded_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtSequenceImagesDownloaded_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtSequenceImagesDownloaded_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtNumImages_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtNumImages_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtNumImages_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtNumImages_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTdiLinesDownloaded_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTdiLinesDownloaded_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtTdiLinesDownloaded_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtTdiLinesDownloaded_get, NULL},
    { SWIG_prefix "CApnCamera_m_HostAddr_set", (swig_wrapper_func) _wrap_CApnCamera_m_HostAddr_set, NULL},
    { SWIG_prefix "CApnCamera_m_HostAddr_get", (swig_wrapper_func) _wrap_CApnCamera_m_HostAddr_get, NULL},
    { SWIG_prefix "CApnCamera_m_ImageSizeBytes_set", (swig_wrapper_func) _wrap_CApnCamera_m_ImageSizeBytes_set, NULL},
    { SWIG_prefix "CApnCamera_m_ImageSizeBytes_get", (swig_wrapper_func) _wrap_CApnCamera_m_ImageSizeBytes_get, NULL},
    { SWIG_prefix "CApnCamera_m_ImageInProgress_set", (swig_wrapper_func) _wrap_CApnCamera_m_ImageInProgress_set, NULL},
    { SWIG_prefix "CApnCamera_m_ImageInProgress_get", (swig_wrapper_func) _wrap_CApnCamera_m_ImageInProgress_get, NULL},
    { SWIG_prefix "CApnCamera_m_FastDownload_set", (swig_wrapper_func) _wrap_CApnCamera_m_FastDownload_set, NULL},
    { SWIG_prefix "CApnCamera_m_FastDownload_get", (swig_wrapper_func) _wrap_CApnCamera_m_FastDownload_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeWidth_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeWidth_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeWidth_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeWidth_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeHeight_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeHeight_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeHeight_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeHeight_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeExternalShutter_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeExternalShutter_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeExternalShutter_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeExternalShutter_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeCameraMode_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeCameraMode_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeCameraMode_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeCameraMode_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeSequenceBulkDownload_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeSequenceBulkDownload_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeSequenceBulkDownload_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeSequenceBulkDownload_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeCI_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeCI_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeCI_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeCI_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeHBinning_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeHBinning_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeHBinning_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeHBinning_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeBitsPerPixel_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeBitsPerPixel_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeBitsPerPixel_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeBitsPerPixel_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtBitsPerPixel_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtBitsPerPixel_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtBitsPerPixel_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtBitsPerPixel_get, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeDualReadout_set", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeDualReadout_set, NULL},
    { SWIG_prefix "CApnCamera_m_pvtExposeDualReadout_get", (swig_wrapper_func) _wrap_CApnCamera_m_pvtExposeDualReadout_get, NULL},
    { SWIG_prefix "CApnCamera_m_cameraNumber_set", (swig_wrapper_func) _wrap_CApnCamera_m_cameraNumber_set, NULL},
    { SWIG_prefix "CApnCamera_m_cameraNumber_get", (swig_wrapper_func) _wrap_CApnCamera_m_cameraNumber_get, NULL},
    { SWIG_prefix "CApnCamera_sensorInfo", (swig_wrapper_func) _wrap_CApnCamera_sensorInfo, NULL},
    { SWIG_prefix "CApnCamera_m_Sensor_set", (swig_wrapper_func) _wrap_CApnCamera_m_Sensor_set, NULL},
    { SWIG_prefix "CApnCamera_m_Sensor_get", (swig_wrapper_func) _wrap_CApnCamera_m_Sensor_get, NULL},
    { SWIG_prefix "CApnCamera_m_CameraModel_set", (swig_wrapper_func) _wrap_CApnCamera_m_CameraModel_set, NULL},
    { SWIG_prefix "CApnCamera_m_CameraModel_get", (swig_wrapper_func) _wrap_CApnCamera_m_CameraModel_get, NULL},
    { SWIG_prefix "CApnCamera_m_CameraId_set", (swig_wrapper_func) _wrap_CApnCamera_m_CameraId_set, NULL},
    { SWIG_prefix "CApnCamera_m_CameraId_get", (swig_wrapper_func) _wrap_CApnCamera_m_CameraId_get, NULL},
    { SWIG_prefix "CApnCamera_m_InterlineCCD_set", (swig_wrapper_func) _wrap_CApnCamera_m_InterlineCCD_set, NULL},
    { SWIG_prefix "CApnCamera_m_InterlineCCD_get", (swig_wrapper_func) _wrap_CApnCamera_m_InterlineCCD_get, NULL},
    { SWIG_prefix "CApnCamera_m_SupportsSerialA_set", (swig_wrapper_func) _wrap_CApnCamera_m_SupportsSerialA_set, NULL},
    { SWIG_prefix "CApnCamera_m_SupportsSerialA_get", (swig_wrapper_func) _wrap_CApnCamera_m_SupportsSerialA_get, NULL},
    { SWIG_prefix "CApnCamera_m_SupportsSerialB_set", (swig_wrapper_func) _wrap_CApnCamera_m_SupportsSerialB_set, NULL},
    { SWIG_prefix "CApnCamera_m_SupportsSerialB_get", (swig_wrapper_func) _wrap_CApnCamera_m_SupportsSerialB_get, NULL},
    { SWIG_prefix "CApnCamera_m_SensorTypeCCD_set", (swig_wrapper_func) _wrap_CApnCamera_m_SensorTypeCCD_set, NULL},
    { SWIG_prefix "CApnCamera_m_SensorTypeCCD_get", (swig_wrapper_func) _wrap_CApnCamera_m_SensorTypeCCD_get, NULL},
    { SWIG_prefix "CApnCamera_m_TotalColumns_set", (swig_wrapper_func) _wrap_CApnCamera_m_TotalColumns_set, NULL},
    { SWIG_prefix "CApnCamera_m_TotalColumns_get", (swig_wrapper_func) _wrap_CApnCamera_m_TotalColumns_get, NULL},
    { SWIG_prefix "CApnCamera_m_ImagingColumns_set", (swig_wrapper_func) _wrap_CApnCamera_m_ImagingColumns_set, NULL},
    { SWIG_prefix "CApnCamera_m_ImagingColumns_get", (swig_wrapper_func) _wrap_CApnCamera_m_ImagingColumns_get, NULL},
    { SWIG_prefix "CApnCamera_m_ClampColumns_set", (swig_wrapper_func) _wrap_CApnCamera_m_ClampColumns_set, NULL},
    { SWIG_prefix "CApnCamera_m_ClampColumns_get", (swig_wrapper_func) _wrap_CApnCamera_m_ClampColumns_get, NULL},
    { SWIG_prefix "CApnCamera_m_PreRoiSkipColumns_set", (swig_wrapper_func) _wrap_CApnCamera_m_PreRoiSkipColumns_set, NULL},
    { SWIG_prefix "CApnCamera_m_PreRoiSkipColumns_get", (swig_wrapper_func) _wrap_CApnCamera_m_PreRoiSkipColumns_get, NULL},
    { SWIG_prefix "CApnCamera_m_PostRoiSkipColumns_set", (swig_wrapper_func) _wrap_CApnCamera_m_PostRoiSkipColumns_set, NULL},
    { SWIG_prefix "CApnCamera_m_PostRoiSkipColumns_get", (swig_wrapper_func) _wrap_CApnCamera_m_PostRoiSkipColumns_get, NULL},
    { SWIG_prefix "CApnCamera_m_OverscanColumns_set", (swig_wrapper_func) _wrap_CApnCamera_m_OverscanColumns_set, NULL},
    { SWIG_prefix "CApnCamera_m_OverscanColumns_get", (swig_wrapper_func) _wrap_CApnCamera_m_OverscanColumns_get, NULL},
    { SWIG_prefix "CApnCamera_m_TotalRows_set", (swig_wrapper_func) _wrap_CApnCamera_m_TotalRows_set, NULL},
    { SWIG_prefix "CApnCamera_m_TotalRows_get", (swig_wrapper_func) _wrap_CApnCamera_m_TotalRows_get, NULL},
    { SWIG_prefix "CApnCamera_m_ImagingRows_set", (swig_wrapper_func) _wrap_CApnCamera_m_ImagingRows_set, NULL},
    { SWIG_prefix "CApnCamera_m_ImagingRows_get", (swig_wrapper_func) _wrap_CApnCamera_m_ImagingRows_get, NULL},
    { SWIG_prefix "CApnCamera_m_UnderscanRows_set", (swig_wrapper_func) _wrap_CApnCamera_m_UnderscanRows_set, NULL},
    { SWIG_prefix "CApnCamera_m_UnderscanRows_get", (swig_wrapper_func) _wrap_CApnCamera_m_UnderscanRows_get, NULL},
    { SWIG_prefix "CApnCamera_m_OverscanRows_set", (swig_wrapper_func) _wrap_CApnCamera_m_OverscanRows_set, NULL},
    { SWIG_prefix "CApnCamera_m_OverscanRows_get", (swig_wrapper_func) _wrap_CApnCamera_m_OverscanRows_get, NULL},
    { SWIG_prefix "CApnCamera_m_VFlushBinning_set", (swig_wrapper_func) _wrap_CApnCamera_m_VFlushBinning_set, NULL},
    { SWIG_prefix "CApnCamera_m_VFlushBinning_get", (swig_wrapper_func) _wrap_CApnCamera_m_VFlushBinning_get, NULL},
    { SWIG_prefix "CApnCamera_m_HFlushDisable_set", (swig_wrapper_func) _wrap_CApnCamera_m_HFlushDisable_set, NULL},
    { SWIG_prefix "CApnCamera_m_HFlushDisable_get", (swig_wrapper_func) _wrap_CApnCamera_m_HFlushDisable_get, NULL},
    { SWIG_prefix "CApnCamera_m_ShutterCloseDelay_set", (swig_wrapper_func) _wrap_CApnCamera_m_ShutterCloseDelay_set, NULL},
    { SWIG_prefix "CApnCamera_m_ShutterCloseDelay_get", (swig_wrapper_func) _wrap_CApnCamera_m_ShutterCloseDelay_get, NULL},
    { SWIG_prefix "CApnCamera_m_PixelSizeX_set", (swig_wrapper_func) _wrap_CApnCamera_m_PixelSizeX_set, NULL},
    { SWIG_prefix "CApnCamera_m_PixelSizeX_get", (swig_wrapper_func) _wrap_CApnCamera_m_PixelSizeX_get, NULL},
    { SWIG_prefix "CApnCamera_m_PixelSizeY_set", (swig_wrapper_func) _wrap_CApnCamera_m_PixelSizeY_set, NULL},
    { SWIG_prefix "CApnCamera_m_PixelSizeY_get", (swig_wrapper_func) _wrap_CApnCamera_m_PixelSizeY_get, NULL},
    { SWIG_prefix "CApnCamera_m_Color_set", (swig_wrapper_func) _wrap_CApnCamera_m_Color_set, NULL},
    { SWIG_prefix "CApnCamera_m_Color_get", (swig_wrapper_func) _wrap_CApnCamera_m_Color_get, NULL},
    { SWIG_prefix "CApnCamera_m_MinSuggestedExpTime_set", (swig_wrapper_func) _wrap_CApnCamera_m_MinSuggestedExpTime_set, NULL},
    { SWIG_prefix "CApnCamera_m_MinSuggestedExpTime_get", (swig_wrapper_func) _wrap_CApnCamera_m_MinSuggestedExpTime_get, NULL},
    { SWIG_prefix "CApnCamera_m_TempRampRateOne_set", (swig_wrapper_func) _wrap_CApnCamera_m_TempRampRateOne_set, NULL},
    { SWIG_prefix "CApnCamera_m_TempRampRateOne_get", (swig_wrapper_func) _wrap_CApnCamera_m_TempRampRateOne_get, NULL},
    { SWIG_prefix "CApnCamera_m_TempRampRateTwo_set", (swig_wrapper_func) _wrap_CApnCamera_m_TempRampRateTwo_set, NULL},
    { SWIG_prefix "CApnCamera_m_TempRampRateTwo_get", (swig_wrapper_func) _wrap_CApnCamera_m_TempRampRateTwo_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempSetpointSlope_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempSetpointSlope_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempSetpointSlope_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempSetpointSlope_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempSetpointIntercept_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempSetpointIntercept_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempSetpointIntercept_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempSetpointIntercept_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempBackoffMin_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempBackoffMin_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempBackoffMin_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempBackoffMin_get, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempBackoffMax_set", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempBackoffMax_set, NULL},
    { SWIG_prefix "CApnCamera_m_PlatformTempBackoffMax_get", (swig_wrapper_func) _wrap_CApnCamera_m_PlatformTempBackoffMax_get, NULL},
    { SWIG_prefix "CApnCamera", (swig_wrapper_func) SWIG_ObjectConstructor, (ClientData)&_wrap_class_CApnCamera},
    {0, 0, 0}
};

static swig_var_info swig_variables[] = {
    {0,0,0,0}
};

static swig_const_info swig_constants[] = {
    {0,0,0,0,0,0}
};

/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */

static void *_p_ushortArrayTo_p_unsigned_short(void *x) {
    return (void *)((unsigned short *)  ((ushortArray *) x));
}
static swig_type_info _swigt__p_APN_HPATTERN_FILE = {"_p_APN_HPATTERN_FILE", "APN_HPATTERN_FILE *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Apn_BayerShift = {"_p_Apn_BayerShift", "Apn_BayerShift *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Apn_CameraMode = {"_p_Apn_CameraMode", "Apn_CameraMode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Apn_CoolerStatus = {"_p_Apn_CoolerStatus", "Apn_CoolerStatus *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Apn_FanMode = {"_p_Apn_FanMode", "Apn_FanMode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Apn_Filter = {"_p_Apn_Filter", "Apn_Filter *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Apn_LedMode = {"_p_Apn_LedMode", "Apn_LedMode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Apn_LedState = {"_p_Apn_LedState", "Apn_LedState *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Apn_NetworkMode = {"_p_Apn_NetworkMode", "Apn_NetworkMode *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Apn_Platform = {"_p_Apn_Platform", "Apn_Platform *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Apn_Resolution = {"_p_Apn_Resolution", "Apn_Resolution *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_Apn_Status = {"_p_Apn_Status", "Apn_Status *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CApnCamData = {"_p_CApnCamData", "CApnCamData *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_CApnCamera = {"_p_CApnCamera", "CApnCamera *", 0, 0, (void*)&_wrap_class_CApnCamera, 0};
static swig_type_info _swigt__p__FEATURE_SUPPORT_LIST = {"_p__FEATURE_SUPPORT_LIST", "_FEATURE_SUPPORT_LIST *|FEATURE_SUPPORT_LIST *", 0, 0, (void*)&_wrap_class_FEATURE_SUPPORT_LIST, 0};
static swig_type_info _swigt__p__INTEL_HEX_RECORD = {"_p__INTEL_HEX_RECORD", "PINTEL_HEX_RECORD|_INTEL_HEX_RECORD *|INTEL_HEX_RECORD *", 0, 0, (void*)&_wrap_class_INTEL_HEX_RECORD, 0};
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_ushortArray = {"_p_ushortArray", "ushortArray *", 0, 0, (void*)&_wrap_class_ushortArray, 0};

static swig_type_info *swig_type_initial[] = {
  &_swigt__p_APN_HPATTERN_FILE,
  &_swigt__p_Apn_BayerShift,
  &_swigt__p_Apn_CameraMode,
  &_swigt__p_Apn_CoolerStatus,
  &_swigt__p_Apn_FanMode,
  &_swigt__p_Apn_Filter,
  &_swigt__p_Apn_LedMode,
  &_swigt__p_Apn_LedState,
  &_swigt__p_Apn_NetworkMode,
  &_swigt__p_Apn_Platform,
  &_swigt__p_Apn_Resolution,
  &_swigt__p_Apn_Status,
  &_swigt__p_CApnCamData,
  &_swigt__p_CApnCamera,
  &_swigt__p__FEATURE_SUPPORT_LIST,
  &_swigt__p__INTEL_HEX_RECORD,
  &_swigt__p_char,
  &_swigt__p_long,
  &_swigt__p_unsigned_char,
  &_swigt__p_unsigned_long,
  &_swigt__p_unsigned_short,
  &_swigt__p_ushortArray,
};

static swig_cast_info _swigc__p_APN_HPATTERN_FILE[] = {  {&_swigt__p_APN_HPATTERN_FILE, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Apn_BayerShift[] = {  {&_swigt__p_Apn_BayerShift, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Apn_CameraMode[] = {  {&_swigt__p_Apn_CameraMode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Apn_CoolerStatus[] = {  {&_swigt__p_Apn_CoolerStatus, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Apn_FanMode[] = {  {&_swigt__p_Apn_FanMode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Apn_Filter[] = {  {&_swigt__p_Apn_Filter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Apn_LedMode[] = {  {&_swigt__p_Apn_LedMode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Apn_LedState[] = {  {&_swigt__p_Apn_LedState, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Apn_NetworkMode[] = {  {&_swigt__p_Apn_NetworkMode, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Apn_Platform[] = {  {&_swigt__p_Apn_Platform, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Apn_Resolution[] = {  {&_swigt__p_Apn_Resolution, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_Apn_Status[] = {  {&_swigt__p_Apn_Status, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CApnCamData[] = {  {&_swigt__p_CApnCamData, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_CApnCamera[] = {  {&_swigt__p_CApnCamera, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__FEATURE_SUPPORT_LIST[] = {  {&_swigt__p__FEATURE_SUPPORT_LIST, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__INTEL_HEX_RECORD[] = {  {&_swigt__p__INTEL_HEX_RECORD, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_long[] = {  {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_char[] = {  {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_long[] = {  {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_short[] = {  {&_swigt__p_ushortArray, _p_ushortArrayTo_p_unsigned_short, 0, 0},  {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_ushortArray[] = {  {&_swigt__p_ushortArray, 0, 0, 0},{0, 0, 0, 0}};

static swig_cast_info *swig_cast_initial[] = {
  _swigc__p_APN_HPATTERN_FILE,
  _swigc__p_Apn_BayerShift,
  _swigc__p_Apn_CameraMode,
  _swigc__p_Apn_CoolerStatus,
  _swigc__p_Apn_FanMode,
  _swigc__p_Apn_Filter,
  _swigc__p_Apn_LedMode,
  _swigc__p_Apn_LedState,
  _swigc__p_Apn_NetworkMode,
  _swigc__p_Apn_Platform,
  _swigc__p_Apn_Resolution,
  _swigc__p_Apn_Status,
  _swigc__p_CApnCamData,
  _swigc__p_CApnCamera,
  _swigc__p__FEATURE_SUPPORT_LIST,
  _swigc__p__INTEL_HEX_RECORD,
  _swigc__p_char,
  _swigc__p_long,
  _swigc__p_unsigned_char,
  _swigc__p_unsigned_long,
  _swigc__p_unsigned_short,
  _swigc__p_ushortArray,
};


/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */

#ifdef __cplusplus
}
#endif
/* -----------------------------------------------------------------------------
 * Type initialization:
 * This problem is tough by the requirement that no dynamic 
 * memory is used. Also, since swig_type_info structures store pointers to 
 * swig_cast_info structures and swig_cast_info structures store pointers back
 * to swig_type_info structures, we need some lookup code at initialization. 
 * The idea is that swig generates all the structures that are needed. 
 * The runtime then collects these partially filled structures. 
 * The SWIG_InitializeModule function takes these initial arrays out of 
 * swig_module, and does all the lookup, filling in the swig_module.types
 * array with the correct data and linking the correct swig_cast_info
 * structures together.
 *
 * The generated swig_type_info structures are assigned staticly to an initial 
 * array. We just loop through that array, and handle each type individually.
 * First we lookup if this type has been already loaded, and if so, use the
 * loaded structure instead of the generated one. Then we have to fill in the
 * cast linked list. The cast data is initially stored in something like a
 * two-dimensional array. Each row corresponds to a type (there are the same
 * number of rows as there are in the swig_type_initial array). Each entry in
 * a column is one of the swig_cast_info structures for that type.
 * The cast_initial array is actually an array of arrays, because each row has
 * a variable number of columns. So to actually build the cast linked list,
 * we find the array of casts associated with the type, and loop through it 
 * adding the casts to the list. The one last trick we need to do is making
 * sure the type pointer in the swig_cast_info struct is correct.
 *
 * First off, we lookup the cast->type name to see if it is already loaded. 
 * There are three cases to handle:
 *  1) If the cast->type has already been loaded AND the type we are adding
 *     casting info to has not been loaded (it is in this module), THEN we
 *     replace the cast->type pointer with the type pointer that has already
 *     been loaded.
 *  2) If BOTH types (the one we are adding casting info to, and the 
 *     cast->type) are loaded, THEN the cast info has already been loaded by
 *     the previous module so we just ignore it.
 *  3) Finally, if cast->type has not already been loaded, then we add that
 *     swig_cast_info to the linked list (because the cast->type) pointer will
 *     be correct.
 * ----------------------------------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#if 0
} /* c-mode */
#endif
#endif

#if 0
#define SWIGRUNTIME_DEBUG
#endif


SWIGRUNTIME void
SWIG_InitializeModule(void *clientdata) {
  size_t i;
  swig_module_info *module_head, *iter;
  int found;
  
  clientdata = clientdata;
  
  /* check to see if the circular list has been setup, if not, set it up */
  if (swig_module.next==0) {
    /* Initialize the swig_module */
    swig_module.type_initial = swig_type_initial;
    swig_module.cast_initial = swig_cast_initial;
    swig_module.next = &swig_module;
  }
  
  /* Try and load any already created modules */
  module_head = SWIG_GetModule(clientdata);
  if (!module_head) {
    /* This is the first module loaded for this interpreter */
    /* so set the swig module into the interpreter */
    SWIG_SetModule(clientdata, &swig_module);
    module_head = &swig_module;
  } else {
    /* the interpreter has loaded a SWIG module, but has it loaded this one? */
    found=0;
    iter=module_head;
    do {
      if (iter==&swig_module) {
        found=1;
        break;
      }
      iter=iter->next;
    } while (iter!= module_head);
    
    /* if the is found in the list, then all is done and we may leave */
    if (found) return;
    /* otherwise we must add out module into the list */
    swig_module.next = module_head->next;
    module_head->next = &swig_module;
  }
  
  /* Now work on filling in swig_module.types */
#ifdef SWIGRUNTIME_DEBUG
  printf("SWIG_InitializeModule: size %d\n", swig_module.size);
#endif
  for (i = 0; i < swig_module.size; ++i) {
    swig_type_info *type = 0;
    swig_type_info *ret;
    swig_cast_info *cast;
    
#ifdef SWIGRUNTIME_DEBUG
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
#endif
    
    /* if there is another module already loaded */
    if (swig_module.next != &swig_module) {
      type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
    }
    if (type) {
      /* Overwrite clientdata field */
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: found type %s\n", type->name);
#endif
      if (swig_module.type_initial[i]->clientdata) {
        type->clientdata = swig_module.type_initial[i]->clientdata;
#ifdef SWIGRUNTIME_DEBUG
        printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
#endif
      }
    } else {
      type = swig_module.type_initial[i];
    }
    
    /* Insert casting types */
    cast = swig_module.cast_initial[i];
    while (cast->type) {
      /* Don't need to add information already in the list */
      ret = 0;
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
#endif
      if (swig_module.next != &swig_module) {
        ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
#ifdef SWIGRUNTIME_DEBUG
        if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
#endif
      }
      if (ret) {
        if (type == swig_module.type_initial[i]) {
#ifdef SWIGRUNTIME_DEBUG
          printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
#endif
          cast->type = ret;
          ret = 0;
        } else {
          /* Check for casting already in the list */
          swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
#ifdef SWIGRUNTIME_DEBUG
          if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
#endif
          if (!ocast) ret = 0;
        }
      }
      
      if (!ret) {
#ifdef SWIGRUNTIME_DEBUG
        printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
#endif
        if (type->cast) {
          type->cast->prev = cast;
          cast->next = type->cast;
        }
        type->cast = cast;
      }
      cast++;
    }
    /* Set entry in modules->types array equal to the type */
    swig_module.types[i] = type;
  }
  swig_module.types[i] = 0;
  
#ifdef SWIGRUNTIME_DEBUG
  printf("**** SWIG_InitializeModule: Cast List ******\n");
  for (i = 0; i < swig_module.size; ++i) {
    int j = 0;
    swig_cast_info *cast = swig_module.cast_initial[i];
    printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
    while (cast->type) {
      printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
      cast++;
      ++j;
    }
    printf("---- Total casts: %d\n",j);
  }
  printf("**** SWIG_InitializeModule: Cast List ******\n");
#endif
}

/* This function will propagate the clientdata field of type to
* any new swig_type_info structures that have been added into the list
* of equivalent types.  It is like calling
* SWIG_TypeClientData(type, clientdata) a second time.
*/
SWIGRUNTIME void
SWIG_PropagateClientData(void) {
  size_t i;
  swig_cast_info *equiv;
  static int init_run = 0;
  
  if (init_run) return;
  init_run = 1;
  
  for (i = 0; i < swig_module.size; i++) {
    if (swig_module.types[i]->clientdata) {
      equiv = swig_module.types[i]->cast;
      while (equiv) {
        if (!equiv->converter) {
          if (equiv->type && !equiv->type->clientdata)
          SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
        }
        equiv = equiv->next;
      }
    }
  }
}

#ifdef __cplusplus
#if 0
{
  /* c-mode */
#endif
}
#endif


#ifdef __cplusplus
extern "C" {
#endif
  
  /* -----------------------------------------------------------------------------
   * constants/methods manipulation
   * ----------------------------------------------------------------------------- */
  
  /* Install Constants */
  
  SWIGINTERN void
  SWIG_Tcl_InstallConstants(Tcl_Interp *interp, swig_const_info constants[]) {
    int i;
    Tcl_Obj *obj;
    
    if (!swigconstTableinit) {
      Tcl_InitHashTable(&swigconstTable, TCL_STRING_KEYS);
      swigconstTableinit = 1;
    }
    for (i = 0; constants[i].type; i++) {
      switch(constants[i].type) {
      case SWIG_TCL_POINTER:
        obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
        break;
      case SWIG_TCL_BINARY:
        obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
        break;
      default:
        obj = 0;
        break;
      }
      if (obj) {
        SWIG_Tcl_SetConstantObj(interp, constants[i].name, obj);
      }
    }
  }
  
#ifdef __cplusplus
}
#endif

/* -----------------------------------------------------------------------------*
 *  Partial Init method
 * -----------------------------------------------------------------------------*/

SWIGEXPORT int SWIG_init(Tcl_Interp *interp) {
  int i;
  if (interp == 0) return TCL_ERROR;
#ifdef USE_TCL_STUBS
  if (Tcl_InitStubs(interp, (char*)"8.1", 0) == NULL) {
    return TCL_ERROR;
  }
#endif  
  Tcl_PkgProvide(interp, (char*)SWIG_name, (char*)SWIG_version);
  
#ifdef SWIG_namespace
  Tcl_Eval(interp, "namespace eval " SWIG_namespace " { }");
#endif
  
  SWIG_InitializeModule((void *) interp);
  SWIG_PropagateClientData();
  
  for (i = 0; swig_commands[i].name; i++) {
    Tcl_CreateObjCommand(interp, (char *) swig_commands[i].name, (swig_wrapper_func) swig_commands[i].wrapper,
      swig_commands[i].clientdata, NULL);
  }
  for (i = 0; swig_variables[i].name; i++) {
    Tcl_SetVar(interp, (char *) swig_variables[i].name, (char *) "", TCL_GLOBAL_ONLY);
    Tcl_TraceVar(interp, (char *) swig_variables[i].name, TCL_TRACE_READS | TCL_GLOBAL_ONLY, 
      (Tcl_VarTraceProc *) swig_variables[i].get, (ClientData) swig_variables[i].addr);
    Tcl_TraceVar(interp, (char *) swig_variables[i].name, TCL_TRACE_WRITES | TCL_GLOBAL_ONLY, 
      (Tcl_VarTraceProc *) swig_variables[i].set, (ClientData) swig_variables[i].addr);
  }
  
  SWIG_Tcl_InstallConstants(interp, swig_constants);
  
  
  SWIG_Tcl_SetConstantObj(interp, "MAX_INTEL_HEX_RECORD_LENGTH", SWIG_From_int(static_cast< int >(16)));
  SWIG_Tcl_SetConstantObj(interp, "CAPNCAMERA_SUCCESS", SWIG_From_int(static_cast< int >(0)));
  SWIG_Tcl_SetConstantObj(interp, "CAPNCAMERA_ERR_CONNECT", SWIG_From_int(static_cast< int >(1)));
  SWIG_Tcl_SetConstantObj(interp, "CAPNCAMERA_ERR_READ", SWIG_From_int(static_cast< int >(2)));
  SWIG_Tcl_SetConstantObj(interp, "CAPNCAMERA_ERR_WRITE", SWIG_From_int(static_cast< int >(3)));
  SWIG_Tcl_SetConstantObj(interp, "CAPNCAMERA_ERR_IMAGE", SWIG_From_int(static_cast< int >(4)));
  SWIG_Tcl_SetConstantObj(interp, "CAPNCAMERA_ERR_LINE", SWIG_From_int(static_cast< int >(5)));
  SWIG_Tcl_SetConstantObj(interp, "CAPNCAMERA_ERR_START_EXP", SWIG_From_int(static_cast< int >(6)));
  SWIG_Tcl_SetConstantObj(interp, "CAPNCAMERA_ERR_STOP_EXP", SWIG_From_int(static_cast< int >(7)));
  SWIG_Tcl_SetConstantObj(interp, "CAPNCAMERA_ERR_QUERY", SWIG_From_int(static_cast< int >(8)));
  SWIG_Tcl_SetConstantObj(interp, "CAPNCAMERA_ERR_SN", SWIG_From_int(static_cast< int >(9)));
  return TCL_OK;
}
SWIGEXPORT int Apogeenet_SafeInit(Tcl_Interp *interp) {
  return SWIG_init(interp);
}

