#include "Carla.h"
#include "Carla/Server/CarlaServer.h"
#include "Carla/Server/CarlaServerResponse.h"
#include "Carla/Traffic/TrafficLightGroup.h"
#include "EngineUtils.h"
#include "Carla/OpenDrive/OpenDrive.h"
#include "Carla/Util/DebugShapeDrawer.h"
#include "Carla/Util/NavigationMesh.h"
#include "Carla/Util/RayTracer.h"
#include "Carla/Vehicle/CarlaWheeledVehicle.h"
#include "Carla/Walker/WalkerController.h"
#include "Carla/Walker/WalkerBase.h"
#include "GameFramework/CharacterMovementComponent.h"
#include "Carla/Game/Tagger.h"
#include "Carla/Game/CarlaStatics.h"
#include "Carla/Vehicle/MovementComponents/CarSimManagerComponent.h"
#include "Carla/Vehicle/MovementComponents/ChronoMovementComponent.h"
#include "Carla/Lights/CarlaLightSubsystem.h"
#include "Carla/Actor/ActorData.h"
#include "Carla/Util/BoundingBoxCalculator.h"
#include "Misc/FileHelper.h"
#include <compiler/disable-ue4-macros.h>
#include <carla/Functional.h>
#include <carla/multigpu/router.h>
#include <carla/Version.h>
#include <carla/rpc/AckermannControllerSettings.h>
#include <carla/rpc/Actor.h>
#include <carla/rpc/ActorDefinition.h>
#include <carla/rpc/ActorDescription.h>
#include <carla/rpc/BoneTransformDataIn.h>
#include <carla/rpc/Command.h>
#include <carla/rpc/CommandResponse.h>
#include <carla/rpc/DebugShape.h>
#include <carla/rpc/EnvironmentObject.h>
#include <carla/rpc/EpisodeInfo.h>
#include <carla/rpc/EpisodeSettings.h>
#include <carla/rpc/LabelledPoint.h>
#include <carla/rpc/LightState.h>
#include <carla/rpc/MapInfo.h>
#include <carla/rpc/MapLayer.h>
#include <carla/rpc/Response.h>
#include <carla/rpc/Server.h>
#include <carla/rpc/String.h>
#include <carla/rpc/Transform.h>
#include <carla/rpc/Vector2D.h>
#include <carla/rpc/Vector3D.h>
#include <carla/rpc/VehicleDoor.h>
#include <carla/rpc/VehicleAckermannControl.h>
#include <carla/rpc/VehicleControl.h>
#include <carla/rpc/VehiclePhysicsControl.h>
#include <carla/rpc/VehicleLightState.h>
#include <carla/rpc/VehicleLightStateList.h>
#include <carla/rpc/WalkerBoneControlIn.h>
#include <carla/rpc/WalkerBoneControlOut.h>
#include <carla/rpc/WalkerControl.h>
#include <carla/rpc/VehicleWheels.h>
#include <carla/rpc/WeatherParameters.h>
#include <carla/streaming/detail/Types.h>
#include <carla/rpc/Texture.h>
#include <carla/rpc/MaterialParameter.h>
#include <compiler/enable-ue4-macros.h>
#include <vector>
#include <atomic>
#include <map>
#include <tuple>
Go to the source code of this file.
Classes | |
class | FCarlaServer::FPimpl |
class | ServerBinder |
Macros | |
#define | BIND_ASYNC(name) auto name = ServerBinder(# name, Server, false) |
#define | BIND_SYNC(name) auto name = ServerBinder(# name, Server, true) |
#define | CARLA_ENSURE_GAME_THREAD() |
#define | MAKE_RESULT(operation) return parse_result(c.actor, operation); |
#define | REQUIRE_CARLA_EPISODE() |
#define | RESPOND_ERROR(str) |
#define | RESPOND_ERROR_FSTRING(fstr) |
Typedefs | |
template<typename T > | |
using | R = carla::rpc::Response< T > |
Functions | |
template<typename T , typename Other > | |
static std::vector< T > | MakeVectorFromTArray (const TArray< Other > &Array) |
carla::rpc::ResponseError | RespondError (const FString &FuncName, const FString &ErrorMessage, const FString &ExtraInfo="") |
carla::rpc::ResponseError | RespondError (const FString &FuncName, const ECarlaServerResponse &Error, const FString &ExtraInfo="") |
#define BIND_ASYNC | ( | name | ) | auto name = ServerBinder(# name, Server, false) |
Definition at line 207 of file CarlaServer.cpp.
Referenced by FCarlaServer::FPimpl::BindActions().
#define BIND_SYNC | ( | name | ) | auto name = ServerBinder(# name, Server, true) |
Definition at line 206 of file CarlaServer.cpp.
Referenced by FCarlaServer::FPimpl::BindActions().
#define CARLA_ENSURE_GAME_THREAD | ( | ) |
Definition at line 140 of file CarlaServer.cpp.
#define MAKE_RESULT | ( | operation | ) | return parse_result(c.actor, operation); |
Referenced by FCarlaServer::FPimpl::BindActions().
#define REQUIRE_CARLA_EPISODE | ( | ) |
Definition at line 151 of file CarlaServer.cpp.
Referenced by FCarlaServer::FPimpl::BindActions().
#define RESPOND_ERROR | ( | str | ) |
Definition at line 143 of file CarlaServer.cpp.
Referenced by FCarlaServer::FPimpl::BindActions().
#define RESPOND_ERROR_FSTRING | ( | fstr | ) |
Definition at line 147 of file CarlaServer.cpp.
Referenced by FCarlaServer::FPimpl::BindActions().
using R = carla::rpc::Response<T> |
Definition at line 78 of file CarlaServer.cpp.
|
static |
Definition at line 85 of file CarlaServer.cpp.
carla::rpc::ResponseError RespondError | ( | const FString & | FuncName, |
const FString & | ErrorMessage, | ||
const FString & | ExtraInfo = "" |
||
) |
Definition at line 155 of file CarlaServer.cpp.
Referenced by FCarlaServer::FPimpl::BindActions(), and RespondError().
carla::rpc::ResponseError RespondError | ( | const FString & | FuncName, |
const ECarlaServerResponse & | Error, | ||
const FString & | ExtraInfo = "" |
||
) |
Definition at line 166 of file CarlaServer.cpp.
References CarlaGetStringError(), and RespondError().