Orfeo Toolbox  3.16
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 48 of file itkObject.cxx.

Constructor & Destructor Documentation

itk::SubjectImplementation::SubjectImplementation ( )
inline

Definition at line 51 of file itkObject.cxx.

References m_Count.

itk::SubjectImplementation::~SubjectImplementation ( )

Definition at line 68 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 168 of file itkObject.cxx.

References m_Observers.

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

Definition at line 183 of file itkObject.cxx.

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

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

Definition at line 135 of file itkObject.cxx.

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

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

Definition at line 151 of file itkObject.cxx.

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

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

Definition at line 122 of file itkObject.cxx.

References m_Observers.

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

Definition at line 105 of file itkObject.cxx.

References m_Observers.

Member Data Documentation

unsigned long itk::SubjectImplementation::m_Count
private

Definition at line 64 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 Sun May 19 2013 02:42:37 for Orfeo Toolbox with doxygen 1.8.3.1