CFx SDK Documentation  2020SP3
Public Types | Public Member Functions | List of all members
slimsig::trackable_lock< T > Class Template Reference

#include <tracked_connect.h>

Public Types

using weak_ptr_type = std::weak_ptr< T >
 

Public Member Functions

 trackable_lock (std::vector< std::weak_ptr< T >> trackable_objects)
 
 trackable_lock (std::initializer_list< std::weak_ptr< T >> trackable_list)
 
bool try_lock ()
 

Detailed Description

template<class T>
class slimsig::trackable_lock< T >

Definition at line 113 of file tracked_connect.h.

Member Typedef Documentation

◆ weak_ptr_type

template<class T >
using slimsig::trackable_lock< T >::weak_ptr_type = std::weak_ptr<T>

Definition at line 115 of file tracked_connect.h.

Constructor & Destructor Documentation

◆ trackable_lock() [1/2]

template<class T >
slimsig::trackable_lock< T >::trackable_lock ( std::vector< std::weak_ptr< T >>  trackable_objects)
inline

Definition at line 116 of file tracked_connect.h.

◆ trackable_lock() [2/2]

template<class T >
slimsig::trackable_lock< T >::trackable_lock ( std::initializer_list< std::weak_ptr< T >>  trackable_list)
inline

Definition at line 117 of file tracked_connect.h.

Member Function Documentation

◆ try_lock()

template<class T >
bool slimsig::trackable_lock< T >::try_lock ( )
inline

Definition at line 121 of file tracked_connect.h.


The documentation for this class was generated from the following file: