20 #ifndef OST_MM_OBSERVER_HH
21 #define OST_MM_OBSERVER_HH
24 #include <boost/shared_ptr.hpp>
42 namespace ost {
namespace mol{
namespace mm{
57 virtual void Init(boost::shared_ptr<OpenMM::Context> c,
72 void Init(boost::shared_ptr<OpenMM::Context> c,
85 boost::shared_ptr<OpenMM::Context> context_;
97 : rhythm_(rhythm), pdb_filename_(pdb_filename),
98 dcd_filename_(dcd_filename), stream_(), registered_(false),
101 void Init(boost::shared_ptr<OpenMM::Context> c,
116 boost::shared_ptr<OpenMM::Context> context_;
120 std::ofstream stream_;
123 std::vector<float> x;
124 std::vector<float> y;
125 std::vector<float> z;
coordinate group, for trajectories and such
void Init(boost::shared_ptr< OpenMM::Context > c, TopologyPtr top, ost::mol::EntityHandle &ent)
boost::shared_ptr< Topology > TopologyPtr
boost::shared_ptr< TrajObserver > TrajObserverPtr
void Init(boost::shared_ptr< OpenMM::Context > c, TopologyPtr top, ost::mol::EntityHandle &ent)
virtual void Init(boost::shared_ptr< OpenMM::Context > c, TopologyPtr top, ost::mol::EntityHandle &ent)=0
TrajWriter(int rhythm, const String &pdb_filename, const String &dcd_filename)
boost::shared_ptr< TrajWriter > TrajWriterPtr
CoordGroupHandle GetTraj()
boost::shared_ptr< Observer > ObserverPtr