HOPS
HOPS class reference
MHO_PythonSubprocessContract.hh
Go to the documentation of this file.
1 #ifndef MHO_PythonSubprocessContract_HH__
2 #define MHO_PythonSubprocessContract_HH__
3 
4 #include <string>
5 
6 namespace hops
7 {
8 namespace python_subprocess
9 {
10 
43 //bump when the request/response field layout changes incompatibly
44 static const int kSchemaVersion = 1;
45 
46 //common field names
47 static const char* const kSchemaVersionKey = "schema_version";
48 static const char* const kOkKey = "ok";
49 static const char* const kErrorKey = "error";
50 
51 //control request/response
52 namespace control
53 {
54 static const char* const kModule = "hops_control"; // python -m hops_control
55 static const char* const kPassInfoKey = "pass_info";
56 static const char* const kConfigKey = "config";
57 static const char* const kScriptPathKey = "script_path";
58 static const char* const kStatementsKey = "statements";
59 } // namespace control
60 
61 //plot request/response
62 namespace plot
63 {
64 static const char* const kModule = "hops_visualization.fourfit_plot";
65 static const char* const kPlotDictKey = "plot_dict";
66 static const char* const kShowPlotKey = "show_plot";
67 static const char* const kDiskFileKey = "disk_file";
68 static const char* const kOutputFileKey = "output_file";
69 } // namespace plot
70 
71 } // namespace python_subprocess
72 
73 } // namespace hops
74 
75 #endif
struct type_plot plot
Definition: fourfit3.c:57
Definition: MHO_AdhocFlagging.hh:18