Go to the source code of this file.
|
| namespace | carla |
| | This file contains definitions of common data structures used in traffic manager.
|
| |
| namespace | carla::client |
| |
◆ LIBCARLA_THROW_BAD_VALUE_CAST
| #define LIBCARLA_THROW_BAD_VALUE_CAST |
( |
|
type | ) |
|
Value: if (GetType() != rpc::ActorAttributeType:: type) { \
throw_exception(BadAttributeCast(GetId() + ": bad attribute cast: cannot convert to " #type)); \
}
Definition at line 17 of file ActorAttribute.cpp.
◆ LIBCARLA_THROW_INVALID_VALUE
| #define LIBCARLA_THROW_INVALID_VALUE |
( |
|
message | ) |
throw_exception(InvalidAttributeValue(GetId() + ": " + message)); |