You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
53 lines
1.4 KiB
C++
53 lines
1.4 KiB
C++
|
|
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
/*=============================================================================
|
||
|
|
AutomationControllerModule.cpp: Implements the FAutomationControllerModule class.
|
||
|
|
=============================================================================*/
|
||
|
|
|
||
|
|
#include "AutomationControllerPrivatePCH.h"
|
||
|
|
|
||
|
|
#include "ModuleManager.h"
|
||
|
|
|
||
|
|
IMPLEMENT_MODULE(FAutomationControllerModule, AutomationController);
|
||
|
|
|
||
|
|
IAutomationControllerManagerRef FAutomationControllerModule::GetAutomationController( )
|
||
|
|
{
|
||
|
|
if (!AutomationControllerSingleton.IsValid())
|
||
|
|
{
|
||
|
|
AutomationControllerSingleton = MakeShareable(new FAutomationControllerManager());
|
||
|
|
}
|
||
|
|
|
||
|
|
return AutomationControllerSingleton.ToSharedRef();
|
||
|
|
}
|
||
|
|
|
||
|
|
void FAutomationControllerModule::Init()
|
||
|
|
{
|
||
|
|
GetAutomationController()->Init();
|
||
|
|
}
|
||
|
|
|
||
|
|
void FAutomationControllerModule::Tick()
|
||
|
|
{
|
||
|
|
GetAutomationController()->Tick();
|
||
|
|
}
|
||
|
|
|
||
|
|
void FAutomationControllerModule::ShutdownModule()
|
||
|
|
{
|
||
|
|
GetAutomationController()->Shutdown();
|
||
|
|
AutomationControllerSingleton.Reset();
|
||
|
|
}
|
||
|
|
|
||
|
|
void FAutomationControllerModule::StartupModule()
|
||
|
|
{
|
||
|
|
GetAutomationController()->Startup();
|
||
|
|
}
|
||
|
|
|
||
|
|
bool FAutomationControllerModule::SupportsDynamicReloading()
|
||
|
|
{
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Static initialization
|
||
|
|
*****************************************************************************/
|
||
|
|
|
||
|
|
IAutomationControllerManagerPtr FAutomationControllerModule::AutomationControllerSingleton = NULL;
|