Navigation
API > API/Plugins > API/Plugins/ElectraBase
| Name | FMediaSemaphore |
| Type | class |
| Header File | /Engine/Plugins/Media/ElectraUtil/Source/ElectraBase/Public/Core/MediaSemaphore.h |
| Include Path | #include "Core/MediaSemaphore.h" |
Syntax
class FMediaSemaphore : private TMediaNoncopyable< FMediaSemaphore >
Inheritance Hierarchy
- TMediaNoncopyable → FMediaSemaphore
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMediaSemaphore
(
int32 InitialCount |
Core/MediaSemaphore.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FMediaSemaphore() |
Core/MediaSemaphore.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Count | int32 | Core/MediaSemaphore.h | ||
| CriticalSection | FCriticalSection | Core/MediaSemaphore.h | ||
| Event | FEvent * | Core/MediaSemaphore.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 CurrentCount() |
Core/MediaSemaphore.h | ||
bool Obtain () |
Core/MediaSemaphore.h | ||
bool Obtain
(
int64 WaitMicroSeconds |
Core/MediaSemaphore.h | ||
void Release() |
Core/MediaSemaphore.h | ||
void SetCount
(
int32 NewCurrentCount |
Core/MediaSemaphore.h | ||
bool TryToObtain() |
Core/MediaSemaphore.h |