|
CARLA
|
#include <Actor.h>
Public Member Functions | |
| Actor ()=default | |
| MSGPACK_DEFINE_ARRAY (id, parent_id, description, bounding_box, semantic_tags, stream_token, spawn_frame) | |
Public Attributes | |
| geom::BoundingBox | bounding_box |
| ActorDescription | description |
| ActorId | id = 0u |
| ActorId | parent_id = 0u |
| std::vector< uint8_t > | semantic_tags |
| uint64_t | spawn_frame = 0u |
| Server frame counter when a spawn call created this actor: snapshots up to and including this frame predate it. | |
Sensor functionality | |
| |
| std::vector< unsigned char > | stream_token |
| bool | HasAStream () const |
| streaming::Token | GetStreamToken () const |
Definition at line 20 of file rpc/Actor.h.
|
default |
|
inline |
Definition at line 45 of file rpc/Actor.h.
References carla::streaming::Token::data, DEBUG_ASSERT, HasAStream(), and stream_token.
|
inline |
Definition at line 41 of file rpc/Actor.h.
References carla::streaming::Token::data, and stream_token.
Referenced by GetStreamToken(), and carla::client::detail::ActorFactory::MakeActor().
| carla::rpc::Actor::MSGPACK_DEFINE_ARRAY | ( | id | , |
| parent_id | , | ||
| description | , | ||
| bounding_box | , | ||
| semantic_tags | , | ||
| stream_token | , | ||
| spawn_frame | ) |
References bounding_box, description, parent_id, semantic_tags, spawn_frame, and stream_token.
| geom::BoundingBox carla::rpc::Actor::bounding_box |
Definition at line 31 of file rpc/Actor.h.
Referenced by carla::client::detail::ActorState::GetBoundingBox(), MSGPACK_DEFINE_ARRAY(), UCarlaEpisode::SerializeActor(), and TEST().
| ActorDescription carla::rpc::Actor::description |
Definition at line 29 of file rpc/Actor.h.
Referenced by carla::client::detail::ActorState::GetTypeId(), carla::client::detail::ActorVariant::GetTypeId(), carla::client::detail::ActorFactory::MakeActor(), MSGPACK_DEFINE_ARRAY(), UCarlaEpisode::SerializeActor(), TEST(), and TEST().
| ActorId carla::rpc::Actor::id = 0u |
Definition at line 25 of file rpc/Actor.h.
Referenced by carla::client::detail::ActorState::GetId(), carla::client::detail::ActorVariant::GetId(), carla::client::detail::CachedActorList::Insert(), carla::client::ServerSideSensor::ListenToGBuffer(), carla::client::ServerSideSensor::Send(), UCarlaEpisode::SerializeActor(), UCarlaEpisode::SerializeActorWithPrimaryIds(), carla::client::ServerSideSensor::StopGBuffer(), TEST(), and TEST().
| ActorId carla::rpc::Actor::parent_id = 0u |
Definition at line 27 of file rpc/Actor.h.
Referenced by carla::client::detail::ActorState::GetParentId(), carla::client::detail::ActorVariant::GetParentId(), MSGPACK_DEFINE_ARRAY(), UCarlaEpisode::SerializeActorWithPrimaryIds(), and TEST().
| std::vector<uint8_t> carla::rpc::Actor::semantic_tags |
Definition at line 33 of file rpc/Actor.h.
Referenced by carla::client::detail::ActorState::GetSemanticTags(), MSGPACK_DEFINE_ARRAY(), and UCarlaEpisode::SerializeActor().
| uint64_t carla::rpc::Actor::spawn_frame = 0u |
Server frame counter when a spawn call created this actor: snapshots up to and including this frame predate it.
0 when the actor did not come from a spawn call, or from a server that does not report it. Last in the array so that either side reads the other's older layout.
Definition at line 58 of file rpc/Actor.h.
Referenced by FCarlaServer::FPimpl::BindActions(), MSGPACK_DEFINE_ARRAY(), carla::client::detail::Simulator::SpawnActor(), and TEST().
| std::vector<unsigned char> carla::rpc::Actor::stream_token |
Definition at line 39 of file rpc/Actor.h.
Referenced by GetStreamToken(), HasAStream(), and MSGPACK_DEFINE_ARRAY().