33#include <NDEVR/ResourceListener.h>
#define lib_assert(expression, message)
Definition LibAssert.h:61
Simple version of ResourceListener which allows for a simple function callback that will be executed ...
Definition BasicResourceListener.h:42
void onValueChanged() override final
Definition BasicResourceListener.h:52
BasicResourceListener(const std::function< void()> &callback)
Definition BasicResourceListener.h:44
const std::function< void()> m_callback
Definition BasicResourceListener.h:56
virtual ~BasicResourceListener()
Definition BasicResourceListener.h:50
A class that can subscribe to any number of Resources which will get updates when the Resource(s) hav...
Definition ResourceListener.h:62