6#include "GenericPlatform/GenericPlatformNamedPipe.h"
7#include "Windows/WindowsSystemIncludes.h"
16class FWindowsPlatformNamedPipe
17 :
public FGenericPlatformNamedPipe
21 FWindowsPlatformNamedPipe();
22 virtual ~FWindowsPlatformNamedPipe();
24 FWindowsPlatformNamedPipe(
const FWindowsPlatformNamedPipe&) =
delete;
25 FWindowsPlatformNamedPipe& operator=(
const FWindowsPlatformNamedPipe&) =
delete;
31 virtual bool Create(
const FString& PipeName,
bool bAsServer,
bool bAsync)
override;
32 virtual bool Destroy()
override;
33 virtual bool OpenConnection()
override;
34 virtual bool BlockForAsyncIO()
override;
35 virtual bool IsReadyForRW()
const override;
36 virtual bool UpdateAsyncStatus()
override;
37 virtual bool WriteBytes(int32 NumBytes,
const void* Data)
override;
38 virtual bool ReadBytes(int32 NumBytes,
void* OutData)
override;
39 virtual bool IsCreated()
const override;
40 virtual bool HasFailed()
const override;
46 double LastWaitingTime;
47 bool bUseOverlapped : 1;
58 State_ErrorPipeClosedUnexpectedly,
63 bool UpdateAsyncStatusAfterRW();
67typedef FWindowsPlatformNamedPipe FPlatformNamedPipe;