ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
ScriptInterface::Interactions::NonBondedInteractions Class Reference

#include <NonBondedInteractions.hpp>

Inheritance diagram for ScriptInterface::Interactions::NonBondedInteractions:
Collaboration diagram for ScriptInterface::Interactions::NonBondedInteractions:

Public Types

using key_type = unsigned int
using mapped_type = std::shared_ptr<NonBondedInteractionHandle>

Public Member Functions

 ~NonBondedInteractions () override=default
void do_construct (VariantMap const &) override
Variant do_call_method (std::string const &method, VariantMap const &params) override
Public Member Functions inherited from ScriptInterface::System::Leaf
 ~Leaf () override=default
void bind_system (std::shared_ptr<::System::System > const &system)
void detach_system ()
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 &params)
 Construct the handled object.
VariantMap get_parameters () const
 Get current parameters.
virtual std::vector< std::string_view > valid_parameters () const
 Get required and optional parameters for class.
virtual bool has_parameter (std::string const &needle) const
virtual Variant get_parameter (std::string const &name) const
 Get single parameter.
void set_parameter (const std::string &name, const Variant &value)
 Set single parameter.
virtual void do_set_parameter (const std::string &, const Variant &)
 Local implementation of set_parameter.
Variant call_method (const std::string &name, const VariantMap &params)
 Call a method on the object.
std::string serialize () const
virtual std::vector< std::pair< std::string, Variant > > serialize_parameters () const
 Serialize parameters.

Private Member Functions

void on_bind_system (::System::System &system) override
std::string get_internal_state () const override
void set_internal_state (std::string const &state) 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::System::Leaf
auto const & get_system () const
auto & get_system ()
Protected Attributes inherited from ScriptInterface::System::Leaf
std::weak_ptr<::System::System > m_system

Detailed Description

Definition at line 43 of file NonBondedInteractions.hpp.

Member Typedef Documentation

◆ key_type

◆ mapped_type

Constructor & Destructor Documentation

◆ ~NonBondedInteractions()

ScriptInterface::Interactions::NonBondedInteractions::~NonBondedInteractions ( )
overridedefault

Member Function Documentation

◆ do_call_method()

Variant ScriptInterface::Interactions::NonBondedInteractions::do_call_method ( std::string const & method,
VariantMap const & params )
inlineoverridevirtual

◆ do_construct()

void ScriptInterface::Interactions::NonBondedInteractions::do_construct ( VariantMap const & )
inlineoverridevirtual

Reimplemented from ScriptInterface::ObjectHandle.

Definition at line 57 of file NonBondedInteractions.hpp.

◆ get_internal_state()

std::string ScriptInterface::Interactions::NonBondedInteractions::get_internal_state ( ) const
inlineoverrideprivatevirtual

Reimplemented from ScriptInterface::ObjectHandle.

Definition at line 155 of file NonBondedInteractions.hpp.

References Utils::pack().

◆ on_bind_system()

void ScriptInterface::Interactions::NonBondedInteractions::on_bind_system ( ::System::System & system)
inlineoverrideprivatevirtual

◆ set_internal_state()

void ScriptInterface::Interactions::NonBondedInteractions::set_internal_state ( std::string const & state)
inlineoverrideprivatevirtual

The documentation for this class was generated from the following file: