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

Public Member Functions

 FPosixOSProcessSentinel ()
 
virtual ~FPosixOSProcessSentinel ()
 
virtual bool CreateSentinelFile (const TCHAR *Name, const FString &Contents) override
 

Protected Member Functions

virtual bool DoesSentinelFileExistImpl (const TCHAR *Name, FString *OptionalOutContents) override
 
- Protected Member Functions inherited from IProcessSentinel
virtual FString CORE_API MakeFilename (const TCHAR *Name)
 

Protected Attributes

int fd
 
FString SavedFilename
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ FPosixOSProcessSentinel()

FPosixOSProcessSentinel::FPosixOSProcessSentinel ( )
inline

◆ ~FPosixOSProcessSentinel()

virtual FPosixOSProcessSentinel::~FPosixOSProcessSentinel ( )
inlinevirtual

Member Function Documentation

◆ CreateSentinelFile()

virtual bool FPosixOSProcessSentinel::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 FPosixOSProcessSentinel::DoesSentinelFileExistImpl ( const TCHAR Name,
FString *  OptionalOutContents 
)
inlineoverrideprotectedvirtual

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

◆ fd

int FPosixOSProcessSentinel::fd
protected

◆ SavedFilename

FString FPosixOSProcessSentinel::SavedFilename
protected

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