CARLA
Loading...
Searching...
No Matches
carla::client::ActorInitializer Class Reference

Used to initialize Actor classes. More...

#include <ActorState.h>

Inheritance diagram for carla::client::ActorInitializer:

Public Member Functions

 ActorInitializer (ActorInitializer &&)=default
Public Member Functions inherited from carla::client::detail::ActorState
const std::vector< ActorAttributeValue > & GetAttributes () const
const std::string & GetDisplayId () const
ActorId GetId () const
SharedPtr< Actor > GetParent () const
ActorId GetParentId () const
const std::vector< uint8_t > & GetSemanticTags () const
uint64_t GetSpawnFrame () const
 Frame of the last world snapshot this client had received when the spawn of this actor was acknowledged by the server; unset for looked-up handles.
const std::string & GetTypeId () const
World GetWorld () const
bool WasSpawnedByThisClient () const
 Whether this handle was returned by a spawn call of this client, as opposed to being looked up (get_actor, get_actors, parent, spectator).

Private Member Functions

 ActorState (rpc::Actor description, EpisodeProxy episode)

Friends

class detail::ActorFactory

Additional Inherited Members

Protected Member Functions inherited from carla::client::detail::ActorState
 ActorState (rpc::Actor description, EpisodeProxy episode)
const rpc::Actor & GetActorDescription () const
const geom::BoundingBox & GetBoundingBox () const
EpisodeProxy & GetEpisode ()
const EpisodeProxy & GetEpisode () const

Detailed Description

Used to initialize Actor classes.

Only the ActorFactory can create this object, thus only the ActorFactory can create actors.

Definition at line 112 of file client/detail/ActorState.h.

Constructor & Destructor Documentation

◆ ActorInitializer()

carla::client::ActorInitializer::ActorInitializer ( ActorInitializer && )
default

References ActorInitializer().

Referenced by ActorInitializer().

Member Function Documentation

◆ ActorState()

carla::client::detail::ActorState::ActorState ( rpc::Actor description,
EpisodeProxy episode )
explicitprivate

◆ detail::ActorFactory

friend class detail::ActorFactory
friend

The documentation for this class was generated from the following file: