28 #ifndef __TERRALIB_LAYOUT_INTERNAL_VISITABLE_H
29 #define __TERRALIB_LAYOUT_INTERNAL_VISITABLE_H
38 class AbstractVisitor;
Class to represent a visitable. All classes representing a visitable must inherit from this class...
Abstract class to represent a visitor. All classes representing a visitor must inherit from this clas...
virtual void unacceptVisitor(AbstractVisitor *visitor)
Removes a visitor from the set of visitors of this object. Dissociate the visitor of this object...
~Visitable(void)
Destructor.
virtual void unacceptAllVisitor()
Removes all visitors from the set of visitors of this object. Dissociate the visitors of this object...
virtual void acceptVisitor(AbstractVisitor *visitor)
Adds the specified visitor to the set of visitors for this object.
virtual void updateVisitors()
Notifies all set of visitors that the state of this object changed.
std::set< AbstractVisitor * > m_visitors
set of visitors of this object