45 std::shared_ptr<::CollisionDetection::CollisionDetection> m_handle;
46 std::unique_ptr<VariantMap> m_params;
47 std::shared_ptr<Protocol> m_protocol;
48 std::weak_ptr<::BondedInteractionsMap> m_bonded_ias;
49 std::weak_ptr<Interactions::BondedInteractions> m_so_bonded_ias;
58 m_handle->unset_protocol();
65 m_protocol->bind_bonded_ias(m_bonded_ias, m_so_bonded_ias);
66 m_handle->set_protocol(m_protocol->protocol());
71 m_handle->set_protocol(m_protocol->protocol());
74 m_handle->unset_protocol();
87 m_params = std::make_unique<VariantMap>(
params);
91 m_handle =
system.collision_detection;
92 m_handle->bind_system(
m_system.lock());
93 m_bonded_ias =
system.bonded_ias;
96 void attach(std::weak_ptr<Interactions::BondedInteractions> bonded_ias) {
97 m_so_bonded_ias = bonded_ias;
virtual void parallel_try_catch(std::function< void()> const &cb) const =0
boost::make_recursive_variant< None, bool, int, std::size_t, double, std::string, ObjectRef, Utils::Vector3b, Utils::Vector3i, Utils::Vector2d, Utils::Vector3d, Utils::Vector4d, std::vector< int >, std::vector< double >, std::vector< boost::recursive_variant_ >, std::unordered_map< int, boost::recursive_variant_ >, std::unordered_map< std::string, boost::recursive_variant_ > >::type Variant
Possible types for parameters.