#include <Packet.h>
Public Member Functions | |
~PacketLock () | |
Protected Member Functions | |
PacketLock (PacketReadCache *cache, unsigned cacheIndex) | |
Only PacketReadCache can construct. More... | |
Protected Attributes | |
PacketReadCache * | cache_ = nullptr |
unsigned int | cacheIndex_ = 0 |
Friends | |
class | PacketReadCache |
PacketLock::~PacketLock | ( | ) |
Note cache must live longer than lock, this is reasonable assumption.
References cache_, cacheIndex_, and e57::PacketReadCache::unlock().
|
protected |
Only PacketReadCache can construct.
|
friend |
|
protected |
Referenced by ~PacketLock().
|
protected |
Referenced by ~PacketLock().