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

Classes

struct  Bounds

Public Member Functions

 LaneInvasionCallback (const Vehicle &vehicle, SharedPtr< Map > &&map, Sensor::CallbackFunctionType &&user_callback)
void Tick (const WorldSnapshot &snapshot) const

Private Member Functions

std::shared_ptr< const Bounds > MakeBounds (size_t frame, const geom::Transform &vehicle_transform) const

Private Attributes

AtomicSharedPtr< const Bounds > _bounds
Sensor::CallbackFunctionType _callback
SharedPtr< const Map > _map
ActorId _parent
geom::BoundingBox _parent_bounding_box

Detailed Description

Constructor & Destructor Documentation

◆ LaneInvasionCallback()

carla::client::LaneInvasionCallback::LaneInvasionCallback ( const Vehicle & vehicle,
SharedPtr< Map > && map,
Sensor::CallbackFunctionType && user_callback )
inline

Member Function Documentation

◆ MakeBounds()

std::shared_ptr< const LaneInvasionCallback::Bounds > carla::client::LaneInvasionCallback::MakeBounds ( size_t frame,
const geom::Transform & vehicle_transform ) const
private

◆ Tick()

Member Data Documentation

◆ _bounds

AtomicSharedPtr<const Bounds> carla::client::LaneInvasionCallback::_bounds
mutableprivate

Definition at line 75 of file LibCarla/source/carla/client/LaneInvasionSensor.cpp.

Referenced by Tick().

◆ _callback

Sensor::CallbackFunctionType carla::client::LaneInvasionCallback::_callback
private

◆ _map

SharedPtr<const Map> carla::client::LaneInvasionCallback::_map
private

◆ _parent

ActorId carla::client::LaneInvasionCallback::_parent
private

◆ _parent_bounding_box

geom::BoundingBox carla::client::LaneInvasionCallback::_parent_bounding_box
private

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