sharedmem.h
Go to the documentation of this file.
00001 #ifndef _SHAREDMEM_H_
00002 #define _SHAREDMEM_H_
00003 
00004 
00005 #define SHM_KEY 16000
00006 
00007 
00008 typedef struct robot_status
00009 {
00010   int           x;
00011   int           y;
00012   double        r;
00013   int           s;
00014   unsigned char buf[64*64];
00015   unsigned char buf2[64*64];
00016 } robot_status;
00017 
00018 #ifdef __cplusplus
00019         extern "C" {    /* C++で使用する場合関数修飾名が壊れないように */
00020 #endif
00021 unsigned char *InitSharedMem(int key, int size);
00022 
00023 #ifdef __cplusplus
00024 }
00025 #endif
00026 
00027 
00028 #endif
00029 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


RS003
Author(s):
autogenerated on Thu Jun 27 2013 14:58:49