My Project
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
vspace::DequeueEvent< T > Class Template Reference

#include <vspace.h>

Public Member Functions

 DequeueEvent (VRef< Queue< T > > queue)
 
virtual bool start_listen (internals::ipc_signal_t sig)
 
virtual void stop_listen ()
 
T complete ()
 
virtual bool start_listen (internals::ipc_signal_t sig)=0
 
virtual void stop_listen ()=0
 

Private Attributes

VRef< Queue< T > > _queue
 

Detailed Description

template<typename T>
class vspace::DequeueEvent< T >

Definition at line 2638 of file vspace.h.

Constructor & Destructor Documentation

◆ DequeueEvent()

template<typename T >
vspace::DequeueEvent< T >::DequeueEvent ( VRef< Queue< T > >  queue)
inline

Definition at line 2643 of file vspace.h.

2643 : _queue(queue) {
2644 }
VRef< Queue< T > > _queue
Definition: vspace.h:2640

Member Function Documentation

◆ complete()

template<typename T >
T vspace::DequeueEvent< T >::complete ( )
inline

Definition at line 2651 of file vspace.h.

2651 {
2652 return _queue->dequeue_nowait();
2653 }

◆ start_listen()

template<typename T >
virtual bool vspace::DequeueEvent< T >::start_listen ( internals::ipc_signal_t  sig)
inlinevirtual

Implements vspace::Event.

Definition at line 2645 of file vspace.h.

2645 {
2646 return _queue->_incoming.start_wait(sig);
2647 }

◆ stop_listen()

template<typename T >
virtual void vspace::DequeueEvent< T >::stop_listen ( )
inlinevirtual

Implements vspace::Event.

Definition at line 2648 of file vspace.h.

2648 {
2649 _queue->_incoming.stop_wait();
2650 }

Field Documentation

◆ _queue

template<typename T >
VRef<Queue<T> > vspace::DequeueEvent< T >::_queue
private

Definition at line 2640 of file vspace.h.


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