UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FWindowsProcessSentinel Class Reference
+ Inheritance diagram for FWindowsProcessSentinel:

Public Member Functions

virtual ~FWindowsProcessSentinel ()
 
virtual bool CreateSentinelFile (const TCHAR *Name, const FString &Contents) override
 
virtual bool DoesSentinelFileExistImpl (const TCHAR *Name, FString *OptionalOutContents) override
 

Public Attributes

HANDLE FileHandle
 

Additional Inherited Members

- Static Public Member Functions inherited from IProcessSentinel
static bool CORE_API DoesSentinelFileExist (const TCHAR *Name, FString *OptionalOutContents=nullptr)
 
- Protected Member Functions inherited from IProcessSentinel
virtual FString CORE_API MakeFilename (const TCHAR *Name)
 

Constructor & Destructor Documentation

◆ ~FWindowsProcessSentinel()

virtual FWindowsProcessSentinel::~FWindowsProcessSentinel ( )
inlinevirtual

Member Function Documentation

◆ CreateSentinelFile()

virtual bool FWindowsProcessSentinel::CreateSentinelFile ( const TCHAR Name,
const FString &  Contents 
)
inlineoverridevirtual

Create the sentinel file, if possible

Returns
false if the file could not be created (because another process has it locked)

Implements IProcessSentinel.

◆ DoesSentinelFileExistImpl()

virtual bool FWindowsProcessSentinel::DoesSentinelFileExistImpl ( const TCHAR Name,
FString *  OptionalOutContents 
)
inlineoverridevirtual

The actual implementation to determine if the sentinel file is exists and is valid (due to a process dying, the file may actually exist on disk, but isn't a valid file anymore, so a simple FileExists may not be good enough

Implements IProcessSentinel.

Member Data Documentation

◆ FileHandle

HANDLE FWindowsProcessSentinel::FileHandle

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