ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <Protocol.hpp>
Public Member Functions | |
virtual std::shared_ptr<::CollisionDetection::ActiveProtocol > | protocol ()=0 |
void | bind_bonded_ias (std::weak_ptr< BondedInteractionsMap > bonded_ias, std::weak_ptr< Interactions::BondedInteractions > so_bonded_ias) |
void | do_construct (VariantMap const ¶ms) override |
Public Member Functions inherited from ScriptInterface::AutoParameters< Protocol > | |
std::span< const boost::string_ref > | valid_parameters () const final |
Variant | get_parameter (const std::string &name) const final |
void | do_set_parameter (const std::string &name, const Variant &value) final |
std::vector< std::pair< std::string, Variant > > | serialize_parameters () const final |
Public Member Functions inherited from ScriptInterface::ObjectHandle | |
ObjectHandle ()=default | |
ObjectHandle (ObjectHandle const &)=delete | |
ObjectHandle & | operator= (ObjectHandle const &)=delete |
virtual | ~ObjectHandle ()=default |
boost::string_ref | name () const |
Context * | context () const |
Responsible context. | |
void | construct (VariantMap const ¶ms) |
Construct the handled object. | |
VariantMap | get_parameters () const |
Get current parameters. | |
auto | get_valid_parameters () const |
void | set_parameter (const std::string &name, const Variant &value) |
Set single parameter. | |
Variant | call_method (const std::string &name, const VariantMap ¶ms) |
Call a method on the object. | |
virtual Variant | do_call_method (const std::string &, const VariantMap &) |
Local implementation of call_method . | |
std::string | serialize () const |
Protected Member Functions | |
auto | find_bond_id (Variant const &v) const |
auto | get_bond_variant_by_id (int bond_id) |
virtual void | do_initialize (VariantMap const ¶ms)=0 |
Protected Member Functions inherited from ScriptInterface::AutoParameters< Protocol > | |
AutoParameters ()=default | |
AutoParameters (std::vector< AutoParameter > &¶ms) | |
void | add_parameters (std::vector< AutoParameter > &¶ms) |
auto const & | get_parameter_insertion_order () const |
Additional Inherited Members | |
Static Public Member Functions inherited from ScriptInterface::ObjectHandle | |
static ObjectRef | deserialize (const std::string &state, Context &ctx) |
Make object from serialized state. | |
Definition at line 42 of file collision_detection/Protocol.hpp.
|
inline |
Definition at line 49 of file collision_detection/Protocol.hpp.
References do_initialize().
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 60 of file collision_detection/Protocol.hpp.
References params.
|
protectedpure virtual |
|
inlineprotected |
|
inlineprotected |
Definition at line 84 of file collision_detection/Protocol.hpp.
Referenced by ScriptInterface::CollisionDetection::BindAtPointOfCollision::BindAtPointOfCollision(), ScriptInterface::CollisionDetection::BindCenters::BindCenters(), and ScriptInterface::CollisionDetection::GlueToSurface::GlueToSurface().
|
pure virtual |