BDS Public
Beam-lib  2.16.3
This is the Beam C++ class library.
BSemaphore Class Reference

Semaphore class. More...

#include <BSemaphore.h>

Public Member Functions

 BSemaphore ()
 
 BSemaphore (const BSemaphore &semaphore)
 
 ~BSemaphore ()
 
Bool wait (BTimeout timeoutUs=BTimeoutForever)
 Wait for the semaphore. More...
 
void set ()
 Set the semaphore. More...
 
int getValue () const
 
BSemaphoreoperator= (const BSemaphore &semaphore)
 

Detailed Description

Semaphore class.

Constructor & Destructor Documentation

◆ BSemaphore() [1/2]

BSemaphore::BSemaphore ( )

◆ BSemaphore() [2/2]

BSemaphore::BSemaphore ( const BSemaphore semaphore)

◆ ~BSemaphore()

BSemaphore::~BSemaphore ( )

Member Function Documentation

◆ getValue()

int BSemaphore::getValue ( ) const

◆ operator=()

BSemaphore & BSemaphore::operator= ( const BSemaphore semaphore)

◆ set()

void BSemaphore::set ( )

Set the semaphore.

◆ wait()

Bool BSemaphore::wait ( BTimeout  timeoutUs = BTimeoutForever)

Wait for the semaphore.


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