#include "Carla.h"
#include "Carla/Server/CarlaServer.h"
#include "Carla/Server/CarlaServerResponse.h"
#include "Carla/Traffic/TrafficLightGroup.h"
#include "EngineUtils.h"
#include "Components/SkeletalMeshComponent.h"
#include "Components/SkinnedMeshComponent.h"
#include "Components/SceneComponent.h"
#include "Engine/SkeletalMesh.h"
#include "Engine/SkeletalMeshSocket.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/Sensor/CustomV2XSensor.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/VehicleTelemetryData.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>
类 | |
class | FCarlaServer::FPimpl |
class | ServerBinder |
宏定义 | |
#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) |
类型定义 | |
template<typename T > | |
using | R = carla::rpc::Response<T> |
函数 | |
template<typename T , typename Other > | |
static std::vector< T > | MakeVectorFromTArray (const TArray< Other > &Array) |
carla::rpc::ResponseError | RespondError (const FString &FuncName, const ECarlaServerResponse &Error, const FString &ExtraInfo="") |
carla::rpc::ResponseError | RespondError (const FString &FuncName, const FString &ErrorMessage, const FString &ExtraInfo="") |
#define BIND_ASYNC | ( | name | ) | auto name = ServerBinder(# name, Server, false) |
在文件 CarlaServer.cpp 第 214 行定义.
被这些函数引用 FCarlaServer::FPimpl::BindActions().
#define BIND_SYNC | ( | name | ) | auto name = ServerBinder(# name, Server, true) |
在文件 CarlaServer.cpp 第 213 行定义.
被这些函数引用 FCarlaServer::FPimpl::BindActions().
#define CARLA_ENSURE_GAME_THREAD | ( | ) |
在文件 CarlaServer.cpp 第 147 行定义.
#define MAKE_RESULT | ( | operation | ) | return parse_result(c.actor, operation); |
#define REQUIRE_CARLA_EPISODE | ( | ) |
#define RESPOND_ERROR | ( | str | ) |
在文件 CarlaServer.cpp 第 150 行定义.
被这些函数引用 FCarlaServer::FPimpl::BindActions().
#define RESPOND_ERROR_FSTRING | ( | fstr | ) |
在文件 CarlaServer.cpp 第 154 行定义.
被这些函数引用 FCarlaServer::FPimpl::BindActions().
using R = carla::rpc::Response<T> |
在文件 CarlaServer.cpp 第 85 行定义.
|
static |
在文件 CarlaServer.cpp 第 92 行定义.
carla::rpc::ResponseError RespondError | ( | const FString & | FuncName, |
const ECarlaServerResponse & | Error, | ||
const FString & | ExtraInfo = "" ) |
carla::rpc::ResponseError RespondError | ( | const FString & | FuncName, |
const FString & | ErrorMessage, | ||
const FString & | ExtraInfo = "" ) |
在文件 CarlaServer.cpp 第 162 行定义.
被这些函数引用 FCarlaServer::FPimpl::BindActions() , 以及 RespondError().