Files
UnrealEngineUWP/Engine/Source/Programs/TestPAL/Private/Parent.h
Ben Marsh 7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00

29 lines
564 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "HAL/PlatformProcess.h"
class FParent
{
/** Children to be controlled */
TArray< FProcHandle > Children;
/** Total children to spawn */
int NumTotalChildren;
/** Max children at once */
int MaxChildrenAtOnce;
/** Launches the child, returns the launched process handle. */
FProcHandle Launch(bool bDetached = false);
public:
/** Spawns the children one by one */
void Run();
FParent(int InNumTotalChildren, int InMaxChildrenAtOnce);
};