The Battle for Wesnoth  1.17.12+dev
Public Member Functions | Public Attributes | List of all members
lua_ptr< T > Class Template Reference

Tmust inherit enable_lua_ptr<T> More...

#include <lua_ptr.hpp>

Public Member Functions

 lua_ptr (enable_lua_ptr< T > &o)
T * get_ptr ()

Public Attributes

std::weak_ptr< T * > self_

Detailed Description

template<typename T>
class lua_ptr< T >

Tmust inherit enable_lua_ptr<T>

Definition at line 19 of file lua_ptr.hpp.

Constructor & Destructor Documentation

◆ lua_ptr()

template<typename T>
lua_ptr< T >::lua_ptr ( enable_lua_ptr< T > &  o)

Definition at line 36 of file lua_ptr.hpp.

Member Function Documentation

◆ get_ptr()

template<typename T>
T* lua_ptr< T >::get_ptr ( )

Member Data Documentation

◆ self_

template<typename T>
std::weak_ptr<T*> lua_ptr< T >::self_

Definition at line 44 of file lua_ptr.hpp.

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