MCPcopy Create free account
hub / github.com/ddiakopoulos/polymer / connect_impl

Method connect_impl

libraries/lib-engine/src/core-events.cpp:146–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 event_manager_sync::~event_manager_sync() {}
145
146 event_manager_sync::connection event_manager_sync::connect_impl(poly_typeid type, const void * owner, event_handler handler)
147 {
148 const connection_id new_id = ++id;
149 handlers->add(type, new_id, owner, std::move(handler));
150 return connection(handlers, type, new_id);
151 }
152
153 void event_manager_sync::disconnect_impl(poly_typeid type, const void * owner) { /* todo */ }
154

Callers

nothing calls this directly

Calls 2

connectionClass · 0.85
addMethod · 0.45

Tested by

no test coverage detected