The interface to the notification queue.
Definition at line 323 of file NvSIPLPipelineMgr.hpp.
Public Member Functions | |
| virtual SIPLStatus | Get (NvSIPLPipelineNotifier::NotificationData &item, size_t timeoutUsec)=0 |
| Retrieve the next item from the queue. More... | |
| virtual size_t | GetCount () const =0 |
| Return the current queue length. More... | |
Protected Member Functions | |
| INvSIPLNotificationQueue ()=default | |
| virtual | ~INvSIPLNotificationQueue ()=default |
|
protecteddefault |
|
protectedvirtualdefault |
|
pure virtual |
Retrieve the next item from the queue.
| [out] | item | The item retrieved from the queue. |
| [in] | timeoutUsec | The timeout of the request, in microseconds. If the queue is empty at the time of the call, this method will wait up to timeoutUsec microseconds for a new item to arrive in the queue and be returned. |
| NVSIPL_STATUS_OK | if item has been successfully retrieved from the queue. |
| NVSIPL_STATUS_TIMED_OUT | if an item was not available within the timeout interval. |
| NVSIPL_STATUS_EOF | if the queue has been shut down. In this case, no further calls can be made on the queue object. |
| NVSIPL_STATUS_ERROR | if a system error occurred. |
|
pure virtual |
Return the current queue length.