メインページ   モジュール   クラス階層   アルファベット順一覧   構成   ファイル一覧   構成メンバ   ファイルメンバ   関連ページ    

Tglobals.h

解説を見る。
00001 // =====================================================================
00027 // =====================================================================
00028 #ifndef __TGLOBALS_H
00029 #define __TGLOBALS_H
00030 
00031 #include <X11/Xlib.h>
00032 #include <X11/Xutil.h>
00033 #include <X11/Xatom.h>
00034 #include <X11/cursorfont.h>
00035 #include <X11/keysym.h>
00036 #include <X11/xpm.h>
00037 
00038 #include <stdio.h>
00039 #include <string.h>
00040 #include <fstream>
00041 #include <typeinfo>
00042 #include <stdlib.h>
00043 #include <sys/types.h>
00044 #include <sys/stat.h>
00045 #include <sys/un.h>
00046 #include <fcntl.h>
00047 #include <errno.h>
00048 #include <math.h>
00049 #include <netinet/in.h>
00050 #include <arpa/inet.h>
00051 #include <netdb.h>
00052 #include <signal.h>
00053 #include <sys/ioctl.h>
00054 #include <sys/ipc.h>
00055 #include <sys/sem.h>
00056 #include <sys/shm.h>
00057 #include <sys/wait.h>
00058 #include <termios.h>
00059 #include <term.h>
00060 #include <ncurses.h>
00061 #include <limits.h>
00062 #include <values.h>
00063 #include <libgen.h>
00064 #include <pwd.h>
00065 #include <grp.h>
00066 
00067 #include <unistd.h>
00068 #include <sys/time.h>
00069 #include <time.h>
00070 typedef pid_t Tpid_t;
00071 typedef time_t Ttime_t;
00072 
00073 #include <sys/mman.h>
00074 typedef off_t Toff_t;
00075 
00076 #include <sys/times.h>
00077 typedef clock_t Tclock_t;
00078 
00079 #ifdef __CLDAQ_ZLIB_USE
00080 #include <zlib.h>
00081 typedef z_stream Tzstream;
00082 typedef Byte Tbyte;
00083 #endif
00084 
00085 #include <pthread.h>
00086 typedef pthread_t Tthread_t;
00087 
00088 #include <sys/socket.h>
00089 typedef socklen_t Tsocklen_t;
00090 
00091 #include <regex.h>
00092 typedef regex_t Tregex_t;
00093 typedef regmatch_t Tregmatch_t;
00094 
00095 #include <linux/param.h>
00096 #ifndef __USE_BSD
00097 typedef __caddr_t caddr_t;
00098 #endif
00099 typedef caddr_t Tcaddr_t;
00100 
00101 // #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
00102 // // see <sys/sem.h>
00103 // #else
00104 // // if defer to X/OPEN design
00105 // union semun {
00106 //   int val;                    // value for SETVAL
00107 //   struct semid_ds* buf;       // buffer for IPC_STAT, IPC_SET
00108 //   unsigned short int* array;  // array for GETALL, SETALL
00109 //   struct seminfo* __buf;      // buffer for IPC_INFO
00110 // };
00111 // #endif
00112 
00113 #include "Ttypes.h"
00114 
00115 extern "C" {
00116   // ;
00117   // ;
00118 }
00119 
00120 extern Tchar** environ;
00121 
00122 #include <getopt.h>
00123 extern Tchar *optarg;
00124 extern Tint optind, opterr, optopt;
00125 
00126 #include "TUtilities.hh"
00127 
00128 #endif

CLDAQ - a Class Library for Data AcQuisition (Version 1.10.0)
Go IWAI <goiwai@users.sourceforge.jp>