#ifndef M_DYNAMIX_PIPE_PROCESS_H
#define M_DYNAMIX_PIPE_PROCESS_H

#ifndef M_DYNAMIX_PROCESS_H
#include "M_DynaMix_process.h"
#endif

#include <stdio.h> //fix

namespace MM
{

class M_DynaMix_pipe_process : public M_DynaMix_process
{
    FILE *  output_;

public:
    M_DynaMix_pipe_process (Interface_for_M_DynaMix_process & simulator);

    void    start (Atom_group * ordered_atoms);
    void    stop  ();

protected:
    bool    init_process  ();
    void    close_process ();
    void    read_mDynaMix_output (Atom_group * ordered_atoms);
};
}//MM

#endif //M_DYNAMIX_PIPE_PROCESS_H
