ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <AccumulatorBase.hpp>
Public Member Functions | |
AccumulatorBase () | |
Variant | do_call_method (std::string const &method, VariantMap const ¶meters) override |
virtual std::shared_ptr< const ::Accumulators::AccumulatorBase > | accumulator () const =0 |
virtual std::shared_ptr<::Accumulators::AccumulatorBase > | accumulator ()=0 |
Public Member Functions inherited from ScriptInterface::AutoParameters< AccumulatorBase > | |
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. | |
virtual void | do_construct (VariantMap const ¶ms) |
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 |
Protected Member Functions | |
auto | get_core_system_pointer (VariantMap const ¶ms) const |
Protected Member Functions inherited from ScriptInterface::AutoParameters< AccumulatorBase > | |
AutoParameters ()=default | |
AutoParameters (std::vector< AutoParameter > &¶ms) | |
void | add_parameters (std::vector< AutoParameter > &¶ms) |
auto const & | get_parameter_insertion_order () const |
Private Member Functions | |
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. | |
Definition at line 36 of file script_interface/accumulators/AccumulatorBase.hpp.
|
inline |
Definition at line 38 of file script_interface/accumulators/AccumulatorBase.hpp.
References accumulator(), and ScriptInterface::AutoParameters< AccumulatorBase >::add_parameters().
|
pure virtual |
Implemented in ScriptInterface::Accumulators::Correlator, ScriptInterface::Accumulators::MeanVarianceCalculator, and ScriptInterface::Accumulators::TimeSeries.
Referenced by AccumulatorBase(), do_call_method(), and get_internal_state().
|
pure virtual |
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Reimplemented in ScriptInterface::Accumulators::Correlator, ScriptInterface::Accumulators::MeanVarianceCalculator, and ScriptInterface::Accumulators::TimeSeries.
Definition at line 45 of file script_interface/accumulators/AccumulatorBase.hpp.
References accumulator().
Referenced by ScriptInterface::Accumulators::Correlator::do_call_method(), ScriptInterface::Accumulators::MeanVarianceCalculator::do_call_method(), and ScriptInterface::Accumulators::TimeSeries::do_call_method().
|
inlineprotected |
Definition at line 63 of file script_interface/accumulators/AccumulatorBase.hpp.
References System::get_system(), and params.
Referenced by ScriptInterface::Accumulators::Correlator::do_construct(), ScriptInterface::Accumulators::MeanVarianceCalculator::do_construct(), and ScriptInterface::Accumulators::TimeSeries::do_construct().
|
inlineoverrideprivatevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 74 of file script_interface/accumulators/AccumulatorBase.hpp.
References accumulator().
|
inlineoverrideprivatevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 78 of file script_interface/accumulators/AccumulatorBase.hpp.
References ScriptInterface::ObjectHandle::call_method().