Go to the documentation of this file.
37 virtual std::optional<ResultType>
pop() = 0;
DeclareInterfaceID(IQueueingEventProcessor, 1, 0)
virtual std::optional< ResultType > pop()=0
Get the next available result.
std::tuple< StatusCode, EventContext > ResultType
Type of objects in the output queue.
virtual void push(EventContext &&ctx)=0
Schedule the processing of an event.
Extend IEventProcessor for asynchronous scheduling of events via queue-like interface.
virtual bool empty() const =0
Tell if the processor has events in the queues.