#include "carla/client/ActorAttribute.h"
#include "carla/Exception.h"
#include "carla/Logging.h"
#include "carla/StringUtil.h"
命名空间 | |
namespace | carla |
This file contains definitions of common data structures used in traffic manager. | |
namespace | carla::client |
宏定义 | |
#define | LIBCARLA_THROW_BAD_VALUE_CAST(type) |
#define | LIBCARLA_THROW_INVALID_VALUE(message) throw_exception(InvalidAttributeValue(GetId() + ": " + message)); |
函数 | |
template<> | |
sensor::data::Color | carla::client::ActorAttributeValueAccess::As< sensor::data::Color > () const |
template<> | |
std::string | carla::client::ActorAttributeValueAccess::As< std::string > () const |
#define LIBCARLA_THROW_BAD_VALUE_CAST | ( | type | ) |
在文件 ActorAttribute.cpp 第 17 行定义.
被这些函数引用 carla::client::ActorAttributeValueAccess::As< sensor::data::Color >(), carla::client::ActorAttributeValueAccess::As< std::string >() , 以及 carla::client::ActorAttributeValueAccess::As().
#define LIBCARLA_THROW_INVALID_VALUE | ( | message | ) | throw_exception(InvalidAttributeValue(GetId() + ": " + message)); |