00001 /*************************************************************************** 00002 cycler.cpp - 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 #include "cycler.h" 00019 #include "cowner.h" 00020 00021 namespace MODEL 00022 { 00023 Cycler::Cycler(COwner& master) 00024 { 00025 master.add_to_list(*this); 00026 theboss=&master; 00027 } 00028 00029 Cycler::~Cycler() 00030 { 00031 theboss->remove(*this); 00032 } 00033 00034 COwner* 00035 Cycler::get_boss(void) 00036 { 00037 return theboss; 00038 } 00039 00040 } 00041 00042 /********************************************************************* 00043 $Id: cycler.cpp,v 1.1 2001/05/22 10:54:55 mpeeters Exp $ 00044 ********************************************************************** 00045 00046 $Log: cycler.cpp,v $ 00047 Revision 1.1 2001/05/22 10:54:55 mpeeters 00048 Moved sources and headers for libModel to model/ subdirectory, in an attempt to rationalize the source tree. This should make things "netter". 00049 00050 Revision 1.2 2000/09/15 10:26:31 mpeeters 00051 Cleaned out header and added CVS tails to files, removed superfuous 00052 @author comments, inserted dates 00053 00054 *********************************************************************/
More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be
Last update: June 2002.