The Battle for Wesnoth  1.17.12+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_


class lua_ptr< T >

Detailed Description

template<typename T>
class enable_lua_ptr< T >

Definition at line 22 of file lua_ptr.hpp.

Constructor & Destructor Documentation

◆ enable_lua_ptr()

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

Definition at line 25 of file lua_ptr.hpp.

Friends And Related Function Documentation

◆ lua_ptr< T >

template<typename T>
friend class lua_ptr< T >

Definition at line 27 of file lua_ptr.hpp.

Member Data Documentation

◆ self_

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

Definition at line 28 of file lua_ptr.hpp.

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

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