My Project
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
vspace::WaitSemaphoreEvent Class Reference

#include <vspace.h>

Public Member Functions

 WaitSemaphoreEvent (VRef< Semaphore > sem)
 
virtual bool start_listen (internals::ipc_signal_t sig)
 
virtual void stop_listen ()
 
void complete ()
 
virtual bool start_listen (internals::ipc_signal_t sig)=0
 
virtual void stop_listen ()=0
 

Private Attributes

VRef< Semaphore_sem
 

Detailed Description

Definition at line 2601 of file vspace.h.

Constructor & Destructor Documentation

◆ WaitSemaphoreEvent()

vspace::WaitSemaphoreEvent::WaitSemaphoreEvent ( VRef< Semaphore sem)
inline

Definition at line 2606 of file vspace.h.

2606 : _sem(sem) {
2607 }
VRef< Semaphore > _sem
Definition: vspace.h:2603

Member Function Documentation

◆ complete()

void vspace::WaitSemaphoreEvent::complete ( )
inline

Definition at line 2614 of file vspace.h.

2614 {
2615 }

◆ start_listen()

virtual bool vspace::WaitSemaphoreEvent::start_listen ( internals::ipc_signal_t  sig)
inlinevirtual

Implements vspace::Event.

Definition at line 2608 of file vspace.h.

2608 {
2609 return _sem->start_wait(sig);
2610 }

◆ stop_listen()

virtual void vspace::WaitSemaphoreEvent::stop_listen ( )
inlinevirtual

Implements vspace::Event.

Definition at line 2611 of file vspace.h.

2611 {
2612 _sem->stop_wait();
2613 }

Field Documentation

◆ _sem

VRef<Semaphore> vspace::WaitSemaphoreEvent::_sem
private

Definition at line 2603 of file vspace.h.


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