Orfeo Toolbox  4.0
Public Member Functions | Private Attributes | List of all members
itk::SubjectImplementation Class Reference
+ Collaboration diagram for itk::SubjectImplementation:

Public Member Functions

 SubjectImplementation ()
 
 ~SubjectImplementation ()
 
unsigned long AddObserver (const EventObject &event, Command *cmd)
 
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
CommandGetCommand (unsigned long tag)
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &event, Object *self)
 
void InvokeEvent (const EventObject &event, const Object *self)
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 

Private Attributes

unsigned long m_Count
 
std::list< Observer * > m_Observers
 

Detailed Description

Definition at line 53 of file itkObject.cxx.

Constructor & Destructor Documentation

itk::SubjectImplementation::SubjectImplementation ( )
inline

Definition at line 56 of file itkObject.cxx.

References m_Count.

itk::SubjectImplementation::~SubjectImplementation ( )

Definition at line 82 of file itkObject.cxx.

References m_Observers.

Member Function Documentation

unsigned long itk::SubjectImplementation::AddObserver ( const EventObject event,
Command cmd 
)
unsigned long itk::SubjectImplementation::AddObserver ( const EventObject event,
Command cmd 
) const
Command * itk::SubjectImplementation::GetCommand ( unsigned long  tag)

Definition at line 171 of file itkObject.cxx.

References m_Observers.

bool itk::SubjectImplementation::HasObserver ( const EventObject event) const

Definition at line 185 of file itkObject.cxx.

References itk::EventObject::CheckEvent(), itk::Math::e, and m_Observers.

void itk::SubjectImplementation::InvokeEvent ( const EventObject event,
Object self 
)

Definition at line 141 of file itkObject.cxx.

References itk::EventObject::CheckEvent(), itk::Math::e, and m_Observers.

void itk::SubjectImplementation::InvokeEvent ( const EventObject event,
const Object self 
)

Definition at line 156 of file itkObject.cxx.

References itk::EventObject::CheckEvent(), itk::Math::e, and m_Observers.

bool itk::SubjectImplementation::PrintObservers ( std::ostream &  os,
Indent  indent 
) const
void itk::SubjectImplementation::RemoveAllObservers ( )

Definition at line 130 of file itkObject.cxx.

References m_Observers.

void itk::SubjectImplementation::RemoveObserver ( unsigned long  tag)

Definition at line 115 of file itkObject.cxx.

References m_Observers.

Member Data Documentation

unsigned long itk::SubjectImplementation::m_Count
private

Definition at line 78 of file itkObject.cxx.

Referenced by AddObserver(), and SubjectImplementation().

std::list< Observer * > itk::SubjectImplementation::m_Observers
private

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

Generated at Sat Mar 8 2014 17:50:12 for Orfeo Toolbox with doxygen 1.8.3.1