Pteros  2.0
Molecular modeling library for human beings!
consumer.h
1 /*
2  *
3  * This source code is part of
4  * ******************
5  * *** Pteros ***
6  * ******************
7  * molecular modeling library
8  *
9  * Copyright (c) 2009-2013, Semen Yesylevskyy
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of Artistic License:
13  *
14  * Please note, that Artistic License is slightly more restrictive
15  * then GPL license in terms of distributing the modified versions
16  * of this software (they should be approved first).
17  * Read http://www.opensource.org/licenses/artistic-license-2.0.php
18  * for details. Such license fits scientific software better then
19  * GPL because it prevents the distribution of bugged derivatives.
20  *
21 */
22 
23 #ifndef CONSUMER_H
24 #define CONSUMER_H
25 
26 #include "pteros/analysis/consumer_base.h"
27 #include "pteros/analysis/jump_remover.h"
28 #include "pteros/core/pteros_error.h"
29 
30 namespace pteros {
31 
34 class Consumer: public Consumer_base {
35 public:
37 
38  Jump_remover jump_remover;
39 
40 protected:
41  virtual void process_frame_data(Frame& data);
42  virtual void process_frame_handler(const Frame_info& info);
43 };
44 
45 }
46 
47 #endif
Definition of single trajectory frame.
Definition: system.h:67
Pteros namespace.
Definition: options.cpp:32
The base class for trajectory processing It provides facilities for loading large trajectories by fra...
Definition: trajectory_processor.h:43
Information about current frame, which is passed to Consumer for analysis along with the frame itself...
Definition: frame_info.h:31
Base class for asynchronous data analysis.
Definition: consumer_base.h:55
Normal consumer.
Definition: consumer.h:34