17 rpc::Actor description,
19 : _description(
std::move(description)),
20 _episode(
std::move(episode)),
21 _display_id([](const auto &desc) {
22 using namespace std::string_literals;
25 std::to_string(desc.id) +
26 " (" + desc.description.id +
')';
28 _attributes(_description.description.attributes.begin(), _description.description.attributes.end())
32 auto parent_id = GetParentId();
33 return parent_id != 0u ? GetWorld().GetActor(parent_id) :
nullptr;
ActorState(rpc::Actor description, EpisodeProxy episode)
EpisodeProxyImpl< EpisodeProxyPointerType::Strong > EpisodeProxy
_attributes(_description.description.attributes.begin(), _description.description.attributes.end())
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...