source.h

00001 /***************************************************************************
00002  *   Copyright (C) 2003 by Gav Wood                                        *
00003  *   gav@cs.york.ac.uk                                                     *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU Library General Public License as       *
00007  *   published by the Free Software Foundation; either version 2 of the    *
00008  *   License, or (at your option) any later version.                       *
00009  ***************************************************************************/
00010 
00011 #ifndef _GEDDEI_SOURCE_H
00012 #define _GEDDEI_SOURCE_H
00013 
00014 #include <qstring.h>
00015 
00016 namespace Geddei
00017 {
00018 
00019 class LxConnection;
00020 class Processor;
00021 
00027 class Source
00028 {
00029 public:
00033  virtual void checkExit() = 0;
00034 
00041  virtual const bool confirmTypes() = 0;
00042 
00048  virtual void doRegisterOut(LxConnection *me, const uint port = 0) = 0;
00049 
00054  virtual void undoRegisterOut(LxConnection *me, const uint port = 0) = 0;
00055 
00061  virtual const Processor *processor() const;
00062 
00066  virtual ~Source() {}
00067 };
00068 
00069 }
00070 
00071 #endif

Generated on Thu Jul 13 06:56:33 2006 for Exscalibar by  doxygen 1.4.7