MCPcopy Create free account
hub / github.com/3rdparty/libprocess / handlerMutM

Method handlerMutM

include/process/protobuf.hpp:275–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected