CARLA
 
载入中...
搜索中...
未找到
Stage.h
浏览该文件的文档.
1
2#pragma once
3
4#include "carla/rpc/ActorId.h"
5
6namespace carla {
7namespace traffic_manager {
8
10
11/// Stage type interface.
12class Stage {
13
14public:
15 Stage() {};
16 Stage(const Stage&) {};
17 virtual ~Stage() {};
18
19 // This method should be called every update cycle
20 // and represents the core operation of the stage.
21 virtual void Update(const unsigned long index) = 0;
22 // This method should remove an actor from the internal state of the stage type.
23 virtual void RemoveActor(const ActorId actor_id) = 0;
24 // This method should flush all internal state of the state type.
25 virtual void Reset() = 0;
26};
27
28} // namespace traffic_manager
29} // namespace carla
Stage type interface.
Definition Stage.h:12
virtual void RemoveActor(const ActorId actor_id)=0
virtual void Update(const unsigned long index)=0
Stage(const Stage &)
Definition Stage.h:16
uint32_t ActorId
Definition ActorId.h:14
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133