00001 /***************************************************************************
00002 cycler.h - description
00003 -------------------
00004 begin : Tue May 9 2000
00005 copyright : (C) 2000 by Michael Peeters
00006 email : Michael.Peeters@vub.ac.be
00007 ***************************************************************************/
00008
00009 /***************************************************************************
00010 * *
00011 * This program is free software; you can redistribute it and/or modify *
00012 * it under the terms of the GNU General Public License as published by *
00013 * the Free Software Foundation; either version 2 of the License, or *
00014 * (at your option) any later version. *
00015 * *
00016 ***************************************************************************/
00017
00018 #ifndef CYCLER_H
00019 #define CYCLER_H
00020
00021 namespace MODEL
00022 {
00023 class COwner;
00024
00028 class Cycler
00029 {
00030 friend class COwner;
00031
00032 public:
00034 Cycler(COwner& master);
00035 virtual ~Cycler();
00036
00038 virtual void execute(void)=0;
00039 protected:
00041 COwner* get_boss(void);
00042
00043 private:
00045 Cycler(const Cycler& c);
00046
00047 COwner* theboss;
00048 };
00049
00050
00051 }// end namespace
00052
00053
00054 #endif
00055
00056 /*********************************************************************
00057 $Id: cycler.h,v 1.1 2001/05/22 10:54:55 mpeeters Exp $
00058 **********************************************************************
00059
00060 $Log: cycler.h,v $
00061 Revision 1.1 2001/05/22 10:54:55 mpeeters
00062 Moved sources and headers for libModel to model/ subdirectory, in an attempt to rationalize the source tree. This should make things "netter".
00063
00064 Revision 1.2 2000/09/15 10:26:31 mpeeters
00065 Cleaned out header and added CVS tails to files, removed superfuous
00066 @author comments, inserted dates
00067
00068 *********************************************************************/
More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be
Last update: June 2002.