smstream/SMstream.h

00001 #ifndef _SMSTREAM_H_
00002 #define _SMSTREAM_H_
00003 //
00004 //   Shared memory stream class
00005 //
00010 class SMstream : public streambuf {
00011   public:
00012     SMstream(const char *partition, ios::openmode mode);
00013     SMstream* open(const char *partition, ios::openmode mode);
00014     streamsize sys_read(char *buf, streamsize length);
00015     streamsize sys_write(const char *buf, streamsize length);
00016     streamsize sys_seek(streamoff offset, _seek_dir direction);
00017 
00018 };
00019 #endif  //  _SMSTREAM_H_

Generated on Sun Mar 8 19:20:52 2009 for dmt by  doxygen 1.5.4