![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <ReactionAlgorithm.hpp>
Inheritance diagram for ScriptInterface::ReactionMethods::ReactionAlgorithm:
Collaboration diagram for ScriptInterface::ReactionMethods::ReactionAlgorithm:Public Member Functions | |
| void | do_construct (VariantMap const ¶ms) override |
| Variant | do_call_method (std::string const &name, VariantMap const ¶ms) override |
Public Member Functions inherited from ScriptInterface::AutoParameters< ReactionAlgorithm > | |
| std::vector< std::string_view > | 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 |
| std::string_view | name () const |
| Context * | context () const |
| Responsible context. | |
| void | construct (VariantMap const ¶ms) |
| Construct the handled object. | |
| VariantMap | get_parameters () const |
| Get current parameters. | |
| 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. | |
| std::string | serialize () const |
Protected Attributes | |
| std::shared_ptr< Particles::ParticleModifier > | m_particle_modifier |
Private Member Functions | |
| std::string | get_internal_state () const override |
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. | |
Protected Member Functions inherited from ScriptInterface::AutoParameters< ReactionAlgorithm > | |
| AutoParameters ()=default | |
| AutoParameters (std::vector< AutoParameter > &¶ms) | |
| ~AutoParameters () override=default | |
| bool | has_parameter (std::string const &name) const override |
| void | add_parameters (std::vector< AutoParameter > &¶ms) |
| auto const & | get_parameter_insertion_order () const |
Definition at line 34 of file ReactionAlgorithm.hpp.
|
overridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 44 of file ReactionAlgorithm.cpp.
References ScriptInterface::ObjectHandle::context(), ScriptInterface::Context::get_comm(), ScriptInterface::get_value(), ScriptInterface::Context::is_head_node(), m_particle_modifier, ScriptInterface::ObjectHandle::name(), and ScriptInterface::Context::parallel_try_catch().
|
overridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 126 of file ReactionAlgorithm.cpp.
References ScriptInterface::get_value(), and m_particle_modifier.
|
inlineoverrideprivatevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 47 of file ReactionAlgorithm.hpp.
|
protected |
Definition at line 44 of file ReactionAlgorithm.hpp.
Referenced by do_call_method(), and do_construct().