Jetson Linux API 参考文档

32.7.4 版本
EventQueue.h
前往此文件的文档。
1 /*
2  * 版权所有 (c) 2016-2017, NVIDIA CORPORATION。保留所有权利。
3  *
4  * 只要满足以下条件,就允许以源代码和二进制形式重新分发和使用,无论是否经过
5  * 修改:
6  *
7  * * 源代码的重新分发必须保留上述版权声明、
8  * 此条件列表以及以下免责声明。
9  * * 二进制形式的重新分发必须在随发行版提供的
10  * 文档和/或其他材料中复制上述版权声明、此条件列表和以下免责声明。
11  *
12  * * 未经事先书面许可,不得使用 NVIDIA CORPORATION 的名称或其
13  * 贡献者的名称来认可或推广源自
14  * 本软件的产品。
15  *
16  * 本软件由版权所有者“按原样”提供,并且不作任何明示或暗示的担保,包括但不限于
17  * 适销性和针对特定用途的适用性的暗示担保。在任何情况下,版权所有者或
18  * 贡献者均不对任何直接、间接、附带、特殊、
19  * 惩戒性或后果性损害(包括但不限于
20  * 替代商品或服务的采购;使用、数据或
21  * 利润损失;或业务中断)承担任何责任,无论其成因和任何责任理论
22  * (无论是合同、严格责任还是侵权行为
23  * (包括疏忽或其他情况))如何产生,即使已被告知可能发生此类损害。
24  *
25  *
26  */
27 
28 
36 #ifndef _ARGUS_EVENT_QUEUE_H
37 #define _ARGUS_EVENT_QUEUE_H
38 
39 namespace Argus
40 {
41 
51 {
52 protected
54 };
55 
63 DEFINE_UUID(InterfaceID, IID_EVENT_QUEUE, 944b11f6,e512,49ad,8573,fc,82,3e,02,25,ed);
64 class IEventQueue : public Interface
65 {
66 public
67  static const InterfaceID& id() { return IID_EVENT_QUEUE; }
68 
76  virtual Status getEventTypes(std::vector<EventType>* types) const = 0;
77 
84  virtual const Event* getNextEvent() = 0;
85 
89  virtual uint32_t getSize() const = 0;
90 
96  virtual const Event* getEvent(uint32_t index) const = 0;
97 
98 protected
100 };
101 
102 } // namespace Argus
103 
104 #endif // _ARGUS_EVENT_QUEUE_H
Argus::DEFINE_UUID
DEFINE_UUID(ExtensionName, EXT_BAYER_AVERAGE_MAP, 12c3de20, 64c5, 11e6, bdf4, 08, 00, 20, 0c, 9a, 66)
Argus
Definition: BayerAverageMap.h:39
Argus::Interface
顶层接口类。
Definition: Types.h:346
Argus::IEventQueue::id
static const InterfaceID & id()
Definition: EventQueue.h:67
Argus::IEventQueue
Definition: EventQueue.h:64
Argus::EventQueue
Definition: EventQueue.h:50
Argus::InterfaceID
libargus 接口的唯一标识符。
Definition: Types.h:356
Argus::InterfaceProvider
为提供 libargus 接口的类提供的基础接口。
Definition: Types.h:377
Argus::EventQueue::~EventQueue
~EventQueue()
Definition: EventQueue.h:53
Argus::Event
Definition: Event.h:51
Argus::IEventQueue::getEventTypes
virtual Status getEventTypes(std::vector< EventType > *types) const =0
返回此队列将接收的事件类型。
Argus::IEventQueue::getSize
virtual uint32_t getSize() const =0
返回队列中事件的数量。
Argus::IEventQueue::getNextEvent
virtual const Event * getNextEvent()=0
返回队列中的下一个事件(即索引 0 处的事件)。
Argus::Destructable
客户端创建和拥有的 libargus 对象的顶层对象类。
Definition: Types.h:414
Argus::IEventQueue::~IEventQueue
~IEventQueue()
Definition: EventQueue.h:99
Argus::IEventQueue::getEvent
virtual const Event * getEvent(uint32_t index) const =0
返回具有给定索引的事件,其中索引 0 对应于最旧的事件,而 [getSize() ...
Argus::Status
Status
API 函数调用返回的状态值。
Definition: Types.h:93
. All rights reserved.