| 273 | |
| 274 | template <typename M> |
| 275 | static void handlerMutM( |
| 276 | T* t, |
| 277 | void (T::*method)(const process::UPID&, M&&), |
| 278 | const process::UPID& sender, |
| 279 | const std::string& data) |
| 280 | { |
| 281 | M m; |
| 282 | m.ParseFromString(data); |
| 283 | |
| 284 | if (m.IsInitialized()) { |
| 285 | (t->*method)(sender, std::move(m)); |
| 286 | } else { |
| 287 | LOG(WARNING) << "Initialization errors: " |
| 288 | << m.InitializationErrorString(); |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | static void handler0( |
| 293 | T* t, |
nothing calls this directly
no outgoing calls
no test coverage detected