CARLA
Public Types | Public Member Functions | Public Attributes | List of all members
FCameraGBufferUint8 Struct Reference

#include <SceneCaptureSensor.h>

+ Collaboration diagram for FCameraGBufferUint8:

Public Types

using not_spawnable = void
 Prevent this sensor to be spawned by users. More...
 

Public Member Functions

FTransform GetActorTransform () const
 Dummy. Required for compatibility with other sensors only. More...
 
template<typename SensorT >
FAsyncDataStream GetDataStream (const SensorT &Self)
 Return the FDataStream associated with this sensor. More...
 
auto GetToken () const
 Return the token that allows subscribing to this sensor's stream. More...
 
void SetDataStream (FDataStream InStream)
 
void SetStream (FDataMultiStream InStream)
 Replace the Stream associated with this sensor. More...
 

Public Attributes

bool bIsUsed = false
 
FDataStream Stream
 

Detailed Description

Definition at line 29 of file SceneCaptureSensor.h.

Member Typedef Documentation

◆ not_spawnable

Prevent this sensor to be spawned by users.

Definition at line 32 of file SceneCaptureSensor.h.

Member Function Documentation

◆ GetActorTransform()

FTransform FCameraGBufferUint8::GetActorTransform ( ) const
inline

Dummy. Required for compatibility with other sensors only.

Definition at line 52 of file SceneCaptureSensor.h.

◆ GetDataStream()

template<typename SensorT >
FAsyncDataStream FCameraGBufferUint8::GetDataStream ( const SensorT &  Self)
inline

Return the FDataStream associated with this sensor.

You need to provide a reference to self, this is necessary for template deduction.

Definition at line 61 of file SceneCaptureSensor.h.

References FDataStreamTmpl< T >::MakeAsyncDataStream(), and Stream.

+ Here is the call graph for this function:

◆ GetToken()

auto FCameraGBufferUint8::GetToken ( ) const
inline

Return the token that allows subscribing to this sensor's stream.

Definition at line 45 of file SceneCaptureSensor.h.

References bIsUsed, FDataStreamTmpl< T >::GetToken(), and Stream.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetDataStream()

void FCameraGBufferUint8::SetDataStream ( FDataStream  InStream)
inline

Definition at line 34 of file SceneCaptureSensor.h.

References Stream.

◆ SetStream()

void FCameraGBufferUint8::SetStream ( FDataMultiStream  InStream)
inline

Replace the Stream associated with this sensor.

Definition at line 40 of file SceneCaptureSensor.h.

References Stream.

Member Data Documentation

◆ bIsUsed

bool FCameraGBufferUint8::bIsUsed = false
mutable

Definition at line 66 of file SceneCaptureSensor.h.

Referenced by GetToken(), and FCameraGBufferFloat::GetToken().

◆ Stream

FDataStream FCameraGBufferUint8::Stream

The documentation for this struct was generated from the following file: