#include <LightManager.h>
类 carla::client::LightManager 继承关系图:
carla::client::LightManager 的协作图:Public 成员函数 | |
| std::vector< Light > | GetAllLights (LightGroup type=LightGroup::None) const |
| Color | GetColor (LightId id) const |
| std::vector< Color > | GetColor (std::vector< Light > &lights) const |
| float | GetIntensity (LightId id) const |
| std::vector< float > | GetIntensity (std::vector< Light > &lights) const |
| LightGroup | GetLightGroup (LightId id) const |
| std::vector< LightGroup > | GetLightGroup (std::vector< Light > &lights) const |
| LightState | GetLightState (LightId id) const |
| std::vector< LightState > | GetLightState (std::vector< Light > &lights) const |
| std::vector< Light > | GetTurnedOffLights (LightGroup type=LightGroup::None) const |
| std::vector< Light > | GetTurnedOnLights (LightGroup type=LightGroup::None) const |
| bool | IsActive (LightId id) const |
| std::vector< bool > | IsActive (std::vector< Light > &lights) const |
| LightManager () | |
| LightManager (const LightManager &other) | |
| void | SetActive (LightId id, bool active) |
| void | SetActive (std::vector< Light > &lights, std::vector< bool > &active) |
| void | SetColor (LightId id, Color color) |
| void | SetColor (std::vector< Light > &lights, Color color) |
| void | SetColor (std::vector< Light > &lights, std::vector< Color > &colors) |
| void | SetDayNightCycle (const bool active) |
| void | SetEpisode (detail::WeakEpisodeProxy episode) |
| void | SetIntensity (LightId id, float intensity) |
| void | SetIntensity (std::vector< Light > &lights, float intensity) |
| void | SetIntensity (std::vector< Light > &lights, std::vector< float > &intensities) |
| void | SetLightGroup (LightId id, LightGroup group) |
| void | SetLightGroup (std::vector< Light > &lights, LightGroup group) |
| void | SetLightGroup (std::vector< Light > &lights, std::vector< LightGroup > &groups) |
| void | SetLightState (LightId id, const LightState &new_state) |
| void | SetLightState (std::vector< Light > &lights, LightState state) |
| void | SetLightState (std::vector< Light > &lights, std::vector< LightState > &states) |
| void | SetLightStateNoLock (LightId id, const LightState &new_state) |
| void | TurnOff (std::vector< Light > &lights) |
| void | TurnOn (std::vector< Light > &lights) |
| ~LightManager () | |
Private 类型 | |
| using | LightGroup = rpc::LightState::LightGroup |
Private 成员函数 | |
| void | ApplyChanges () |
| void | QueryLightsStateToServer () |
| const LightState & | RetrieveLightState (LightId id) const |
| void | UpdateServerLightsState (bool discard_client=false) |
Private 属性 | |
| bool | _dirty = false |
| detail::WeakEpisodeProxy | _episode |
| std::unordered_map< LightId, Light > | _lights |
| std::unordered_map< LightId, LightState > | _lights_changes |
| std::unordered_map< LightId, LightState > | _lights_state |
| std::mutex | _mutex |
| size_t | _on_light_update_register_id = 0 |
| size_t | _on_tick_register_id = 0 |
| LightState | _state |
在文件 LightManager.h 第 25 行定义.
|
private |
在文件 LightManager.h 第 28 行定义.
|
inline |
在文件 LightManager.h 第 32 行定义.
| carla::client::LightManager::~LightManager | ( | ) |
在文件 LightManager.cpp 第 17 行定义.
引用了 _episode, _on_light_update_register_id , 以及 UpdateServerLightsState().
函数调用图:
|
inline |
在文件 LightManager.h 第 36 行定义.
引用了 _dirty, _episode, _lights, _lights_changes, _lights_state, _on_light_update_register_id , 以及 _on_tick_register_id.
|
private |
在文件 LightManager.cpp 第 362 行定义.
引用了 _lights_changes, _mutex , 以及 SetLightStateNoLock().
被这些函数引用 SetEpisode().
函数调用图:
这是这个函数的调用关系图:| std::vector< Light > carla::client::LightManager::GetAllLights | ( | LightGroup | type = LightGroup::None | ) | const |
在文件 LightManager.cpp 第 48 行定义.
引用了 _lights , 以及 _lights_state.
在文件 LightManager.cpp 第 223 行定义.
引用了 carla::client::LightState::_color , 以及 RetrieveLightState().
函数调用图:| float carla::client::LightManager::GetIntensity | ( | LightId | id | ) | const |
在文件 LightManager.cpp 第 228 行定义.
引用了 carla::client::LightState::_intensity , 以及 RetrieveLightState().
函数调用图:| std::vector< float > carla::client::LightManager::GetIntensity | ( | std::vector< Light > & | lights | ) | const |
| LightGroup carla::client::LightManager::GetLightGroup | ( | LightId | id | ) | const |
在文件 LightManager.cpp 第 238 行定义.
引用了 carla::client::LightState::_group , 以及 RetrieveLightState().
函数调用图:| std::vector< LightGroup > carla::client::LightManager::GetLightGroup | ( | std::vector< Light > & | lights | ) | const |
| LightState carla::client::LightManager::GetLightState | ( | LightId | id | ) | const |
| std::vector< LightState > carla::client::LightManager::GetLightState | ( | std::vector< Light > & | lights | ) | const |
| std::vector< Light > carla::client::LightManager::GetTurnedOffLights | ( | LightGroup | type = LightGroup::None | ) | const |
在文件 LightManager.cpp 第 108 行定义.
引用了 carla::client::LightState::_active, carla::client::LightState::_group, _lights , 以及 _lights_state.
| std::vector< Light > carla::client::LightManager::GetTurnedOnLights | ( | LightGroup | type = LightGroup::None | ) | const |
在文件 LightManager.cpp 第 92 行定义.
引用了 carla::client::LightState::_active, carla::client::LightState::_group, _lights , 以及 _lights_state.
| bool carla::client::LightManager::IsActive | ( | LightId | id | ) | const |
在文件 LightManager.cpp 第 243 行定义.
引用了 carla::client::LightState::_active , 以及 RetrieveLightState().
函数调用图:| std::vector< bool > carla::client::LightManager::IsActive | ( | std::vector< Light > & | lights | ) | const |
|
private |
在文件 LightManager.cpp 第 305 行定义.
引用了 _episode, _lights, _lights_state , 以及 _mutex.
被这些函数引用 SetEpisode().
这是这个函数的调用关系图:
|
private |
在文件 LightManager.cpp 第 295 行定义.
引用了 _lights_state, _state , 以及 carla::log_warning().
被这些函数引用 GetColor(), GetIntensity(), GetLightGroup(), GetLightState(), IsActive(), SetActive(), SetColor(), SetIntensity(), SetLightGroup(), SetLightState() , 以及 SetLightStateNoLock().
函数调用图:
这是这个函数的调用关系图:| void carla::client::LightManager::SetActive | ( | LightId | id, |
| bool | active | ||
| ) |
在文件 LightManager.cpp 第 248 行定义.
引用了 carla::client::LightState::_active, _dirty, _lights_changes, _mutex , 以及 RetrieveLightState().
函数调用图:| void carla::client::LightManager::SetActive | ( | std::vector< Light > & | lights, |
| std::vector< bool > & | active | ||
| ) |
在文件 LightManager.cpp 第 76 行定义.
引用了 SetActive().
被这些函数引用 SetActive(), TurnOff() , 以及 TurnOn().
函数调用图:
这是这个函数的调用关系图:在文件 LightManager.cpp 第 256 行定义.
引用了 carla::client::LightState::_color, _dirty, _lights_changes, _mutex , 以及 RetrieveLightState().
函数调用图:| void carla::client::LightManager::SetDayNightCycle | ( | const bool | active | ) |
在文件 LightManager.cpp 第 372 行定义.
引用了 _episode.
| void carla::client::LightManager::SetEpisode | ( | detail::WeakEpisodeProxy | episode | ) |
在文件 LightManager.cpp 第 29 行定义.
引用了 _episode, _on_light_update_register_id, _on_tick_register_id, ApplyChanges(), QueryLightsStateToServer() , 以及 UpdateServerLightsState().
函数调用图:| void carla::client::LightManager::SetIntensity | ( | LightId | id, |
| float | intensity | ||
| ) |
在文件 LightManager.cpp 第 264 行定义.
引用了 _dirty, carla::client::LightState::_intensity, _lights_changes, _mutex , 以及 RetrieveLightState().
函数调用图:| void carla::client::LightManager::SetIntensity | ( | std::vector< Light > & | lights, |
| float | intensity | ||
| ) |
| void carla::client::LightManager::SetIntensity | ( | std::vector< Light > & | lights, |
| std::vector< float > & | intensities | ||
| ) |
| void carla::client::LightManager::SetLightGroup | ( | LightId | id, |
| LightGroup | group | ||
| ) |
在文件 LightManager.cpp 第 287 行定义.
引用了 _dirty, carla::client::LightState::_group, _lights_changes, _mutex , 以及 RetrieveLightState().
函数调用图:| void carla::client::LightManager::SetLightGroup | ( | std::vector< Light > & | lights, |
| LightGroup | group | ||
| ) |
| void carla::client::LightManager::SetLightGroup | ( | std::vector< Light > & | lights, |
| std::vector< LightGroup > & | groups | ||
| ) |
| void carla::client::LightManager::SetLightState | ( | LightId | id, |
| const LightState & | new_state | ||
| ) |
在文件 LightManager.cpp 第 272 行定义.
引用了 _dirty, _lights_changes, _mutex , 以及 RetrieveLightState().
函数调用图:| void carla::client::LightManager::SetLightState | ( | std::vector< Light > & | lights, |
| LightState | state | ||
| ) |
| void carla::client::LightManager::SetLightState | ( | std::vector< Light > & | lights, |
| std::vector< LightState > & | states | ||
| ) |
| void carla::client::LightManager::SetLightStateNoLock | ( | LightId | id, |
| const LightState & | new_state | ||
| ) |
在文件 LightManager.cpp 第 280 行定义.
引用了 _lights_changes , 以及 RetrieveLightState().
被这些函数引用 ApplyChanges().
函数调用图:
这是这个函数的调用关系图:| void carla::client::LightManager::TurnOff | ( | std::vector< Light > & | lights | ) |
| void carla::client::LightManager::TurnOn | ( | std::vector< Light > & | lights | ) |
|
private |
在文件 LightManager.cpp 第 328 行定义.
引用了 _dirty, _episode, carla::rpc::LightState::_id, _lights, _lights_changes , 以及 _mutex.
被这些函数引用 SetEpisode() , 以及 ~LightManager().
这是这个函数的调用关系图:
|
private |
在文件 LightManager.h 第 109 行定义.
被这些函数引用 LightManager(), SetActive(), SetColor(), SetIntensity(), SetLightGroup(), SetLightState() , 以及 UpdateServerLightsState().
|
private |
在文件 LightManager.h 第 102 行定义.
被这些函数引用 LightManager(), QueryLightsStateToServer(), SetDayNightCycle(), SetEpisode(), UpdateServerLightsState() , 以及 ~LightManager().
在文件 LightManager.h 第 100 行定义.
被这些函数引用 GetAllLights(), GetTurnedOffLights(), GetTurnedOnLights(), LightManager(), QueryLightsStateToServer() , 以及 UpdateServerLightsState().
|
private |
在文件 LightManager.h 第 99 行定义.
被这些函数引用 ApplyChanges(), LightManager(), SetActive(), SetColor(), SetIntensity(), SetLightGroup(), SetLightState(), SetLightStateNoLock() , 以及 UpdateServerLightsState().
|
private |
在文件 LightManager.h 第 98 行定义.
被这些函数引用 GetAllLights(), GetTurnedOffLights(), GetTurnedOnLights(), LightManager(), QueryLightsStateToServer() , 以及 RetrieveLightState().
|
private |
在文件 LightManager.h 第 104 行定义.
被这些函数引用 ApplyChanges(), QueryLightsStateToServer(), SetActive(), SetColor(), SetIntensity(), SetLightGroup(), SetLightState() , 以及 UpdateServerLightsState().
|
private |
在文件 LightManager.h 第 108 行定义.
被这些函数引用 LightManager(), SetEpisode() , 以及 ~LightManager().
|
private |
在文件 LightManager.h 第 107 行定义.
被这些函数引用 LightManager() , 以及 SetEpisode().
|
private |
在文件 LightManager.h 第 106 行定义.
被这些函数引用 RetrieveLightState().