19 std::vector<rpc::Actor> actors)
20 : _episode(
std::move(episode)),
21 _actors(
std::make_move_iterator(actors.begin()),
std::make_move_iterator(actors.end())) {}
25 if (actor_id == actor.GetId()) {
36 filtered->_actors.push_back(actor);
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
static bool Match(const char *str, const char *wildcard_pattern)
Match str with the Unix shell-style wildcard_pattern.
SharedPtr< Actor > Find(ActorId actor_id) const
Find an actor by id.
detail::EpisodeProxy _episode
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.