MCPcopy Create free account
hub / github.com/GPUOpen-Tools/GPU-Reshape / Register

Method Register

Source/Libraries/Bridge/Source/MemoryBridge.cpp:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31#include <Message/MessageStream.h>
32
33void MemoryBridge::Register(MessageID mid, const ComRef<IBridgeListener>& listener) {
34 MutexGuard guard(mutex);
35
36 MessageBucket& bucket = buckets[mid];
37 bucket.listeners.push_back(listener);
38}
39
40void MemoryBridge::Deregister(MessageID mid, const ComRef<IBridgeListener>& listener) {
41 MutexGuard guard(mutex);

Callers 14

InstallMethod · 0.45
PLUGIN_INSTALLFunction · 0.45
PLUGIN_INSTALLFunction · 0.45
PLUGIN_INSTALLFunction · 0.45
InstallMethod · 0.45
PLUGIN_INSTALLFunction · 0.45
PLUGIN_INSTALLFunction · 0.45
PLUGIN_INSTALLFunction · 0.45
PLUGIN_INSTALLFunction · 0.45
PLUGIN_INSTALLFunction · 0.45
CreateProgramMethod · 0.45
PLUGIN_INSTALLFunction · 0.45

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected