The Battle for Wesnoth  1.15.5+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 18 of file lua_ptr.hpp.

Constructor & Destructor Documentation

◆ lua_ptr()

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

Definition at line 35 of file lua_ptr.hpp.

Member Function Documentation

◆ get_ptr()

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

Member Data Documentation

◆ self_

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

Definition at line 43 of file lua_ptr.hpp.


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