22#ifndef SCRIPT_INTERFACE_OBSERVABLES_PARAMLESSOBSERVABLE_HPP
23#define SCRIPT_INTERFACE_OBSERVABLES_PARAMLESSOBSERVABLE_HPP
48template <
class CoreObs>
53 std::shared_ptr<::Observables::Observable>
observable()
const override {
58 std::shared_ptr<CoreObs> m_observable;
62#define NEW_PARAMLESS_OBSERVABLE(name) \
63 using name = ParamlessObservableInterface<::Observables::name>;
#define NEW_PARAMLESS_OBSERVABLE(name)
Base class for script interfaces to core observables classes.
Cython interface for parameter-free observables.
ParamlessObservableInterface()
std::shared_ptr<::Observables::Observable > observable() const override
This file contains the defaults for ESPResSo.
T get_value(Variant const &v)
Extract value of specific type T from a Variant.