#include <ActorList.h>
Inheritance diagram for carla::client::ActorList:
Collaboration diagram for carla::client::ActorList:Public Member Functions | |
| SharedPtr< Actor > | at (size_t pos) const |
| auto | begin () const |
| bool | empty () const |
| auto | end () const |
| SharedPtr< ActorList > | Filter (const std::string &wildcard_pattern) const |
| Filters a list of Actor with type id matching wildcard_pattern. More... | |
| SharedPtr< Actor > | Find (ActorId actor_id) const |
| Find an actor by id. More... | |
| SharedPtr< Actor > | operator[] (size_t pos) const |
| size_t | size () const |
Private Member Functions | |
| ActorList (detail::EpisodeProxy episode, std::vector< rpc::Actor > actors) | |
| template<typename It > | |
| auto | MakeIterator (It it) const |
Private Attributes | |
| std::vector< detail::ActorVariant > | _actors |
| detail::EpisodeProxy | _episode |
Friends | |
| class | World |
Definition at line 18 of file ActorList.h.
|
private |
Definition at line 17 of file ActorList.cpp.
Referenced by Filter().
Here is the caller graph for this function:Definition at line 40 of file ActorList.h.
|
inline |
Definition at line 44 of file ActorList.h.
References _actors, and MakeIterator().
Here is the call graph for this function:
|
inline |
Definition at line 52 of file ActorList.h.
References _actors.
|
inline |
Definition at line 48 of file ActorList.h.
References _actors, and MakeIterator().
Here is the call graph for this function:| SharedPtr< ActorList > carla::client::ActorList::Filter | ( | const std::string & | wildcard_pattern | ) | const |
Filters a list of Actor with type id matching wildcard_pattern.
Definition at line 32 of file ActorList.cpp.
References _actors, _episode, ActorList(), and carla::StringUtil::Match().
Referenced by MakeIterator().
Here is the call graph for this function:
Here is the caller graph for this function:Find an actor by id.
Definition at line 23 of file ActorList.cpp.
References _actors, and _episode.
Referenced by MakeIterator().
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 36 of file ActorList.h.
|
inline |
Definition at line 56 of file ActorList.h.
References _actors.
|
friend |
Definition at line 62 of file ActorList.h.
|
private |
Definition at line 68 of file ActorList.h.
Referenced by at(), begin(), empty(), end(), Filter(), Find(), operator[](), and size().
|
private |
Definition at line 66 of file ActorList.h.
Referenced by at(), Filter(), Find(), MakeIterator(), and operator[]().
1.8.13