#include <Light.h>
Collaboration diagram for carla::client::Light:Public Member Functions | |
| Color | GetColor () const |
| LightId | GetId () const |
| float | GetIntensity () const |
| LightGroup | GetLightGroup () const |
| LightState | GetLightState () const |
| const geom::Location | GetLocation () const |
| bool | IsOff () const |
| bool | IsOn () const |
| Light () | |
| void | SetColor (Color color) |
| void | SetIntensity (float intensity) |
| void | SetLightGroup (LightGroup group) |
| void | SetLightState (const LightState &state) |
| void | TurnOff () |
| void | TurnOn () |
Private Types | |
| using | LightGroup = rpc::LightState::LightGroup |
Private Member Functions | |
| Light (WeakPtr< LightManager > light_manager, geom::Location location, LightId id) | |
Private Attributes | |
| LightId | _id |
| WeakPtr< LightManager > | _light_manager |
| geom::Location | _location |
Friends | |
| class | LightManager |
|
private |
|
inline |
Definition at line 27 of file Light.h.
References GetColor().
Here is the call graph for this function:
|
inlineprivate |
| Color carla::client::Light::GetColor | ( | ) | const |
Definition at line 18 of file Light.cpp.
References _id, and _light_manager.
Referenced by Light().
Here is the caller graph for this function:
|
inline |
Definition at line 31 of file Light.h.
References _id, and GetIntensity().
Here is the call graph for this function:| float carla::client::Light::GetIntensity | ( | ) | const |
Definition at line 24 of file Light.cpp.
References _id, and _light_manager.
Referenced by GetId().
Here is the caller graph for this function:| LightGroup carla::client::Light::GetLightGroup | ( | ) | const |
Definition at line 30 of file Light.cpp.
References _id, and _light_manager.
Referenced by GetLocation().
Here is the caller graph for this function:| LightState carla::client::Light::GetLightState | ( | ) | const |
Definition at line 36 of file Light.cpp.
References _id, and _light_manager.
Referenced by GetLocation().
Here is the caller graph for this function:
|
inline |
Definition at line 37 of file Light.h.
References _location, GetLightGroup(), GetLightState(), IsOff(), IsOn(), SetColor(), SetIntensity(), SetLightGroup(), SetLightState(), TurnOff(), and TurnOn().
Here is the call graph for this function:| bool carla::client::Light::IsOff | ( | ) | const |
Definition at line 48 of file Light.cpp.
References _id, and _light_manager.
Referenced by GetLocation().
Here is the caller graph for this function:| bool carla::client::Light::IsOn | ( | ) | const |
Definition at line 42 of file Light.cpp.
References _id, and _light_manager.
Referenced by GetLocation().
Here is the caller graph for this function:| void carla::client::Light::SetColor | ( | Color | color | ) |
Definition at line 54 of file Light.cpp.
References _id, and _light_manager.
Referenced by GetLocation().
Here is the caller graph for this function:| void carla::client::Light::SetIntensity | ( | float | intensity | ) |
Definition at line 60 of file Light.cpp.
References _id, and _light_manager.
Referenced by GetLocation().
Here is the caller graph for this function:| void carla::client::Light::SetLightGroup | ( | LightGroup | group | ) |
Definition at line 66 of file Light.cpp.
References _id, and _light_manager.
Referenced by GetLocation().
Here is the caller graph for this function:| void carla::client::Light::SetLightState | ( | const LightState & | state | ) |
Definition at line 72 of file Light.cpp.
References _id, and _light_manager.
Referenced by GetLocation().
Here is the caller graph for this function:| void carla::client::Light::TurnOff | ( | ) |
Definition at line 84 of file Light.cpp.
References _id, and _light_manager.
Referenced by GetLocation().
Here is the caller graph for this function:| void carla::client::Light::TurnOn | ( | ) |
Definition at line 78 of file Light.cpp.
References _id, and _light_manager.
Referenced by GetLocation().
Here is the caller graph for this function:
|
friend |
|
private |
Definition at line 75 of file Light.h.
Referenced by GetColor(), GetId(), GetIntensity(), GetLightGroup(), GetLightState(), IsOff(), IsOn(), SetColor(), SetIntensity(), SetLightGroup(), SetLightState(), TurnOff(), and TurnOn().
|
private |
Definition at line 72 of file Light.h.
Referenced by GetColor(), GetIntensity(), GetLightGroup(), GetLightState(), IsOff(), IsOn(), SetColor(), SetIntensity(), SetLightGroup(), SetLightState(), TurnOff(), and TurnOn().
|
private |
Definition at line 73 of file Light.h.
Referenced by GetLocation().
1.8.13