Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

GrMC4020Buffer.h

Go to the documentation of this file.
00001 /* -*- Mode: c++ -*- */ 00002 00003 /* 00004 * Copyright 2001 Free Software Foundation, Inc. 00005 * 00006 * This file is part of GNU Radio 00007 * 00008 * GNU Radio is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2, or (at your option) 00011 * any later version. 00012 * 00013 * GNU Radio is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with GNU Radio; see the file COPYING. If not, write to 00020 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00021 * Boston, MA 02111-1307, USA. 00022 */ 00023 00024 #ifndef _GRMC4020BUFFER_H_ 00025 #define _GRMC4020BUFFER_H_ 00026 00027 00028 #include <VrBuffer.h> 00029 00030 class GrMC4020Buffer : public VrBuffer { 00031 private: 00032 int device_fd; 00033 unsigned long bufferSize_bytes; 00034 virtual void allocateBuffer(unsigned int arg_type_size); 00035 public: 00036 GrMC4020Buffer(VrSigProc *m, int fd, 00037 unsigned long a_buffersize_bytes) : VrBuffer(m) { 00038 device_fd=fd; 00039 bufferSize_bytes = a_buffersize_bytes; 00040 } 00041 }; 00042 00043 #endif

Generated on Wed Aug 4 02:22:04 2004 for GNU Radio by doxygen 1.3.8