ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <NonBondedInteraction.hpp>
Public Member Functions | |
NonBondedInteractionHandle () | |
Variant | do_call_method (std::string const &name, VariantMap const ¶ms) override |
void | do_construct (VariantMap const ¶ms) override |
void | attach (std::function< void(std::shared_ptr<::IA_parameters > const &)> cb_register, std::weak_ptr< std::function< void()> > cb_notify_cutoff_change) |
void | on_non_bonded_ia_change () |
Public Member Functions inherited from ScriptInterface::AutoParameters< NonBondedInteractionHandle > | |
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. | |
std::string | serialize () 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. | |
Protected Member Functions inherited from ScriptInterface::AutoParameters< NonBondedInteractionHandle > | |
AutoParameters ()=default | |
AutoParameters (std::vector< AutoParameter > &¶ms) | |
void | add_parameters (std::vector< AutoParameter > &¶ms) |
auto const & | get_parameter_insertion_order () const |
Definition at line 707 of file NonBondedInteraction.hpp.
|
inline |
Definition at line 765 of file NonBondedInteraction.hpp.
References ScriptInterface::AutoParameters< NonBondedInteractionHandle >::add_parameters(), ScriptInterface::ObjectHandle::name(), and params.
|
inline |
Definition at line 822 of file NonBondedInteraction.hpp.
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 784 of file NonBondedInteraction.hpp.
References ScriptInterface::ObjectHandle::call_method(), ScriptInterface::ObjectHandle::context(), ScriptInterface::ObjectHandle::name(), on_non_bonded_ia_change(), and params.
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 806 of file NonBondedInteraction.hpp.
References ScriptInterface::ObjectHandle::context(), ScriptInterface::ObjectHandle::name(), params, and ScriptInterface::ObjectHandle::set_parameter().
|
inline |
Definition at line 885 of file NonBondedInteraction.hpp.
Referenced by do_call_method().