|
CARLA
|
#include <CarlaServer.h>
Classes | |
| class | FPimpl |
Public Member Functions | |
| void | AsyncRun (uint32 NumberOfWorkerThreads) |
| FCarlaServer () | |
| std::shared_ptr< carla::multigpu::Router > | GetSecondaryServer () |
| carla::streaming::Server & | GetStreamingServer () |
| void | NotifyBeginEpisode (UCarlaEpisode &Episode) |
| void | NotifyEndEpisode () |
| FDataStream | OpenStream () const |
| void | RunSome (uint32 Milliseconds) |
| void | SetIsSecondaryServer (bool bIsSecondary) |
| A Multi-GPU secondary refuses every call that would change its world. | |
| FDataMultiStream | Start (uint16_t RPCPort, uint16_t StreamingPort, uint16_t SecondaryPort) |
| void | Stop () |
| void | Tick () |
| bool | TickCueReceived () |
| ~FCarlaServer () | |
Private Attributes | |
| TUniquePtr< FPimpl > | Pimpl |
Definition at line 24 of file CarlaServer.h.
| FCarlaServer::FCarlaServer | ( | ) |
Definition at line 4034 of file CarlaServer.cpp.
| FCarlaServer::~FCarlaServer | ( | ) |
Definition at line 4036 of file CarlaServer.cpp.
References Stop().
| void FCarlaServer::AsyncRun | ( | uint32 | NumberOfWorkerThreads | ) |
Definition at line 4084 of file CarlaServer.cpp.
References Pimpl.
Referenced by FCarlaEngine::NotifyInitGame().
| std::shared_ptr< carla::multigpu::Router > FCarlaServer::GetSecondaryServer | ( | ) |
Definition at line 4159 of file CarlaServer.cpp.
References Pimpl.
Referenced by FCarlaEngine::NotifyInitGame().
| carla::streaming::Server & FCarlaServer::GetStreamingServer | ( | ) |
Definition at line 4164 of file CarlaServer.cpp.
References Pimpl.
Referenced by FCarlaEngine::BindReplayedSensor(), FCarlaEngine::NotifyInitGame(), FCarlaEngine::OnEpisodeSettingsChanged(), FCarlaEngine::OnPreTick(), and FCarlaEngine::PlayPrimaryFrame().
| void FCarlaServer::NotifyBeginEpisode | ( | UCarlaEpisode & | Episode | ) |
Definition at line 4071 of file CarlaServer.cpp.
References UCarlaEpisode::GetMapName(), and Pimpl.
Referenced by FCarlaEngine::NotifyBeginEpisode().
| void FCarlaServer::NotifyEndEpisode | ( | ) |
Definition at line 4078 of file CarlaServer.cpp.
References Pimpl.
Referenced by FCarlaEngine::NotifyEndEpisode().
| FDataStream FCarlaServer::OpenStream | ( | ) | const |
Definition at line 4153 of file CarlaServer.cpp.
References Pimpl.
Referenced by ASensorFactory::SpawnActor().
| void FCarlaServer::RunSome | ( | uint32 | Milliseconds | ) |
Definition at line 4116 of file CarlaServer.cpp.
References carla::time_duration::milliseconds(), and Pimpl.
Referenced by FCarlaEngine::OnBeginFrame(), FCarlaEngine::OnPreTick(), and FCarlaEngine::WaitForSecondaryEpisodes().
| void FCarlaServer::SetIsSecondaryServer | ( | bool | bIsSecondary | ) |
A Multi-GPU secondary refuses every call that would change its world.
Definition at line 4128 of file CarlaServer.cpp.
References Pimpl.
Referenced by FCarlaEngine::NotifyInitGame().
| FDataMultiStream FCarlaServer::Start | ( | uint16_t | RPCPort, |
| uint16_t | StreamingPort, | ||
| uint16_t | SecondaryPort | ||
| ) |
Definition at line 4040 of file CarlaServer.cpp.
References Pimpl, and carla::SetCloseOnExecForListeningPort().
Referenced by FCarlaEngine::NotifyInitGame().
| void FCarlaServer::Stop | ( | ) |
| void FCarlaServer::Tick | ( | ) |
Definition at line 4122 of file CarlaServer.cpp.
Referenced by Tick().
| bool FCarlaServer::TickCueReceived | ( | ) |
Definition at line 4134 of file CarlaServer.cpp.
References Pimpl, and TickCueReceived().
Referenced by FCarlaServer::FPimpl::BindActions(), FCarlaEngine::OnPreTick(), and TickCueReceived().
|
private |
Definition at line 60 of file CarlaServer.h.
Referenced by AsyncRun(), GetSecondaryServer(), GetStreamingServer(), NotifyBeginEpisode(), NotifyEndEpisode(), OpenStream(), RunSome(), SetIsSecondaryServer(), Start(), Stop(), Tick(), and TickCueReceived().