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

#include <CellSystem.hpp>

Inheritance diagram for ScriptInterface::CellSystem::CellSystem:
Collaboration diagram for ScriptInterface::CellSystem::CellSystem:

Public Member Functions

 CellSystem ()
void do_construct (VariantMap const &params) override
Variant do_call_method (std::string const &name, VariantMap const &params) override
auto & get_cell_structure () const
void configure (Particles::ParticleHandle &)
void configure (Particles::ParticleSlice &)
Public Member Functions inherited from ScriptInterface::AutoParameters< CellSystem, System::Leaf >
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::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.
void set_parameter (const std::string &name, const Variant &value)
 Set single parameter.
Variant call_method (const std::string &name, const VariantMap &params)
 Call a method on the object.
std::string serialize () const

Private Member Functions

void on_bind_system (::System::System &system) 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< CellSystem, System::Leaf >
 AutoParameters ()=default
 ~AutoParameters () override=default
bool has_parameter (std::string const &name) const override
void add_parameters (std::vector< AutoParameter > &&params)
auto const & get_parameter_insertion_order () const
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 45 of file CellSystem.hpp.

Constructor & Destructor Documentation

◆ CellSystem()

Member Function Documentation

◆ configure() [1/2]

void ScriptInterface::CellSystem::CellSystem::configure ( Particles::ParticleHandle & particle)

◆ configure() [2/2]

void ScriptInterface::CellSystem::CellSystem::configure ( Particles::ParticleSlice & slice)

◆ do_call_method()

◆ do_construct()

void ScriptInterface::CellSystem::CellSystem::do_construct ( VariantMap const & params)
inlineoverridevirtual

Reimplemented from ScriptInterface::ObjectHandle.

Definition at line 78 of file CellSystem.hpp.

◆ get_cell_structure()

auto & ScriptInterface::CellSystem::CellSystem::get_cell_structure ( ) const
inline

Definition at line 85 of file CellSystem.hpp.

Referenced by CellSystem(), and do_call_method().

◆ on_bind_system()


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