rscoupling.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 #ifndef _GEDDEI_RSCOUPLING_H
00011 #define _GEDDEI_RSCOUPLING_H
00012 
00013 #include <qthread.h>
00014 
00015 #ifdef __GEDDEI_BUILD
00016 #include "qsocketsession.h"
00017 #include "xscoupling.h"
00018 #else
00019 #include <qtextra/qsocketsession.h>
00020 #include <geddei/xscoupling.h>
00021 #endif
00022 using namespace Geddei;
00023 
00024 namespace Geddei
00025 {
00026 
00032 class RSCoupling : public xSCoupling, protected QThread
00033 {
00034  QSocketSession theSession;
00035  bool theBeingDeleted;
00036 
00037  //* Reimplementation from QThread.
00038  virtual void run();
00039 
00040  friend class ProcessorForwarder;
00041 
00045  RSCoupling(QSocketDevice *dev, SubProcessor *sub);
00046 
00050  virtual ~RSCoupling();
00051 };
00052 
00053 };
00054 
00055 #endif

Generated on Fri Nov 10 21:58:26 2006 for Exscalibar by  doxygen 1.5.1