36 #ifndef _ARGUS_EVENT_H
37 #define _ARGUS_EVENT_H
67 , uint16_t time_hi_and_version_
69 , uint8_t c0, uint8_t c1, uint8_t c2, uint8_t c3, uint8_t c4, uint8_t c5
71 :
NamedUUID(time_low_, time_mid_, time_hi_and_version_, clock_seq_,
72 c0, c1, c2, c3, c4, c5, name)
76 :
NamedUUID(0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
"EVENT_TYPE_UNSPECIFIED")
91 DEFINE_UUID(EventType, EVENT_TYPE_ERROR, 2c80d8b0,2bfd,11e5,a2cb,08,00,20,0c,9a,66);
99 DEFINE_UUID(EventType, EVENT_TYPE_CAPTURE_STARTED, 2c80d8b1,2bfd,11e5,a2cb,08,00,20,0c,9a,66);
107 DEFINE_UUID(EventType, EVENT_TYPE_CAPTURE_COMPLETE, 2c80d8b2,2bfd,11e5,a2cb,08,00,20,0c,9a,66);
117 DEFINE_UUID(InterfaceID, IID_EVENT, 98bcb49e,fd7d,11e4,a322,16,97,f9,25,ec,7b);
131 virtual uint64_t
getTime()
const = 0;
149 DEFINE_UUID(InterfaceID, IID_EVENT_ERROR, 13e0fc70,1ab6,11e5,b939,08,00,20,0c,9a,66);
171 DEFINE_UUID(InterfaceID, IID_EVENT_CAPTURE_COMPLETE, 8b2b40b5,f1e4,4c4d,ae1c,f3,93,f6,54,06,d5);
197 #endif // _ARGUS_EVENT_H
virtual EventType getEventType() const =0
Returns the event type.
The base interface for a class that provides libargus Interfaces.
virtual Status getStatus() const =0
Returns the Status value describing the error.
DEFINE_UUID(ExtensionName, EXT_BAYER_AVERAGE_MAP, 12c3de20, 64c5, 11e6, bdf4, 08, 00, 20, 0c, 9a, 66)
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.
Interface to the common Event properties.
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.
A universally unique identifier with a name (used for debugging purposes).
virtual Status getStatus() const =0
Returns the error status of the metadata event.
static const InterfaceID & id()
Interface exposed by Events having type EVENT_TYPE_ERROR.
A unique identifier for a libargus Interface.
Interface exposed by Events having type EVENT_TYPE_CAPTURE_COMPLETE.
static const InterfaceID & id()