Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

shmemory.h

Go to the documentation of this file.
00001 #ifndef SHMEM_H
00002 #define SHMEM_H
00003 
00004 #include <stdio.h>
00005 #include <stdlib.h>
00006 #include <sys/ipc.h>
00007 #include <sys/shm.h>
00008 
00009 class SharedMem
00010 {
00011 public:
00012         SharedMem(long size);
00013         SharedMem(int id, long size);
00014         ~SharedMem();
00015 
00016         int get_id();
00017         long get_size();
00018 
00019         char *data;
00020         long size;
00021         int shmid;
00022         int client;
00023 };
00024 
00025 
00026 #endif

Generated on Sun Jan 8 13:39:00 2006 for Cinelerra-svn by  doxygen 1.4.4