BDS Public
Beamlib 3.3.4
This is the Beam C++ class library.
Loading...
Searching...
No Matches
BSemaphore Class Reference

Base Semaphore class. More...

#include <BSemaphore.h>

Public Member Functions

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

Detailed Description

Base Semaphore class.

Constructor & Destructor Documentation

◆ BSemaphore() [1/2]

BSemaphore::BSemaphore ( )

◆ BSemaphore() [2/2]

BSemaphore::BSemaphore ( const BSemaphore semaphore)

◆ ~BSemaphore()

BSemaphore::~BSemaphore ( )

Member Function Documentation

◆ wait()

Bool BSemaphore::wait ( BTimeout  timeoutUs = BTimeoutForever)

Wait for the semaphore.

◆ set()

void BSemaphore::set ( )

Set the semaphore.

◆ getValue()

int BSemaphore::getValue ( ) const

◆ operator=()

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

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