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

Method remove

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

Source from the content-addressed store, hash-verified

97 }
98
99 void remove(poly_typeid type, connection_id id, const void * owner)
100 {
101 tagged_event_handler handler(id, owner, nullptr);
102 if (dispatch_count > 0) command_queue.emplace_back(type, std::move(handler));
103 else remove_impl(type, std::move(handler));
104 }
105
106 bool dispatch(const event_wrapper & event)
107 {

Callers 1

disconnectMethod · 0.45

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected