#include <string>
#include <vector>
-#include "../legacyheaders/typedefs.h"
+#include <boost/shared_ptr.hpp>
-#include "../selection/selection.h" // For gmx::SelectionList
-#include "../utility/common.h"
-#include "../utility/uniqueptr.h"
+#include "gromacs/selection/selection.h" // For gmx::SelectionList
+#include "gromacs/utility/common.h"
+
+struct t_pbc;
+struct t_trxframe;
namespace gmx
{
};
//! Smart pointer to manage a TrajectoryAnalysisModuleData object.
-typedef gmx_unique_ptr<TrajectoryAnalysisModuleData>::type
+typedef boost::shared_ptr<TrajectoryAnalysisModuleData>
TrajectoryAnalysisModuleDataPointer;
/*! \brief
*
* The default implementation does nothing.
*/
- virtual void initAfterFirstFrame(const t_trxframe &fr);
+ virtual void initAfterFirstFrame(const TrajectoryAnalysisSettings &settings,
+ const t_trxframe &fr);
/*! \brief
* Starts the analysis of frames.
};
//! Smart pointer to manage a TrajectoryAnalysisModule.
-typedef gmx_unique_ptr<TrajectoryAnalysisModule>::type
+typedef boost::shared_ptr<TrajectoryAnalysisModule>
TrajectoryAnalysisModulePointer;
} // namespace gmx