LocalGuidance
A library that generates velocity references to follow a path.
SmartPointerContainer.hpp File Reference
#include <std_utils/containers/SmartPointerIterator.hpp>
#include <std_utils/containers/ObserverPointer.hpp>
#include <std_utils/containers/traits.hpp>
#include <memory>
#include <vector>
#include <algorithm>
Include dependency graph for SmartPointerContainer.hpp:

Namespaces

 std_utils
 

Typedefs

template<typename element_type_ , template< typename... > class smart_pointer_ = std::unique_ptr, template< typename... > class container_ = std::vector>
using std_utils::smart_pointer_container = internal::smart_pointer_container< element_type_, internal::wrapper_vec< container_ >, smart_pointer_ >
 A class wrapping an STL container of smart pointers. More...
 
template<typename key_type_ , typename element_type_ , template< typename... > class smart_pointer_ = std::unique_ptr, template< typename... > class container_ = std::map>
using std_utils::smart_pointer_dictionary = internal::smart_pointer_container< element_type_, internal::wrapper_map< key_type_, container_ >, smart_pointer_ >
 A class wrapping a map or unordered map of smart pointers. More...
 
template<typename element_type >
using std_utils::VectorOfUniquePtrs = std_utils::smart_pointer_container< element_type, std::unique_ptr, std::vector >
 A std::vector of std::unique_ptrs to element_type. More...
 
template<typename element_type >
using std_utils::VectorOfSharedPtrs = std_utils::smart_pointer_container< element_type, std::shared_ptr, std::vector >
 A std::vector of std::shared_ptrs to element_type. More...
 
template<typename element_type >
using std_utils::VectorOfObserverPtrs = std_utils::smart_pointer_container< element_type, std_utils::observer_ptr, std::vector >
 A std::vector of std_utils::observer_ptrs to element_type. More...
 
template<typename key_type , typename element_type >
using std_utils::UnorderedMapOfUniquePtrs = std_utils::smart_pointer_dictionary< key_type, element_type, std::unique_ptr, std::unordered_map >
 A std::unordered_map of std::unique_ptrs to element_type. More...