A utility class to manage the automatic release of LCK's. More...
#include <core/DspAutoLCK.h>
Public Member Functions | |
tcDspAutoLCK (LCK_Handle aHandle) | |
This constructor is used to lock the specified LCK. | |
~tcDspAutoLCK () | |
This destructor is used to release the LCK specified on the constructor. |
A utility class to manage the automatic release of LCK's.
MityDSP::tcDspAutoLCK::tcDspAutoLCK | ( | LCK_Handle | aHandle | ) | [inline] |
This constructor is used to lock the specified LCK.
[in] | aHandle | Handle of the LCK object |
If aHandle is NULL, then no lock is performed.
MityDSP::tcDspAutoLCK::~tcDspAutoLCK | ( | ) | [inline] |
This destructor is used to release the LCK specified on the constructor.
The destructor will be automatically called when this object goes out of scope.