#include <LOW_device.h>
Inheritance diagram for LOW_device::linkLock:


Public Methods | |
| linkLock (const LOW_device &inDev) | |
| Obtain the lock. More... | |
| ~linkLock () | |
| Release the lock. More... | |
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. |
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001