CARLA
Loading...
Searching...
No Matches
carla::client::detail Namespace Reference

Classes

class  ActorFactory
class  ActorState
 Internal state of an Actor. More...
class  ActorVariant
 Holds an Actor, but only instantiates it when needed. More...
class  AtomicList
 Holds an atomic pointer to a list. More...
class  CachedActorList
 Keeps a list of actor descriptions to avoid requesting each time the descriptions to the server. More...
class  CallbackList
class  Client
 Provides communication with the rpc and streaming servers of a CARLA simulator. More...
class  Episode
 Holds the current episode, and the current episode state. More...
class  EpisodeProxyImpl
 Provides access to the Simulator during a given episode. More...
struct  EpisodeProxyPointerType
class  EpisodeState
 Represents the state of all the actors of an episode at a given frame. More...
struct  GarbageCollector
class  Simulator
 Connects and controls a CARLA Simulator. More...
class  WalkerNavigation

Typedefs

using EpisodeProxy = EpisodeProxyImpl<EpisodeProxyPointerType::Strong>
using WeakEpisodeProxy = EpisodeProxyImpl<EpisodeProxyPointerType::Weak>

Functions

 _attributes (_description.description.attributes.begin(), _description.description.attributes.end())
static auto & CastData (const sensor::SensorData &data)
template<typename T>
static T Get (carla::rpc::Response< T > &response)
static bool Get (carla::rpc::Response< void > &)
template<typename RangeT>
static auto GetActorsById_Impl (Client &client, CachedActorList &actors, const RangeT &actor_ids)
static EpisodeProxyPointerType::Shared Load (EpisodeProxyPointerType::Strong ptr)
static EpisodeProxyPointerType::Shared Load (EpisodeProxyPointerType::Weak ptr)
template<typename ActorT>
static auto MakeActorImpl (ActorInitializer init, GarbageCollectionPolicy gc)
static bool SynchronizeFrame (uint64_t frame, const Episode &episode, time_duration timeout)
static void ValidateVersions (Client &client)

Typedef Documentation

◆ EpisodeProxy

◆ WeakEpisodeProxy

Function Documentation

◆ _attributes()

carla::client::detail::_attributes ( _description.description.attributes. begin(),
_description.description.attributes. end() )

Definition at line 28 of file ActorState.cpp.

References _attributes().

Referenced by _attributes().

◆ CastData()

auto & carla::client::detail::CastData ( const sensor::SensorData & data)
static

Definition at line 25 of file Episode.cpp.

References CastData().

Referenced by CastData(), and carla::client::detail::Episode::Listen().

◆ Get() [1/2]

template<typename T>
T carla::client::detail::Get ( carla::rpc::Response< T > & response)
static

◆ Get() [2/2]

bool carla::client::detail::Get ( carla::rpc::Response< void > & )
static

Definition at line 40 of file client/detail/Client.cpp.

References Get().

◆ GetActorsById_Impl()

◆ Load() [1/2]

◆ Load() [2/2]

EpisodeProxyPointerType::Shared carla::client::detail::Load ( EpisodeProxyPointerType::Weak ptr)
static

Definition at line 22 of file EpisodeProxy.cpp.

References Load().

◆ MakeActorImpl()

template<typename ActorT>
auto carla::client::detail::MakeActorImpl ( ActorInitializer init,
GarbageCollectionPolicy gc )
static

◆ SynchronizeFrame()

◆ ValidateVersions()

void carla::client::detail::ValidateVersions ( Client & client)
static