CARLA
 
载入中...
搜索中...
未找到
CarlaServer.h
浏览该文件的文档.
1// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8
11
12#include "CoreMinimal.h"
13
18
19class UCarlaEpisode;
20
22{
23public:
24
26
28
29 FDataMultiStream Start(uint16_t RPCPort, uint16_t StreamingPort, uint16_t SecondaryPort);
30
31 void NotifyBeginEpisode(UCarlaEpisode &Episode);
32
33 void NotifyEndEpisode();
34
35 void AsyncRun(uint32 NumberOfWorkerThreads);
36
37 void RunSome(uint32 Milliseconds);
38
39 void Tick();
40
41 bool TickCueReceived();
42
43 void Stop();
44
45 FDataStream OpenStream() const;
46
47 std::shared_ptr<carla::multigpu::Router> GetSecondaryServer();
48
50
51private:
52
53 class FPimpl;
54 TUniquePtr<FPimpl> Pimpl;
55};
bool TickCueReceived()
std::shared_ptr< carla::multigpu::Router > GetSecondaryServer()
void RunSome(uint32 Milliseconds)
TUniquePtr< FPimpl > Pimpl
Definition CarlaServer.h:54
carla::streaming::Server & GetStreamingServer()
FDataStream OpenStream() const
void NotifyEndEpisode()
void NotifyBeginEpisode(UCarlaEpisode &Episode)
FDataMultiStream Start(uint16_t RPCPort, uint16_t StreamingPort, uint16_t SecondaryPort)
void AsyncRun(uint32 NumberOfWorkerThreads)
A simulation episode.
A streaming server.