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

Method DispatchEvent

include/process/event.hpp:180–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178struct DispatchEvent : Event
179{
180 DispatchEvent(
181 std::unique_ptr<lambda::CallableOnce<void(ProcessBase*)>> _f,
182 const Option<const std::type_info*>& _functionType)
183 : f(std::move(_f)),
184 functionType(_functionType)
185 {}
186
187 DispatchEvent(DispatchEvent&&) = default;
188 DispatchEvent(const DispatchEvent&) = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected