sink.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_SINK_H
00012 #define _GEDDEI_SINK_H
00013 
00014 #include <qstring.h>
00015 
00016 namespace Geddei
00017 {
00018 
00019 class xLConnection;
00020 class Processor;
00021 
00027 class Sink
00028 {
00029 public:
00035  virtual void doRegisterIn(xLConnection *me, const uint port) = 0;
00036 
00041  virtual void undoRegisterIn(xLConnection *me, const uint port) = 0;
00042 
00047  virtual const bool readyRegisterIn(const uint sinkIndex) const = 0;
00048 
00056  virtual void startPlungers() = 0;
00057  
00062  virtual void noMorePlungers() = 0;
00063  
00068  virtual void plungerSent(const uint index) = 0;
00069  
00073  virtual void plunged(const uint index) = 0;
00074 
00079  virtual void checkExit() = 0;
00080 
00085  virtual const bool waitUntilReady() = 0;
00086 
00090  virtual void waitToStop() = 0;
00091 
00098  virtual const bool confirmTypes() = 0;
00099 
00104  virtual void resetTypes() = 0;
00105 
00109  virtual ~Sink() {}
00110 };
00111 
00112 }
00113 
00114 #endif

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