libcamera/base: Move extended base functionality

Move the functionality for the following components to the new
base support library:

 - BoundMethod
 - EventDispatcher
 - EventDispatcherPoll
 - Log
 - Message
 - Object
 - Signal
 - Semaphore
 - Thread
 - Timer

While it would be preferable to see these split to move one component
per commit, these components are all interdependent upon each other,
which leaves us with one big change performing the move for all of them.

Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Kieran Bingham 2021-06-15 16:15:12 +01:00
parent 6410d1d37c
commit 27aff949fb
161 changed files with 390 additions and 366 deletions

View file

@ -14,10 +14,11 @@
#include <libcamera/camera.h>
#include <libcamera/camera_manager.h>
#include "libcamera/internal/event_dispatcher.h"
#include <libcamera/base/event_dispatcher.h>
#include <libcamera/base/thread.h>
#include <libcamera/base/timer.h>
#include "libcamera/internal/file.h"
#include "libcamera/internal/thread.h"
#include "libcamera/internal/timer.h"
#include "test.h"