CSIM: advanceable.h Source File

advanceable.h

Go to the documentation of this file.
00001 
00005 #ifndef _ADVANCEABLE_H_
00006 #define _ADVANCEABLE_H_
00007 
00008 #include "csimclass.h"
00009 
00011 
00042 class Advancable : public csimClass {
00043 
00044  public:
00045 
00046   virtual ~Advancable(void){};
00047 
00048 
00050   virtual void reset(void)=0;
00051 
00055   virtual int advance(void)=0;
00056 
00058   virtual int addIncoming(Advancable *Incoming)=0;
00059 
00061   virtual int addOutgoing(Advancable *Outgoing)=0;
00062 
00063   inline char threadId() { return m_threadId; };
00064 
00065 private:
00066   friend class Network;
00067   char m_threadId;
00068 
00069 };
00070 
00071 #endif
00072 

 
(C) 2003, Thomas Natschläger last modified 07/10/2006