Add function calls to MdModules to sign up for notifications
[alexxy/gromacs.git] / src / gromacs / restraint / restraintmdmodule.h
index c6ec4b56153a883d0f0107a34ec9079ebfd60320..2a0c75784a93de6f2f8580a1ea7983829fb3a57c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -53,6 +53,7 @@ namespace gmx
 
 // Forward declaration to allow opaque pointer to library internal class.
 class RestraintMDModuleImpl;
+struct MdModulesNotifier;
 
 /*! \libinternal \ingroup module_restraint
  * \brief MDModule wrapper for Restraint implementations.
@@ -115,6 +116,11 @@ public:
      */
     void initForceProviders(ForceProviders* forceProviders) override;
 
+    //! Subscribe to simulation setup notifications
+    void subscribeToSimulationSetupNotifications(MdModulesNotifier* notifier) override;
+    //! Subscribe to pre processing notifications
+    void subscribeToPreProcessingNotifications(MdModulesNotifier* notifier) override;
+
 private:
     /*!
      * \brief Private implementation opaque pointer.