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

MNRopeCharConsumer.h

Go to the documentation of this file.
00001 /* 00002 * Copyright (c) 1997 00003 * Silicon Graphics Computer Systems, Inc. 00004 * 00005 * Permission to use, copy, modify, distribute and sell this software 00006 * and its documentation for any purpose is hereby granted without fee, 00007 * provided that the above copyright notice appear in all copies and 00008 * that both that copyright notice and this permission notice appear 00009 * in supporting documentation. Silicon Graphics makes no 00010 * representations about the suitability of this software for any 00011 * purpose. It is provided "as is" without express or implied warranty. 00012 * 00013 * Heavily modified by KOM/Darmstadt University of Technology, 2000 00014 */ 00015 #ifndef _R_CHAR_CONSUMER_H 00016 #define _R_CHAR_CONSUMER_H 00017 00018 #include <sys/types.h> 00019 00024 // The following should be treated as private, at least for now. 00025 class MNRopeCharConsumer 00026 { 00027 public: 00028 // If we had member templates, these should not be virtual. 00029 // For now we need to use run-time parametrization where 00030 // compile-time would do. Hence this should all be private 00031 // for now. 00032 // The symmetry with char_producer is accidental and temporary. 00033 00034 virtual ~MNRopeCharConsumer() 00035 { 00036 } 00037 00038 virtual bool operator()(const uchar_t* __buffer, size_t __len) = 0; 00039 }; 00040 00042 00043 #endif /* _R_CHAR_CONSUMER_H */ 00044

Generated on Sun Mar 6 13:35:49 2005 for Komssys by doxygen 1.3.8