CARLA
Public Member Functions | Private Attributes | List of all members
carla::nav::WalkerEventVisitor Class Reference

visitor class More...

#include <WalkerEvent.h>

+ Collaboration diagram for carla::nav::WalkerEventVisitor:

Public Member Functions

EventResult operator() (WalkerEventIgnore &event)
 
EventResult operator() (WalkerEventWait &event)
 
EventResult operator() (WalkerEventStopAndCheck &event)
 
 WalkerEventVisitor (WalkerManager *manager, ActorId id, double delta)
 

Private Attributes

double _delta { 0 }
 
ActorId _id { 0 }
 
WalkerManager_manager { nullptr }
 

Detailed Description

visitor class

Definition at line 54 of file WalkerEvent.h.

Constructor & Destructor Documentation

◆ WalkerEventVisitor()

carla::nav::WalkerEventVisitor::WalkerEventVisitor ( WalkerManager manager,
ActorId  id,
double  delta 
)
inline

Definition at line 56 of file WalkerEvent.h.

Member Function Documentation

◆ operator()() [1/3]

EventResult carla::nav::WalkerEventVisitor::operator() ( WalkerEventIgnore event)

Definition at line 15 of file WalkerEvent.cpp.

References carla::nav::End.

◆ operator()() [2/3]

EventResult carla::nav::WalkerEventVisitor::operator() ( WalkerEventWait event)

◆ operator()() [3/3]

EventResult carla::nav::WalkerEventVisitor::operator() ( WalkerEventStopAndCheck event)

Member Data Documentation

◆ _delta

double carla::nav::WalkerEventVisitor::_delta { 0 }
private

Definition at line 63 of file WalkerEvent.h.

Referenced by operator()().

◆ _id

ActorId carla::nav::WalkerEventVisitor::_id { 0 }
private

Definition at line 62 of file WalkerEvent.h.

Referenced by operator()().

◆ _manager

WalkerManager* carla::nav::WalkerEventVisitor::_manager { nullptr }
private

Definition at line 61 of file WalkerEvent.h.

Referenced by operator()().


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