view::view(kernel::object_create_t const& oc, std::vector<geo_point_2> const& points) : base_view_presentation(oc) , obj_data_base (settings_t(),make_anchor_points(points)) , extra_route_chart_ (extra_route_chart(this)) { points_changed(); msg_disp() .add<msg::add_point_msg >(boost::bind(&view::on_point_added , this, _1)) .add<msg::settings_msg_t> (boost::bind(&view::on_settings, this, _1)) ; }
static result_type call(F f, X x, nt2::details::option_expr<Xpr> const& opt) { typename boost::dispatch::make_functor<tag_t, F>::type callee; return callee (f, x, settings_t(opt)); }
namespace_state_t::settings_t namespace_state_t::settings() const { return settings_t(*this); }
mastermind::namespace_state_t::settings_t mastermind::namespace_state_t::settings() const { return settings_t(*this); }