|
|||||||||||
Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
forceable.hGo to the documentation of this file.00001 00005 #ifndef _FORCEABLE_H_ 00006 #define _FORCEABLE_H_ 00007 00008 #include "advanceable.h" 00009 00010 class Teacher; 00011 00013 00046 class Forceable : public Advancable { 00047 00048 public: 00049 00051 Forceable(void) { myTeacher = 0; } 00052 virtual ~Forceable(void){}; 00053 00055 virtual double nextstate(void)=0; 00056 00058 virtual void force(double y)=0; 00059 00061 virtual void output(void)=0; 00062 00064 inline int advance(void) { nextstate(); output(); return 1; } 00065 00067 virtual int addIncoming(Advancable *potentialTeacher); 00068 00070 Teacher *myTeacher; 00071 00072 }; 00073 00074 #endif | |||||||||||
(C) 2003, Thomas Natschläger | last modified 07/10/2006 |