Class to represent a visitable. All classes representing a visitable must inherit from this class. More...
#include <Visitable.h>
  
 Public Member Functions | |
| virtual void | acceptVisitor (AbstractVisitor *visitor) | 
| Adds the specified visitor to the set of visitors for this object.  More... | |
| virtual void | unacceptAllVisitor () | 
| Removes all visitors from the set of visitors of this object. Dissociate the visitors of this object.  More... | |
| virtual void | unacceptVisitor (AbstractVisitor *visitor) | 
| Removes a visitor from the set of visitors of this object. Dissociate the visitor of this object.  More... | |
| ~Visitable (void) | |
| Destructor.  More... | |
Protected Member Functions | |
| virtual void | updateVisitors () | 
| Notifies all set of visitors that the state of this object changed.  More... | |
Protected Attributes | |
| std::set< AbstractVisitor * > | m_visitors | 
| set of visitors of this object  More... | |
Class to represent a visitable. All classes representing a visitable must inherit from this class.
Definition at line 45 of file Visitable.h.
      
  | 
  inline | 
      
  | 
  virtual | 
Adds the specified visitor to the set of visitors for this object.
| visitor | specified visitor | 
Definition at line 32 of file Visitable.cpp.
References m_visitors, and te::layout::AbstractVisitor::visit().
Referenced by te::layout::VisitorUtils::changeMapVisitable().
      
  | 
  virtual | 
Removes all visitors from the set of visitors of this object. Dissociate the visitors of this object.
Definition at line 58 of file Visitable.cpp.
Referenced by ~Visitable().
      
  | 
  virtual | 
Removes a visitor from the set of visitors of this object. Dissociate the visitor of this object.
| visitor | specified visitor | 
Definition at line 49 of file Visitable.cpp.
References te::layout::AbstractVisitor::disassociate().
      
  | 
  protectedvirtual | 
Notifies all set of visitors that the state of this object changed.
Definition at line 40 of file Visitable.cpp.
      
  | 
  protected | 
set of visitors of this object
Definition at line 85 of file Visitable.h.
Referenced by acceptVisitor().