CFx SDK Documentation  2023 SP0
Classes | Namespaces | Typedefs | Functions
tracked_connect.h File Reference
#include <memory>
#include <vector>
#include <initializer_list>
#include <algorithm>
#include <type_traits>
#include <functional>

Go to the source code of this file.

Classes

class  slimsig::trackable_allocator< T, Observer, BaseAllocator >
 
struct  slimsig::trackable_delete< T, Observer, Deleter >
 
class  slimsig::trackable_lock< T >
 

Namespaces

 slimsig
 

Typedefs

template<class T , class Observer , class Deleter = std::default_delete<T>>
using slimsig::trackable_ptr = std::unique_ptr< T, trackable_delete< T, Observer, Deleter > >
 

Functions

template<class T , class Observer , class Deleter = std::default_delete<T>, class TrackableDeleter = trackable_delete<T, Observer, Deleter>, class... Args>
std::shared_ptr< T > slimsig::make_trackable (TrackableDeleter deleter, Args &&... args)
 
template<class T , class Observer , class Deleter = std::default_delete<T>, class TrackableDeleter = trackable_delete<T, Observer, Deleter>, class... Args>
std::shared_ptr< T > slimsig::make_trackable (Observer observer, Args &&... args)
 
template<class T , class Observer , class Deleter = std::default_delete<T>, class TrackableDeleter = trackable_delete<T, Observer, Deleter>, class... Args>
std::shared_ptr< T > slimsig::make_trackable (Observer observer, Deleter deleter, Args &&... args)
 
template<class T , class Observer , class Allocator = std::allocator<T>, class TrackableAllocator = trackable_allocator<T, Observer, Allocator>, class... Args>
std::shared_ptr< T > slimsig::allocate_trackable (TrackableAllocator allocator, Args &&... args)
 
template<class T , class Observer , class Allocator = std::allocator<T>, class TrackableAllocator = trackable_allocator<T, Observer, Allocator>, class... Args>
std::shared_ptr< T > slimsig::allocate_trackable (Observer observer, Args &&... args)
 
template<class T , class Observer , class Allocator = std::allocator<T>, class TrackableAllocator = trackable_allocator<T, Observer, Allocator>, class... Args>
std::shared_ptr< T > slimsig::allocate_trackable (Observer observer, Allocator allocator, Args &&... args)