#pragma once /*========================================================================= medInria Copyright (c) INRIA 2013 - 2020. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =========================================================================*/ #include #include #include #include class medParameterPoolManagerLPrivate; class medParameterPoolManagerLToolBox; class medAbstractParameterL; class medParameterPoolL; class medAbstractView; class MEDCORELEGACY_EXPORT medParameterPoolManagerL : public QObject { Q_OBJECT public: ~medParameterPoolManagerL(); static medParameterPoolManagerL &instance(); QList > pools(); std::shared_ptr pool(QString poolId); QStringList pools(medAbstractParameterL *param); public slots: void linkParameter(medAbstractParameterL*, QString poolId); void unlinkParameter(medAbstractParameterL*); void removePool(QString); protected: medParameterPoolManagerL(); static std::unique_ptr s_instance; private: const std::unique_ptr d; };