s='main'>index : libcamera/vivid.git
libcamera pipeline handler for VIVIDgit repository hosting on libcamera.org
summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/event_dispatcher_poll.h
blob: 39d9be525dabf3a3eeb1c55e45556a991e0307af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2019, Google Inc.
 *
 * event_dispatcher_poll.h - Poll-based event dispatcher
 */
#ifndef __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_POLL_H__
#define __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_POLL_H__

#include <list>
#include <map>
#include <vector>

#include <libcamera/event_dispatcher.h>

struct pollfd;

namespace libcamera {

class EventNotifier;
class Timer;

class EventDispatcherPoll final : public EventDispatcher