You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
38 lines
975 B
C++
38 lines
975 B
C++
// Copyright 2011-2020 Molecular Matters GmbH, all rights reserved.
|
|
|
|
#pragma once
|
|
|
|
// BEGIN EPIC MOD
|
|
#include "CoreTypes.h"
|
|
// END EPIC MOD
|
|
#include "LC_ThreadTypes.h"
|
|
// BEGIN EPIC MOD
|
|
#include <string>
|
|
// END EPIC MOD
|
|
|
|
class DuplexPipeClient;
|
|
class Event;
|
|
class CriticalSection;
|
|
|
|
|
|
// handles incoming commands from the Live++ server
|
|
class ClientCommandThread
|
|
{
|
|
public:
|
|
explicit ClientCommandThread(DuplexPipeClient* pipeClient);
|
|
~ClientCommandThread(void);
|
|
|
|
// Starts the thread that takes care of handling incoming commands on the pipe.
|
|
// Returns the thread ID.
|
|
Thread::Id Start(const std::wstring& processGroupName, Event* compilationEvent, Event* waitForStartEvent, CriticalSection* pipeAccessCS);
|
|
|
|
// Joins this thread.
|
|
void Join(void);
|
|
|
|
private:
|
|
Thread::ReturnValue ThreadFunction(const std::wstring& processGroupName, Event* compilationEvent, Event* waitForStartEvent, CriticalSection* pipeAccessCS);
|
|
|
|
Thread::Handle m_thread;
|
|
DuplexPipeClient* m_pipe;
|
|
};
|