SignECGSink.h

Go to the documentation of this file.
00001 /*
00002  *
00003  * Program:   Slicer Image-Guided Navigator (The SIGN)
00004  * Module:    $RCSfile: SignECGSink.h,v $
00005  */
00015 #ifndef __SIGNECGSINK_H__
00016 #define __SIGNECGSINK_H__
00017 
00018 #include <string>
00019 
00020 #include <SignDLL.h>
00021 #include <SignSink.h>
00022 
00023 class SignOTModule;
00024 class SignContext;
00025 
00026 
00027 using namespace ot;
00028 
00029 
00030 class SIGN_EXPORT SignECGSink : public SignSink
00031 {
00032 
00033   public:
00034   vtkTypeRevisionMacro(SignECGSink,SignSink);
00035   virtual void PrintSelf(ostream& os, vtkIndent indent);
00036 
00037   static SignECGSink* New();
00038 
00039  private:
00040   SignContext *signContext;
00041 
00042 
00043 
00044 public:
00046     int events;
00047 
00048 // Methods
00049 protected:
00052   SignECGSink() {};
00053 
00054   SignECGSink(const SignECGSink&);  // Not implemented.
00055   void operator=(const SignECGSink&);  // Not implemented.
00056 
00057 public:
00061     virtual int isEventGenerator();
00062 
00072     virtual void onEventGenerated( Event& event, Node& generator);
00073 
00075                 void setSignContext(SignContext *sp);
00076 
00077                 friend class SignOTModule;
00078 
00079 };
00080 
00081 #endif

Generated on Mon Feb 26 12:11:16 2007 for TheSIGN by  doxygen 1.4.6