MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / add

Method add

libcaf_test/caf/test/registry.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38ptrdiff_t registry::add(factory* new_factory) {
39 if (head_ == nullptr)
40 head_ = new_factory;
41 else
42 tail_->next_ = new_factory;
43 tail_ = new_factory;
44 return reinterpret_cast<ptrdiff_t>(new_factory);
45}
46
47ptrdiff_t registry::add_init_callback(void_function callback) {
48 return instance().add(callback);

Callers 11

WITH_FIXTUREFunction · 0.45
WITH_FIXTUREFunction · 0.45
observe_onMethod · 0.45
configMethod · 0.45
configMethod · 0.45
configMethod · 0.45
configMethod · 0.45
configMethod · 0.45
addFunction · 0.45
add_init_callbackMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected