2017-03-03 19:24:26 +08:00
|
|
|
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
2017-03-07 21:46:58 +08:00
|
|
|
// This file is included before any other file in every compile unit within the
|
|
|
|
// plugin.
|
2017-03-03 19:24:26 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "ModuleManager.h"
|
|
|
|
|
2017-06-19 17:48:46 +08:00
|
|
|
#include "Util/NonCopyable.h"
|
2017-03-07 21:46:58 +08:00
|
|
|
|
|
|
|
DECLARE_LOG_CATEGORY_EXTERN(LogCarla, Log, All);
|
2017-03-24 21:10:05 +08:00
|
|
|
DECLARE_LOG_CATEGORY_EXTERN(LogCarlaServer, Log, All);
|
2017-03-07 21:46:58 +08:00
|
|
|
|
2017-06-04 01:11:23 +08:00
|
|
|
// Options to compile with extra debug log.
|
2017-05-23 20:44:51 +08:00
|
|
|
#if WITH_EDITOR
|
2017-06-03 18:50:44 +08:00
|
|
|
// #define CARLA_AI_VEHICLES_EXTRA_LOG
|
2017-06-04 01:11:23 +08:00
|
|
|
// #define CARLA_AI_WALKERS_EXTRA_LOG
|
2017-09-05 23:39:43 +08:00
|
|
|
// #define CARLA_ROAD_GENERATOR_EXTRA_LOG
|
2017-04-19 20:26:14 +08:00
|
|
|
// #define CARLA_SERVER_EXTRA_LOG
|
2017-04-20 00:14:25 +08:00
|
|
|
// #define CARLA_TAGGER_EXTRA_LOG
|
2017-04-04 18:28:41 +08:00
|
|
|
#endif // WITH_EDITOR
|
|
|
|
|
2017-06-23 22:16:56 +08:00
|
|
|
// #define CARLA_CINEMATIC_MODE
|
|
|
|
|
2017-03-03 19:24:26 +08:00
|
|
|
class FCarlaModule : public IModuleInterface
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
/** IModuleInterface implementation */
|
|
|
|
virtual void StartupModule() override;
|
|
|
|
virtual void ShutdownModule() override;
|
2017-03-07 21:46:58 +08:00
|
|
|
};
|