Jetson Linux API Reference

39.2 Release
Argus::IEvent Class Referenceabstract

Detailed Description

Interface to the common Event properties.

Definition at line 110 of file Event.h.

Inheritance diagram for Argus::IEvent:
Collaboration diagram for Argus::IEvent:

Public Member Functions

virtual EventType getEventType () const =0
 Returns the event type. More...
 
virtual uint64_t getTime () const =0
 Returns the time of the event, in nanoseconds. More...
 
virtual uint32_t getCaptureId () const =0
 Returns the capture id for the event. More...
 

Static Public Member Functions

static const InterfaceIDid ()
 

Protected Member Functions

 ~IEvent ()
 

Constructor & Destructor Documentation

◆ ~IEvent()

Argus::IEvent::~IEvent ( )
inlineprotected

Definition at line 141 of file Event.h.

Member Function Documentation

◆ getCaptureId()

virtual uint32_t Argus::IEvent::getCaptureId ( ) const
pure virtual

Returns the capture id for the event.

◆ getEventType()

virtual EventType Argus::IEvent::getEventType ( ) const
pure virtual

Returns the event type.

On receiving EVENT_TYPE_CAPTURE_COMPLETE the client can proceed to consume the acquired frame, and continue to wait on the subsequent frame. On receiving EVENT_TYPE_ERROR_UNCORR, the client should assume that the error is fatal and should stop submitting more requests to this session and resume session shutdown. The specifics of error encounterred by the camera driver can be found in nvargus-daemon logs. On receiving EVENT_TYPE_ERROR_CORR, the system SW is trying to notify a possible error in the frame. This error is not fatal and the client can either choose to keep or discard the current captured frame depending on the requirements. This error does not put the stream in a bad state and the same stream can continue to capture subsequent frames.

◆ getTime()

virtual uint64_t Argus::IEvent::getTime ( ) const
pure virtual

Returns the time of the event, in nanoseconds.

◆ id()

static const InterfaceID& Argus::IEvent::id ( )
inlinestatic

Definition at line 113 of file Event.h.


The documentation for this class was generated from the following file: