]> Creatis software - FrontAlgorithms.git/blob - lib/fpa/Filters/Event.h
...
[FrontAlgorithms.git] / lib / fpa / Filters / Event.h
1 // =========================================================================
2 // @author Leonardo Florez Valencia
3 // @email florez-l@javeriana.edu.co
4 // =========================================================================
5 #ifndef __fpa__Filters__Event__h__
6 #define __fpa__Filters__Event__h__
7
8 #include <itkEventObject.h>
9
10 namespace fpa
11 {
12   namespace Filters
13   {
14     /**
15      */
16     template< class _TVertex >
17     class Event
18       : public itk::EventObject
19     {
20     public:
21       typedef Event            Self;
22       typedef itk::EventObject Superclass;
23       typedef _TVertex         TVertex;
24
25     public:
26       Event( );
27       Event( const TVertex& v, unsigned long fid, bool intoq );
28       virtual ~Event( );
29       virtual const char* GetEventName( ) const override;
30       virtual bool CheckEvent( const itk::EventObject* e ) const override;
31       virtual itk::EventObject* MakeObject( ) const override;
32
33     private:
34       // Purposely not implemented.
35       Self& operator=( const Self& other );
36
37     public:
38       TVertex       Vertex;
39       unsigned long FrontId;
40       bool          IntoQueue;
41     };
42
43   } // ecapseman
44
45 } // ecapseman
46
47 #ifndef ITK_MANUAL_INSTANTIATION
48 #  include <fpa/Filters/Event.hxx>
49 #endif // ITK_MANUAL_INSTANTIATION
50 #endif // __fpa__Filters__Event__h__
51
52 // eof - $RCSfile$