rtwtypes.h
Go to the documentation of this file.
00001 /*
00002  * rtwtypes.h
00003  *
00004  * Code generation for function 'Optimal_affine_tracking_3d16_fast_realtime'
00005  *
00006  * C source code generated on: Wed Jul 24 16:11:35 2013
00007  *
00008  */
00009 
00010 #ifndef __RTWTYPES_H__
00011 #define __RTWTYPES_H__
00012 #ifndef TRUE
00013 # define TRUE (1U)
00014 #endif
00015 #ifndef FALSE
00016 # define FALSE (0U)
00017 #endif
00018 #ifndef __TMWTYPES__
00019 #define __TMWTYPES__
00020 
00021 #include <limits.h>
00022 
00023 /*=======================================================================* 
00024  * Target hardware information
00025  *   Device type: Generic->MATLAB Host Computer
00026  *   Number of bits:     char:   8    short:   16    int:  32
00027  *                       long:  64      native word size:  64
00028  *   Byte ordering: LittleEndian
00029  *   Signed integer division rounds to: Zero
00030  *   Shift right on a signed integer as arithmetic shift: on
00031  *=======================================================================*/
00032 
00033 /*=======================================================================* 
00034  * Fixed width word size data types:                                     * 
00035  *   int8_T, int16_T, int32_T     - signed 8, 16, or 32 bit integers     * 
00036  *   uint8_T, uint16_T, uint32_T  - unsigned 8, 16, or 32 bit integers   * 
00037  *   real32_T, real64_T           - 32 and 64 bit floating point numbers * 
00038  *=======================================================================*/
00039 
00040 typedef signed char int8_T;
00041 typedef unsigned char uint8_T;
00042 typedef short int16_T;
00043 typedef unsigned short uint16_T;
00044 typedef int int32_T;
00045 typedef unsigned int uint32_T;
00046 typedef long int64_T;
00047 typedef unsigned long uint64_T;
00048 typedef float real32_T;
00049 typedef double real64_T;
00050 
00051 /*===========================================================================* 
00052  * Generic type definitions: real_T, time_T, boolean_T, int_T, uint_T,       * 
00053  *                           ulong_T, char_T and byte_T.                     * 
00054  *===========================================================================*/
00055 
00056 typedef double real_T;
00057 typedef double time_T;
00058 typedef unsigned char boolean_T;
00059 typedef int int_T;
00060 typedef unsigned uint_T;
00061 typedef unsigned long ulong_T;
00062 typedef char char_T;
00063 typedef char_T byte_T;
00064 
00065 /*===========================================================================* 
00066  * Complex number type definitions                                           * 
00067  *===========================================================================*/
00068 #define CREAL_T 
00069    typedef struct {  
00070      real32_T re;  
00071      real32_T im;  
00072    } creal32_T;  
00073 
00074    typedef struct {  
00075      real64_T re;  
00076      real64_T im;  
00077    } creal64_T;  
00078 
00079    typedef struct {  
00080      real_T re;  
00081      real_T im;  
00082    } creal_T;  
00083 
00084    typedef struct {  
00085      int8_T re;  
00086      int8_T im;  
00087    } cint8_T;  
00088 
00089    typedef struct {  
00090      uint8_T re;  
00091      uint8_T im;  
00092    } cuint8_T;  
00093 
00094    typedef struct {  
00095      int16_T re;  
00096      int16_T im;  
00097    } cint16_T;  
00098 
00099    typedef struct {  
00100      uint16_T re;  
00101      uint16_T im;  
00102    } cuint16_T;  
00103 
00104    typedef struct {  
00105      int32_T re;  
00106      int32_T im;  
00107    } cint32_T;  
00108 
00109    typedef struct {  
00110      uint32_T re;  
00111      uint32_T im;  
00112    } cuint32_T;  
00113 
00114    typedef struct {  
00115      int64_T re;  
00116      int64_T im;  
00117    } cint64_T;  
00118 
00119    typedef struct {  
00120      uint64_T re;  
00121      uint64_T im;  
00122    } cuint64_T;  
00123 
00124 
00125 /*=======================================================================* 
00126  * Min and Max:                                                          * 
00127  *   int8_T, int16_T, int32_T     - signed 8, 16, or 32 bit integers     * 
00128  *   uint8_T, uint16_T, uint32_T  - unsigned 8, 16, or 32 bit integers   * 
00129  *=======================================================================*/
00130 
00131 #define MAX_int8_T      ((int8_T)(127))
00132 #define MIN_int8_T      ((int8_T)(-128))
00133 #define MAX_uint8_T     ((uint8_T)(255))
00134 #define MIN_uint8_T     ((uint8_T)(0))
00135 #define MAX_int16_T     ((int16_T)(32767))
00136 #define MIN_int16_T     ((int16_T)(-32768))
00137 #define MAX_uint16_T    ((uint16_T)(65535))
00138 #define MIN_uint16_T    ((uint16_T)(0))
00139 #define MAX_int32_T     ((int32_T)(2147483647))
00140 #define MIN_int32_T     ((int32_T)(-2147483647-1))
00141 #define MAX_uint32_T    ((uint32_T)(0xFFFFFFFFU))
00142 #define MIN_uint32_T    ((uint32_T)(0))
00143 #define MAX_int64_T     ((int64_T)(9223372036854775807L))
00144 #define MIN_int64_T     ((int64_T)(-9223372036854775807L-1L))
00145 #define MAX_uint64_T    ((uint64_T)(0xFFFFFFFFFFFFFFFFUL))
00146 #define MIN_uint64_T    ((uint64_T)(0UL))
00147 
00148 /* Logical type definitions */
00149 #if !defined(__cplusplus) && !defined(__true_false_are_keywords)
00150 #  ifndef false
00151 #   define false (0U)
00152 #  endif
00153 #  ifndef true
00154 #   define true (1U)
00155 #  endif
00156 #endif
00157 
00158 /*
00159  * MATLAB for code generation assumes the code is compiled on a target using a 2's compliment representation
00160  * for signed integer values.
00161  */
00162 #if ((SCHAR_MIN + 1) != -SCHAR_MAX)
00163 #error "This code must be compiled using a 2's complement representation for signed integer values"
00164 #endif
00165 
00166 /*
00167  * Maximum length of a MATLAB identifier (function/variable)
00168  * including the null-termination character. Referenced by
00169  * rt_logging.c and rt_matrx.c.
00170  */
00171 #define TMW_NAME_LENGTH_MAX     64
00172 
00173 #endif
00174 #endif
00175 /* End of code generation (rtwtypes.h) */


depth_tracker_ros_vr8
Author(s): shusain
autogenerated on Fri Dec 6 2013 20:45:47