#include <LOW_device.h>
Inheritance diagram for LOW_device::linkLock:
Public Member Functions | |
linkLock (const LOW_device &inDev) | |
Obtain the lock. | |
~linkLock () | |
Release the lock. |
The class is intended to be used in a "locking is creation" design pattern. On creation an exclusive loxk is optained for the device, and on destruction the lock is released. Implemented by obtaining a LOW_link::commLock for the link the device is on.
Definition at line 116 of file LOW_device.h.
|
Obtain the lock.
Definition at line 36 of file LOW_device.cpp. |
|
Release the lock.
Definition at line 41 of file LOW_device.cpp. |