#include <subject.hpp>
Inheritance diagram for subject:
Public Member Functions | |
virtual | ~subject () |
virtual void | register_observer (observer *ob) |
virtual void | unregister_observer (observer *ob) |
virtual void | notice_all_observers () |
Protected Member Functions | |
subject () | |
Private Attributes | |
boost::shared_ptr< std::list< observer * > > | m_observers |
Definition at line 30 of file subject.hpp.
|
Definition at line 23 of file subject.cpp. |
|
Definition at line 28 of file subject.cpp. |
|
Definition at line 42 of file subject.cpp. References m_observers. Referenced by geo_point::change_parent_algo(), geo_line::change_parent_algo(), point_algorithm::update(), line_algorithm::update(), geo_point::update(), and geo_line::update(). |
|
Definition at line 32 of file subject.cpp. References m_observers. |
|
Definition at line 37 of file subject.cpp. References m_observers. |
|
Definition at line 42 of file subject.hpp. Referenced by notice_all_observers(), register_observer(), and unregister_observer(). |