36 #ifndef _ARGUS_EVENT_H
37 #define _ARGUS_EVENT_H
74 , uint16_t time_hi_and_version_
76 , uint8_t c0, uint8_t c1, uint8_t c2, uint8_t c3, uint8_t c4, uint8_t c5
78 :
NamedUUID(time_low_, time_mid_, time_hi_and_version_, clock_seq_,
79 c0, c1, c2, c3, c4, c5, name)
83 :
NamedUUID(0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
"EVENT_TYPE_UNSPECIFIED")
94 DEFINE_UUID(EventType, EVENT_TYPE_ERROR, 2c80d8b0,2bfd,11e5,a2cb,08,00,20,0c,9a,66);
97 DEFINE_UUID(EventType, EVENT_TYPE_CAPTURE_STARTED, 2c80d8b1,2bfd,11e5,a2cb,08,00,20,0c,9a,66);
100 DEFINE_UUID(EventType, EVENT_TYPE_CAPTURE_COMPLETE, 2c80d8b2,2bfd,11e5,a2cb,08,00,20,0c,9a,66);
108 DEFINE_UUID(InterfaceID, IID_EVENT, 98bcb49e,fd7d,11e4,a322,16,97,f9,25,ec,7b);
123 virtual uint64_t
getTime()
const = 0;
139 DEFINE_UUID(InterfaceID, IID_EVENT_ERROR, 13e0fc70,1ab6,11e5,b939,08,00,20,0c,9a,66);
160 DEFINE_UUID(InterfaceID, IID_EVENT_CAPTURE_COMPLETE, 8b2b40b5,f1e4,4c4d,ae1c,f3,93,f6,54,06,d5);
187 #endif // _ARGUS_EVENT_H
virtual EventType getEventType() const =0
Returns the event type.
The base interface for a class that provides libargus Interfaces.
An Event represents an asynchronous result.
virtual Status getStatus() const =0
Returns the Status value describing the error.
virtual uint64_t getTime() const =0
Returns the time of the event, in nanoseconds.
Status
Status values returned by API function calls.
EventType(uint32_t time_low_, uint16_t time_mid_, uint16_t time_hi_and_version_, uint16_t clock_seq_, uint8_t c0, uint8_t c1, uint8_t c2, uint8_t c3, uint8_t c4, uint8_t c5, const char *name)
The top-level interface class.
The interface common to all event types.
A unique identifier for a particular type of Event.
virtual const CaptureMetadata * getMetadata() const =0
Returns all dynamic metadata associated with this capture.
static const InterfaceID & id()
virtual uint32_t getCaptureId() const =0
Returns the capture id for the event.
DEFINE_UUID(ExtensionName, EXT_BAYER_SHARPNESS_MAP, 7d5e0470, 4ea6, 11e6, bdf4, 08, 00, 20, 0c, 9a, 66)
The Ext::BayerSharpnessMap extension adds internally-generated sharpness metrics to CaptureMetadata r...
A unique identifier with a name (primarily for debugging purposes).
virtual Status getStatus() const =0
Returns the error status of the metadata event.
static const InterfaceID & id()
The interface that exposes the properties for an ERROR event.
A unique identifier for an libargus Interface.
The interface that exposes the properties for a CAPTURE_COMPLETE event.
static const InterfaceID & id()