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;
auto MakeIterator(It it) const
boost::shared_ptr< T > SharedPtr
Use this SharedPtr (boost::shared_ptr) to keep compatibility with boost::python, but it would be nice...
This file contains definitions of common data structures used in traffic manager. ...
std::vector< detail::ActorVariant > _actors
SharedPtr< Actor > at(size_t pos) const
SharedPtr< Actor > Find(ActorId actor_id) const
Find an actor by id.
detail::EpisodeProxy _episode
SharedPtr< Actor > operator[](size_t pos) const
ActorList(detail::EpisodeProxy episode, std::vector< rpc::Actor > actors)
SharedPtr< ActorList > Filter(const std::string &wildcard_pattern) const
Filters a list of Actor with type id matching wildcard_pattern.