MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ unregister_process_hook()

void MayaFlux::Core::SubsystemManager::unregister_process_hook ( SubsystemType  type,
const std::string &  name 
)

Remove a previously registered processing hook.

Parameters
typeSubsystemType the hook is attached to
nameUnique identifier of the hook to remove

Removes the named hook from the specified subsystem's processing cycle.

Definition at line 337 of file SubsystemManager.cpp.

338{
339 auto handle = get_validated_handle(type);
340 if (!handle)
341 return;
342
343 if (handle->pre_process_hooks.erase(name) == 0) {
344 handle->post_process_hooks.erase(name);
345 }
346}
vk::PhysicalDeviceType type
Definition VKDevice.cpp:126
std::string name
Definition VKDevice.cpp:123
SubsystemProcessingHandle * get_validated_handle(SubsystemType type) const
Get processing handle with validation.

References get_validated_handle(), name, and type.

+ Here is the call graph for this function: