Orfeo Toolbox  4.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
itk::TreePruneEvent< TTreeType > Class Template Referenceabstract

Signals that a node and all its childs will shortly be removed. The position of the top-level removed node is provided. More...

#include <itkTreeChangeEvent.h>

+ Inheritance diagram for itk::TreePruneEvent< TTreeType >:
+ Collaboration diagram for itk::TreePruneEvent< TTreeType >:

Public Types

typedef TreePruneEvent Self
 
typedef TreeRemoveEvent
< TTreeType > 
Superclass
 

Public Member Functions

 TreePruneEvent ()
 
 TreePruneEvent (const TreeIteratorBase< TTreeType > &position)
 
 TreePruneEvent (const Self &s)
 
virtual bool CheckEvent (const EventObject *) const =0
 
virtual bool CheckEvent (const ::itk::EventObject *e) const
 
const TreeIteratorBase
< TTreeType > & 
GetChangePosition () const
 
virtual const char * GetEventName () const
 
virtual ::itk::EventObjectMakeObject () const
 
virtual void Print (std::ostream &os) const
 

Protected Member Functions

virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 

Protected Attributes

const TreeIteratorBase
< TTreeType > * 
m_ChangePosition
 

Private Member Functions

void operator= (const Self &)
 

Detailed Description

template<typename TTreeType>
class itk::TreePruneEvent< TTreeType >

Signals that a node and all its childs will shortly be removed. The position of the top-level removed node is provided.

Definition at line 180 of file itkTreeChangeEvent.h.

Member Typedef Documentation

template<typename TTreeType >
typedef TreePruneEvent itk::TreePruneEvent< TTreeType >::Self

Definition at line 183 of file itkTreeChangeEvent.h.

template<typename TTreeType >
typedef TreeRemoveEvent< TTreeType > itk::TreePruneEvent< TTreeType >::Superclass

Definition at line 184 of file itkTreeChangeEvent.h.

Constructor & Destructor Documentation

template<typename TTreeType >
itk::TreePruneEvent< TTreeType >::TreePruneEvent ( )
inline

Definition at line 186 of file itkTreeChangeEvent.h.

template<typename TTreeType >
itk::TreePruneEvent< TTreeType >::TreePruneEvent ( const TreeIteratorBase< TTreeType > &  position)
inline

Definition at line 188 of file itkTreeChangeEvent.h.

template<typename TTreeType >
itk::TreePruneEvent< TTreeType >::TreePruneEvent ( const Self s)
inline

Definition at line 197 of file itkTreeChangeEvent.h.

Member Function Documentation

virtual bool itk::EventObject::CheckEvent ( const EventObject ) const
pure virtualinherited

Check if given event matches or derives from this event.

Implemented in otb::Wrapper::AddProcessToWatchEvent.

Referenced by itk::SubjectImplementation::HasObserver(), and itk::SubjectImplementation::InvokeEvent().

template<typename TTreeType >
virtual bool itk::TreePruneEvent< TTreeType >::CheckEvent ( const ::itk::EventObject e) const
inlinevirtual

Check the event

Reimplemented from itk::TreeRemoveEvent< TTreeType >.

Definition at line 193 of file itkTreeChangeEvent.h.

References NULL.

template<typename TTreeType >
const TreeIteratorBase< TTreeType >& itk::TreeChangeEvent< TTreeType >::GetChangePosition ( ) const
inlineinherited

Get the change position

Definition at line 62 of file itkTreeChangeEvent.h.

References itk::TreeChangeEvent< TTreeType >::m_ChangePosition.

template<typename TTreeType >
virtual const char* itk::TreePruneEvent< TTreeType >::GetEventName ( void  ) const
inlinevirtual

Get the event name

Reimplemented from itk::TreeRemoveEvent< TTreeType >.

Definition at line 191 of file itkTreeChangeEvent.h.

template<typename TTreeType >
virtual::itk::EventObject* itk::TreePruneEvent< TTreeType >::MakeObject ( ) const
inlinevirtual

Make the event object

Reimplemented from itk::TreeRemoveEvent< TTreeType >.

Definition at line 195 of file itkTreeChangeEvent.h.

References itk::TreeChangeEvent< TTreeType >::m_ChangePosition.

template<typename TTreeType >
void itk::TreePruneEvent< TTreeType >::operator= ( const Self )
private
void itk::EventObject::Print ( std::ostream &  os) const
virtualinherited

Print Event information. This method can be overridden by specific Event subtypes. The default is to print out the type of the event.

Definition at line 24 of file itkEventObject.cxx.

References itk::Indent::GetNextIndent().

void itk::EventObject::PrintHeader ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print header for all objects.

Definition at line 38 of file itkEventObject.cxx.

void itk::EventObject::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Definition at line 56 of file itkEventObject.cxx.

void itk::EventObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print trailer for all objects.

Definition at line 49 of file itkEventObject.cxx.

Member Data Documentation

template<typename TTreeType >
const TreeIteratorBase< TTreeType >* itk::TreeChangeEvent< TTreeType >::m_ChangePosition
protectedinherited

The documentation for this class was generated from the following file:

Generated at Sat Mar 8 2014 17:54:31 for Orfeo Toolbox with doxygen 1.8.3.1