#include <point_algorithm.hpp>
Inheritance diagram for point_algorithm:
Public Member Functions | |
point_algorithm () | |
virtual | ~point_algorithm () |
virtual void | update () |
uses the "template method"-pattern. | |
point | get_point () |
virtual bool | is_free () |
Protected Member Functions | |
virtual point | calculate ()=0 |
Protected Attributes | |
boost::shared_ptr< point > | m_calculated_point |
Definition at line 30 of file point_algorithm.hpp.
|
Definition at line 23 of file point_algorithm.cpp. |
|
Definition at line 27 of file point_algorithm.cpp. |
|
Implemented in free_point_algorithm, and lines_meet_algorithm. Referenced by update(). |
|
Definition at line 39 of file point_algorithm.cpp. References m_calculated_point. |
|
Reimplemented in free_point_algorithm. Definition at line 44 of file point_algorithm.cpp. |
|
uses the "template method"-pattern.
Implements algorithm. Definition at line 33 of file point_algorithm.cpp. References calculate(), m_calculated_point, and subject::notice_all_observers(). |
|
Definition at line 34 of file point_algorithm.hpp. Referenced by get_point(), and update(). |