Pleora Technologies Inc. eBUS SDK v7.0.1.7536 API



IPvSemaphore.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2022, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __IPVSEMAPHORE_H__
8 #define __IPVSEMAPHORE_H__
9 
10 
11 #include <PvSoftDeviceGEVLib.h>
12 
18 class PV_SOFT_DEVICE_GEV_API IPvSemaphore
19 {
20 public:
21  virtual ~IPvSemaphore() {}
22 
26  virtual void Notify() = 0;
27 
31  virtual void Abort() = 0;
32 
38  virtual bool Wait() = 0;
39 
43  virtual void Reset() = 0;
44 };
45 
46 #endif // __IPVSEMAPHORE_H__
Interface for a semaphore object used for synchronization.
Definition: IPvSemaphore.h:19
virtual void Abort()=0
Aborts the semaphore.
virtual bool Wait()=0
Waits for the semaphore to be notified.
virtual void Reset()=0
Resets the semaphore to non-signaled state.
virtual void Notify()=0
Notifies the semaphore.

Copyright (c) 2002-2026 Pleora Technologies Inc.
www.pleora.com