Namespaces | Typedefs | Functions
Memory.h File Reference
#include <boost/enable_shared_from_this.hpp>
#include <boost/make_shared.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
+ Include dependency graph for Memory.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 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. More...
template<typename T >
using carla::WeakPtr = boost::weak_ptr< T >


template<typename T , typename... Args>
static auto carla::MakeShared (Args &&... args)