Line data Source code
1 : #ifndef CRPROPA_OUTPUTSHELL_H
2 : #define CRPROPA_OUTPUTSHELL_H
3 :
4 : #include "crpropa/Module.h"
5 : #include "crpropa/Variant.h"
6 :
7 : #include <unordered_map>
8 :
9 : namespace crpropa {
10 : /**
11 : * \addtogroup Output
12 : * @{
13 : */
14 :
15 : /**
16 : @class ShellOutput
17 : @brief Show the trajectory in the shell.
18 : */
19 0 : class ShellOutput: public Module {
20 : public:
21 : void process(Candidate *candidate) const;
22 : std::string getDescription() const;
23 : };
24 :
25 : /**
26 : @class ShellOutput1D
27 : @brief Show the trajectory in the shell.
28 : */
29 0 : class ShellOutput1D: public Module {
30 : public:
31 : void process(Candidate *candidate) const;
32 : std::string getDescription() const;
33 : };
34 :
35 : /**
36 : @class ShellPropertyOutput
37 : @brief Show the candidate properties in the shell.
38 : */
39 0 : class ShellPropertyOutput: public Module {
40 : public:
41 : typedef std::unordered_map<std::string, Variant> PropertyMap;
42 : void process(Candidate *candidate) const;
43 : std::string getDescription() const;
44 : };
45 : /** @}*/
46 :
47 : } // namespace cprpropa
48 :
49 : #endif // CRPROPA_OUTPUTSHELL_H
|