|
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 | ResetTickCues () |
| Drops the tick cues banked so far. | |
| 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 4084 of file CarlaServer.cpp.
References Pimpl.
| FCarlaServer::~FCarlaServer | ( | ) |
Definition at line 4086 of file CarlaServer.cpp.
References Stop().
| void FCarlaServer::AsyncRun | ( | uint32 | NumberOfWorkerThreads | ) |
Definition at line 4134 of file CarlaServer.cpp.
References Pimpl.
Referenced by FCarlaEngine::NotifyInitGame().
| std::shared_ptr< carla::multigpu::Router > FCarlaServer::GetSecondaryServer | ( | ) |
Definition at line 4217 of file CarlaServer.cpp.
References Pimpl.
Referenced by FCarlaEngine::NotifyInitGame().
| carla::streaming::Server & FCarlaServer::GetStreamingServer | ( | ) |
Definition at line 4222 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 4121 of file CarlaServer.cpp.
References UCarlaEpisode::GetMapName(), and Pimpl.
Referenced by FCarlaEngine::NotifyBeginEpisode().
| void FCarlaServer::NotifyEndEpisode | ( | ) |
Definition at line 4128 of file CarlaServer.cpp.
References Pimpl.
Referenced by FCarlaEngine::NotifyEndEpisode().
| FDataStream FCarlaServer::OpenStream | ( | ) | const |
Definition at line 4211 of file CarlaServer.cpp.
References Pimpl.
Referenced by ASensorFactory::SpawnActor().
| void FCarlaServer::ResetTickCues | ( | ) |
Drops the tick cues banked so far.
A tick cue is counted whatever the mode but only consumed in synchronous mode, so cues sent while asynchronous would otherwise let the server run that many frames on its own once synchronous mode is turned on.
Definition at line 4194 of file CarlaServer.cpp.
References Pimpl.
Referenced by FCarlaEngine::OnEpisodeSettingsChanged().
| void FCarlaServer::RunSome | ( | uint32 | Milliseconds | ) |
Definition at line 4166 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 4178 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 4090 of file CarlaServer.cpp.
References Pimpl, and carla::SetCloseOnExecForListeningPort().
Referenced by FCarlaEngine::NotifyInitGame().
| void FCarlaServer::Stop | ( | ) |
| void FCarlaServer::Tick | ( | ) |
Definition at line 4172 of file CarlaServer.cpp.
Referenced by Tick().
| bool FCarlaServer::TickCueReceived | ( | ) |
Definition at line 4184 of file CarlaServer.cpp.
References Pimpl, and TickCueReceived().
Referenced by FCarlaServer::FPimpl::BindActions(), FCarlaEngine::OnPreTick(), and TickCueReceived().
|
private |
Definition at line 66 of file CarlaServer.h.
Referenced by AsyncRun(), FCarlaServer(), GetSecondaryServer(), GetStreamingServer(), NotifyBeginEpisode(), NotifyEndEpisode(), OpenStream(), ResetTickCues(), RunSome(), SetIsSecondaryServer(), Start(), Stop(), Tick(), and TickCueReceived().