11#include <boost/iterator/transform_iterator.hpp>
21 template <
typename It>
23 return boost::make_transform_iterator(it, [
this](
auto &v) {
68 std::vector<detail::ActorVariant>
_actors;
SharedPtr< Actor > at(size_t pos) const
std::vector< detail::ActorVariant > _actors
auto MakeIterator(It it) const
SharedPtr< Actor > operator[](size_t pos) const
SharedPtr< ActorList > Filter(const std::string &wildcard_pattern) const
Filters a list of Actor with type id matching wildcard_pattern.
detail::EpisodeProxy _episode
SharedPtr< Actor > Find(ActorId actor_id) const
Find an actor by id.
carla::SharedPtr< cc::ActorList > ActorList
This file contains definitions of common data structures used in traffic manager.
boost::shared_ptr< T > SharedPtr
Use this SharedPtr (boost::shared_ptr) to keep compatibility with boost::python, but it would be nice...