CARLA
Carla.h
Go to the documentation of this file.
1 // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
2 
3 // This file is included before any other file in every compile unit within the
4 // plugin.
5 #pragma once
6 
7 
8 #include "Util/NonCopyable.h"
9 #include "Logging/LogMacros.h"
10 #include "Modules/ModuleInterface.h"
11 
12 DECLARE_LOG_CATEGORY_EXTERN(LogCarla, Log, All);
13 DECLARE_LOG_CATEGORY_EXTERN(LogCarlaServer, Log, All);
14 
15 // Options to compile with extra debug log.
16 #if WITH_EDITOR
17 // #define CARLA_AI_VEHICLES_EXTRA_LOG
18 // #define CARLA_AI_WALKERS_EXTRA_LOG
19 // #define CARLA_ROAD_GENERATOR_EXTRA_LOG
20 // #define CARLA_SERVER_EXTRA_LOG
21 // #define CARLA_TAGGER_EXTRA_LOG
22 // #define CARLA_WEATHER_EXTRA_LOG
23 #endif // WITH_EDITOR
24 
26 {
27  void RegisterSettings();
28  void UnregisterSettings();
29  bool HandleSettingsSaved();
30 
31 
32 public:
33 
34  /** IModuleInterface implementation */
35  virtual void StartupModule() override;
36  virtual void ShutdownModule() override;
37 
38 };
void UnregisterSettings()
Definition: Carla.cpp:58
virtual void StartupModule() override
IModuleInterface implementation.
Definition: Carla.cpp:14
bool HandleSettingsSaved()
Definition: Carla.cpp:69
virtual void ShutdownModule() override
Definition: Carla.cpp:19
void RegisterSettings()
Definition: Carla.cpp:27
DECLARE_LOG_CATEGORY_EXTERN(LogCarla, Log, All)