Add some more methods

This commit is contained in:
2021-01-04 22:30:40 +01:00
parent 55e72222ba
commit 89ec52abf1
3 changed files with 8 additions and 0 deletions

View File

@@ -207,6 +207,11 @@ namespace openVulkanoCpp
}
public:
[[nodiscard]] bool HasHandlers() const
{
return !handlers.empty();
}
void NotifyAll(Arguments... args) const
{
std::shared_lock<std::shared_mutex> lock(mutex);