#include <geo_point.hpp>
Inheritance diagram for geo_point:
Public Member Functions | |
geo_point (const std::string &name, boost::shared_ptr< point_algorithm > algo, boost::shared_ptr< point_formater_strategy > paint_strategy=boost::shared_ptr< point_normal_style >(new point_normal_style())) | |
virtual | ~geo_point () |
virtual std::ostream & | put (std::ostream &s) |
point | get_point () const |
void | change_parent_algo (boost::shared_ptr< point_algorithm > new_algo) |
virtual void | update () |
virtual void | draw (boost::shared_ptr< drawing_context > context) |
bool | is_free_point () |
Private Member Functions | |
geo_point (const geo_point &other) | |
const geo_point & | operator= (const geo_point &other) |
Private Attributes | |
boost::shared_ptr< point_algorithm > | m_parent_algorithm |
boost::shared_ptr< point_formater_strategy > | m_paint_strategy |
Definition at line 34 of file geo_point.hpp.
|
|
|
Definition at line 24 of file geo_point.cpp. References m_parent_algorithm. |
|
Definition at line 34 of file geo_point.cpp. References m_parent_algorithm. |
|
Definition at line 50 of file geo_point.cpp. References m_parent_algorithm, and subject::notice_all_observers(). |
|
Implements geo_element. Definition at line 62 of file geo_point.cpp. References get_point(), and m_paint_strategy. |
|
Definition at line 45 of file geo_point.cpp. References m_parent_algorithm. |
|
Definition at line 67 of file geo_point.cpp. References m_parent_algorithm. |
|
|
|
Implements geo_element. Definition at line 39 of file geo_point.cpp. References get_point(), point::get_x(), and point::get_y(). |
|
Implements geo_element. Definition at line 57 of file geo_point.cpp. References subject::notice_all_observers(). |
|
Definition at line 38 of file geo_point.hpp. Referenced by draw(). |
|
Definition at line 37 of file geo_point.hpp. Referenced by change_parent_algo(), geo_point(), get_point(), is_free_point(), and ~geo_point(). |