#include <AtomicActorSet.h>
Public Member Functions | |
AtomicActorSet () | |
void | Clear () |
bool | Contains (ActorId id) |
void | Destroy (ActorId actor_id) |
std::vector< ActorId > | GetIDList () |
std::vector< ActorPtr > | GetList () |
int | GetState () |
void | Insert (std::vector< ActorPtr > actor_list) |
void | Remove (std::vector< ActorId > actor_id_list) |
size_t | Size () |
Private Attributes | |
std::map< ActorId, ActorPtr > | actor_set |
std::mutex | modification_mutex |
int | state_counter |
Definition at line 23 of file AtomicActorSet.h.
|
inline |
Definition at line 33 of file AtomicActorSet.h.
|
inline |
Definition at line 104 of file AtomicActorSet.h.
Referenced by carla::traffic_manager::TrafficManagerLocal::Stop().
|
inline |
Definition at line 92 of file AtomicActorSet.h.
Referenced by carla::traffic_manager::ALSM::IdentifyDestroyedActors(), and carla::traffic_manager::ALSM::IdentifyNewActors().
|
inline |
Definition at line 75 of file AtomicActorSet.h.
References state_counter.
Referenced by carla::traffic_manager::ALSM::Update().
|
inline |
Definition at line 45 of file AtomicActorSet.h.
Referenced by carla::traffic_manager::TrafficManagerLocal::GetRegisteredVehiclesIDs(), carla::traffic_manager::ALSM::IdentifyDestroyedActors(), and carla::traffic_manager::TrafficManagerLocal::Run().
|
inline |
Definition at line 35 of file AtomicActorSet.h.
Referenced by carla::traffic_manager::ALSM::UpdateRegisteredActorsData().
|
inline |
Definition at line 86 of file AtomicActorSet.h.
References state_counter.
Referenced by carla::traffic_manager::TrafficManagerLocal::Run().
|
inline |
Definition at line 55 of file AtomicActorSet.h.
References state_counter.
Referenced by carla::traffic_manager::TrafficManagerLocal::RegisterVehicles().
|
inline |
Definition at line 64 of file AtomicActorSet.h.
References state_counter.
Referenced by carla::traffic_manager::ALSM::RemoveActor().
|
inline |
Definition at line 98 of file AtomicActorSet.h.
Referenced by carla::traffic_manager::TrafficManagerLocal::Run().
Definition at line 28 of file AtomicActorSet.h.
|
private |
Definition at line 27 of file AtomicActorSet.h.
|
private |
Definition at line 29 of file AtomicActorSet.h.
Referenced by Destroy(), GetState(), Insert(), and Remove().