#include <gnuradio/custom_lock.h>
Public Member Functions | |
virtual | ~custom_lock_if () |
virtual void | on_lock (gr::thread::scoped_lock &lock)=0 |
virtual void | on_unlock ()=0 |
Custom lock interface. Objects should implement this interface in order to use the custom_lock object below. The interface defines two functions that, as their names suggest, are called when the lock is locked and unlocked respectively.
|
inlinevirtual |
|
pure virtual |
This function will be executed on construction of the custom lock.
Implemented in gr::buffer.
|
pure virtual |
This function will be executed on destruction of the custom lock.
Implemented in gr::buffer.