| 122 | } |
| 123 | |
| 124 | bool |
| 125 | DeltaMonitor::init(std::string &msg, const std::string &monitor_type, const std::string &o_file) |
| 126 | { |
| 127 | assert(!monitor_type.empty()); |
| 128 | |
| 129 | if (o_file.empty()) { |
| 130 | msg = "please specify the file for delta output by --delta-output [file]"; |
| 131 | return false; |
| 132 | } |
| 133 | DeltaMonitor::output_file_ = o_file; |
| 134 | |
| 135 | if (!DeltaMonitor::set_delta_type(msg, monitor_type)) { |
| 136 | return false; |
| 137 | } |
| 138 | |
| 139 | return true; |
| 140 | } |
| 141 | |
| 142 | bool |
| 143 | DeltaMonitor::init_for_running(std::string &msg, const std::string &monitor_type, |
nothing calls this directly
no outgoing calls
no test coverage detected