This class derives from ModifiedEvent and check if the position of a node in the tree has been changed. More...
#include <itkTreeChangeEvent.h>
Public Types | |
typedef TreeChangeEvent | Self |
typedef ModifiedEvent | Superclass |
Public Member Functions | |
virtual bool | CheckEvent (const ::itk::EventObject *e) const |
virtual bool | CheckEvent (const EventObject *) const =0 |
const TreeIteratorBase < TTreeType > & | GetChangePosition () const |
virtual const char * | GetEventName () const |
virtual ::itk::EventObject * | MakeObject () const |
virtual void | Print (std::ostream &os) const |
TreeChangeEvent () | |
TreeChangeEvent (const Self &s) | |
TreeChangeEvent (const TreeIteratorBase< TTreeType > &position) | |
virtual | ~TreeChangeEvent () |
Protected Member Functions | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
Protected Attributes | |
const TreeIteratorBase < TTreeType > * | m_ChangePosition |
This class derives from ModifiedEvent and check if the position of a node in the tree has been changed.
Definition at line 32 of file itkTreeChangeEvent.h.
typedef TreeChangeEvent itk::TreeChangeEvent< TTreeType >::Self |
Typedefs
Reimplemented in itk::TreeNodeChangeEvent< TTreeType >, itk::TreeAddEvent< TTreeType >, itk::TreeRemoveEvent< TTreeType >, and itk::TreePruneEvent< TTreeType >.
Definition at line 37 of file itkTreeChangeEvent.h.
typedef ModifiedEvent itk::TreeChangeEvent< TTreeType >::Superclass |
Reimplemented in itk::TreeNodeChangeEvent< TTreeType >, itk::TreeAddEvent< TTreeType >, itk::TreeRemoveEvent< TTreeType >, and itk::TreePruneEvent< TTreeType >.
Definition at line 38 of file itkTreeChangeEvent.h.
itk::TreeChangeEvent< TTreeType >::TreeChangeEvent | ( | ) | [inline] |
Constructor
Definition at line 41 of file itkTreeChangeEvent.h.
References itk::TreeChangeEvent< TTreeType >::m_ChangePosition.
itk::TreeChangeEvent< TTreeType >::TreeChangeEvent | ( | const TreeIteratorBase< TTreeType > & | position | ) | [inline] |
Copy constructor
Definition at line 47 of file itkTreeChangeEvent.h.
References itk::TreeChangeEvent< TTreeType >::m_ChangePosition.
virtual itk::TreeChangeEvent< TTreeType >::~TreeChangeEvent | ( | ) | [inline, virtual] |
Destructor
Definition at line 53 of file itkTreeChangeEvent.h.
itk::TreeChangeEvent< TTreeType >::TreeChangeEvent | ( | const Self & | s | ) | [inline] |
Definition at line 79 of file itkTreeChangeEvent.h.
virtual bool itk::TreeChangeEvent< TTreeType >::CheckEvent | ( | const ::itk::EventObject * | e | ) | const [inline, virtual] |
Check the event
Reimplemented in itk::TreeNodeChangeEvent< TTreeType >, itk::TreeAddEvent< TTreeType >, itk::TreeRemoveEvent< TTreeType >, and itk::TreePruneEvent< TTreeType >.
Definition at line 62 of file itkTreeChangeEvent.h.
virtual bool itk::EventObject::CheckEvent | ( | const EventObject * | ) | const [pure virtual, inherited] |
Check if given event matches or derives from this event.
const TreeIteratorBase<TTreeType>& itk::TreeChangeEvent< TTreeType >::GetChangePosition | ( | ) | const [inline] |
Get the change position
Definition at line 74 of file itkTreeChangeEvent.h.
References itk::TreeChangeEvent< TTreeType >::m_ChangePosition.
virtual const char* itk::TreeChangeEvent< TTreeType >::GetEventName | ( | void | ) | const [inline, virtual] |
Get the event name
Implements itk::EventObject.
Reimplemented in itk::TreeNodeChangeEvent< TTreeType >, itk::TreeAddEvent< TTreeType >, itk::TreeRemoveEvent< TTreeType >, and itk::TreePruneEvent< TTreeType >.
Definition at line 56 of file itkTreeChangeEvent.h.
virtual ::itk::EventObject* itk::TreeChangeEvent< TTreeType >::MakeObject | ( | ) | const [inline, virtual] |
Make the event object
Implements itk::EventObject.
Reimplemented in itk::TreeNodeChangeEvent< TTreeType >, itk::TreeAddEvent< TTreeType >, itk::TreeRemoveEvent< TTreeType >, and itk::TreePruneEvent< TTreeType >.
Definition at line 68 of file itkTreeChangeEvent.h.
References itk::TreeChangeEvent< TTreeType >::m_ChangePosition.
virtual void itk::EventObject::Print | ( | std::ostream & | os | ) | const [virtual, inherited] |
Print Event information. This method can be overridden by specific Event subtypes. The default is to print out the type of the event.
virtual void itk::EventObject::PrintHeader | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual, inherited] |
virtual void itk::EventObject::PrintSelf | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual, inherited] |
virtual void itk::EventObject::PrintTrailer | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual, inherited] |
const TreeIteratorBase<TTreeType>* itk::TreeChangeEvent< TTreeType >::m_ChangePosition [protected] |
Definition at line 79 of file itkTreeChangeEvent.h.
Referenced by itk::TreeChangeEvent< TTreeType >::GetChangePosition(), itk::TreeAddEvent< TTreeType >::MakeObject(), itk::TreeNodeChangeEvent< TTreeType >::MakeObject(), itk::TreePruneEvent< TTreeType >::MakeObject(), itk::TreeChangeEvent< TTreeType >::MakeObject(), itk::TreeRemoveEvent< TTreeType >::MakeObject(), and itk::TreeChangeEvent< TTreeType >::TreeChangeEvent().