The Battle for Wesnoth  1.15.7+dev
Public Member Functions | Private Attributes | Friends | List of all members
enable_lua_ptr< T > Class Template Reference

#include <lua_ptr.hpp>

Public Member Functions

 enable_lua_ptr (T *tp)
 

Private Attributes

std::shared_ptr< T * > self_
 

Friends

class lua_ptr< T >
 

Detailed Description

template<typename T>
class enable_lua_ptr< T >

Definition at line 21 of file lua_ptr.hpp.

Constructor & Destructor Documentation

◆ enable_lua_ptr()

template<typename T>
enable_lua_ptr< T >::enable_lua_ptr ( T *  tp)
inline

Definition at line 24 of file lua_ptr.hpp.

Friends And Related Function Documentation

◆ lua_ptr< T >

template<typename T>
friend class lua_ptr< T >
friend

Definition at line 26 of file lua_ptr.hpp.

Member Data Documentation

◆ self_

template<typename T>
std::shared_ptr<T*> enable_lua_ptr< T >::self_
private

Definition at line 27 of file lua_ptr.hpp.

Referenced by lua_ptr< T >::get_ptr().


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