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::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::System::Leaf
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
 
ObjectHandleoperator= (ObjectHandle const &)=delete
 
virtual ~ObjectHandle ()=default
 
boost::string_ref name () const
 
Contextcontext () const
 Responsible context.
 
void construct (VariantMap const &params)
 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 &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 (std::vector< AutoParameter > &&params)
 
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::Systemm_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.

References params.

◆ 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()

void ScriptInterface::CellSystem::CellSystem::on_bind_system ( ::System::System system)
inlineoverrideprivatevirtual

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