![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Cython interface for parameter-free observables. More...
#include <ParamlessObservable.hpp>
Public Member Functions | |
| ParamlessObservableInterface () | |
| std::shared_ptr<::Observables::Observable > | observable () const override |
| Public Member Functions inherited from ScriptInterface::Observables::Observable | |
| Variant | do_call_method (std::string const &method, VariantMap const &) override |
| 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 ¶ms) |
| Construct the handled object. | |
| virtual void | do_construct (VariantMap const ¶ms) |
| 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 ¶ms) |
| Call a method on the object. | |
| std::string | serialize () const |
| virtual std::vector< std::pair< std::string, Variant > > | serialize_parameters () const |
| Serialize parameters. | |
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. | |
Cython interface for parameter-free observables.
Create new observables with NEW_PARAMLESS_OBSERVABLE.
| CoreObs | The core class exposed in Cython by this class. |
Definition at line 46 of file ParamlessObservable.hpp.
|
inline |
Definition at line 48 of file ParamlessObservable.hpp.
|
inlineoverridevirtual |
Implements ScriptInterface::Observables::Observable.
Definition at line 50 of file ParamlessObservable.hpp.