VSM C++ SDK
Vehicle Specific Modules SDK
ugcs::vsm::internal::Shared_getter< T, Shared_base > Class Template Reference

Helper class for working with classes which are derived from std::enable_shared_from_this. More...

#include <utils.h>

Public Types

typedef Shared_base Shared_base_type
 The type of base class. More...
 

Static Public Member Functions

static std::shared_ptr< T > Get (T *this_ptr)
 Get shared pointer to derived class. More...
 

Detailed Description

template<class T, class Shared_base = void>
class ugcs::vsm::internal::Shared_getter< T, Shared_base >

Helper class for working with classes which are derived from std::enable_shared_from_this.

Member Typedef Documentation

template<class T , class Shared_base = void>
typedef Shared_base ugcs::vsm::internal::Shared_getter< T, Shared_base >::Shared_base_type

The type of base class.

Member Function Documentation

template<class T , class Shared_base = void>
static std::shared_ptr<T> ugcs::vsm::internal::Shared_getter< T, Shared_base >::Get ( T *  this_ptr)
inlinestatic

Get shared pointer to derived class.


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