EHS
Loading...
Searching...
No Matches
ehs::BaseSemaphore Class Referenceabstract

#include <BaseSemaphore.h>

Inheritance diagram for ehs::BaseSemaphore:
ehs::Semaphore ehs::Semaphore

Public Member Functions

 BaseSemaphore ()
 
 BaseSemaphore (Str_8 name, const UInt_32 initial)
 
 BaseSemaphore (const UInt_32 initial)
 
 BaseSemaphore (BaseSemaphore &&sem) noexcept
 
 BaseSemaphore (const BaseSemaphore &sem)
 
BaseSemaphoreoperator= (BaseSemaphore &&sem) noexcept
 
BaseSemaphoreoperator= (const BaseSemaphore &sem)
 
virtual void Initialize ()=0
 
virtual void Release ()=0
 
virtual void Signal (const UInt_32 inc)=0
 
virtual bool Wait (const UInt_32 timeout)=0
 
Str_8 GetName () const
 
UInt_32 GetInitial () const
 
virtual bool IsValid () const =0
 

Constructor & Destructor Documentation

◆ BaseSemaphore() [1/5]

ehs::BaseSemaphore::BaseSemaphore ( )

◆ BaseSemaphore() [2/5]

ehs::BaseSemaphore::BaseSemaphore ( Str_8 name,
const UInt_32 initial )

◆ BaseSemaphore() [3/5]

ehs::BaseSemaphore::BaseSemaphore ( const UInt_32 initial)

◆ BaseSemaphore() [4/5]

ehs::BaseSemaphore::BaseSemaphore ( BaseSemaphore && sem)
noexcept

◆ BaseSemaphore() [5/5]

ehs::BaseSemaphore::BaseSemaphore ( const BaseSemaphore & sem)

Member Function Documentation

◆ GetInitial()

UInt_32 ehs::BaseSemaphore::GetInitial ( ) const

◆ GetName()

Str_8 ehs::BaseSemaphore::GetName ( ) const

◆ Initialize()

virtual void ehs::BaseSemaphore::Initialize ( )
pure virtual

Implemented in ehs::Semaphore, and ehs::Semaphore.

◆ IsValid()

virtual bool ehs::BaseSemaphore::IsValid ( ) const
pure virtual

Implemented in ehs::Semaphore, and ehs::Semaphore.

◆ operator=() [1/2]

BaseSemaphore & ehs::BaseSemaphore::operator= ( BaseSemaphore && sem)
noexcept

◆ operator=() [2/2]

BaseSemaphore & ehs::BaseSemaphore::operator= ( const BaseSemaphore & sem)

◆ Release()

virtual void ehs::BaseSemaphore::Release ( )
pure virtual

Implemented in ehs::Semaphore, and ehs::Semaphore.

◆ Signal()

virtual void ehs::BaseSemaphore::Signal ( const UInt_32 inc)
pure virtual

Implemented in ehs::Semaphore, and ehs::Semaphore.

◆ Wait()

virtual bool ehs::BaseSemaphore::Wait ( const UInt_32 timeout)
pure virtual

Implemented in ehs::Semaphore, and ehs::Semaphore.


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