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

Method _handlerMutM

include/process/protobuf.hpp:343–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341
342 template <typename M>
343 static void _handlerMutM(
344 T* t,
345 void (T::*method)(M&&),
346 const process::UPID&,
347 const std::string& data)
348 {
349 M m;
350 m.ParseFromString(data);
351
352 if (m.IsInitialized()) {
353 (t->*method)(std::move(m));
354 } else {
355 LOG(WARNING) << "Initialization errors: "
356 << m.InitializationErrorString();
357 }
358 }
359
360 static void _handler0(
361 T* t,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected