diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-20 00:09:23 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-23 22:36:30 +0200 |
commit | 7aeff19555cefed28c49fea73618f3f853c3f1bd (patch) | |
tree | 8c39ac8af65d087ca64845b9d749b5c8e4f9c4ca /test/threads.cpp | |
parent | a4be7bb5ff4d4dce1fdc942a103f6360dad91f11 (diff) |
libcamera: camera: Centralize state checks in Private class
Move all accesses to the state_ and disconnected_ members to functions
of the Private class. This will make it easier to implement
synchronization, and simplifies the Camera class implementation.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/threads.cpp')
0 files changed, 0 insertions, 0 deletions