Files
UnrealEngineUWP/Engine/Source/Programs/TestPAL/Private/Parent.h
Dmitry Rekman 294e0e7b9c Program to test certain aspects of platform abstraction.
Currently deals with FProcHandles only.

[CL 2279361 by Dmitry Rekman in Main branch]
2014-08-31 02:05:44 -04:00

28 lines
539 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
DECLARE_LOG_CATEGORY_EXTERN(LogTestPAL, Verbose, All);
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();
public:
/** Spawns the children one by one */
void Run();
FParent(int InNumTotalChildren, int InMaxChildrenAtOnce);
};