#include <boost/enable_shared_from_this.hpp>
#include <boost/make_shared.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
浏览源代码.
|
namespace | carla |
| This file contains definitions of common data structures used in traffic manager.
|
|
|
template<typename T > |
using | carla::EnableSharedFromThis = boost::enable_shared_from_this<T> |
|
template<typename T > |
using | carla::SharedPtr = boost::shared_ptr<T> |
| Use this SharedPtr (boost::shared_ptr) to keep compatibility with boost::python, but it would be nice if in the future we can make a Python adaptor for std::shared_ptr.
|
|
template<typename T > |
using | carla::WeakPtr = boost::weak_ptr<T> |
|
|
template<typename T , typename... Args> |
static auto | carla::MakeShared (Args &&... args) |
|