Serializes and sends all the actors in the current UCarlaEpisode. 更多...
#include <WorldObserver.h>
Public 类型 | |
using | not_spawnable = void |
Prevent this sensor to be spawned by users. | |
Public 成员函数 | |
void | BroadcastTick (const UCarlaEpisode &Episode, float DeltaSeconds, bool MapChange, bool PendingLightUpdate) |
Send a message to every connected client with the info about the given Episode. | |
FTransform | GetActorTransform () const |
Dummy. Required for compatibility with other sensors only. | |
auto | GetToken () const |
Return the token that allows subscribing to this sensor's stream. | |
void | SetStream (FDataMultiStream InStream) |
Replace the Stream associated with this sensor. | |
Private 属性 | |
FDataMultiStream | Stream |
Serializes and sends all the actors in the current UCarlaEpisode.
在文件 WorldObserver.h 第 14 行定义.
using FWorldObserver::not_spawnable = void |
Prevent this sensor to be spawned by users.
在文件 WorldObserver.h 第 19 行定义.
void FWorldObserver::BroadcastTick | ( | const UCarlaEpisode & | Episode, |
float | DeltaSeconds, | ||
bool | MapChange, | ||
bool | PendingLightUpdate ) |
Send a message to every connected client with the info about the given Episode.
在文件 WorldObserver.cpp 第 367 行定义.
引用了 FWorldObserver_Serialize(), UCarlaEpisode::GetElapsedGameTime(), FDataStreamTmpl< T >::IsStreamReady(), FDataStreamTmpl< T >::MakeAsyncDataStream() , 以及 Stream.
被这些函数引用 FCarlaEngine::OnPostTick().
|
inline |
Dummy. Required for compatibility with other sensors only.
在文件 WorldObserver.h 第 42 行定义.
|
inline |
Return the token that allows subscribing to this sensor's stream.
在文件 WorldObserver.h 第 28 行定义.
引用了 FDataStreamTmpl< T >::GetToken() , 以及 Stream.
|
inline |
Replace the Stream associated with this sensor.
在文件 WorldObserver.h 第 22 行定义.
引用了 Stream.
被这些函数引用 FCarlaEngine::NotifyInitGame().
|
private |
在文件 WorldObserver.h 第 49 行定义.
被这些函数引用 BroadcastTick(), GetToken() , 以及 SetStream().