Public Types | Public Member Functions | Private Attributes | List of all members
DuneToolManager::TSharedToolEntry< T > Class Template Reference

#include <DuneToolManager.h>

Inheritance diagram for DuneToolManager::TSharedToolEntry< T >:
DuneToolManager::SharedToolEntry

Public Types

using ToolPtr = std::unique_ptr< T >
 

Public Member Functions

 TSharedToolEntry (ToolPtr &a_ptr)
 
 ~TSharedToolEntry ()=default
 
T * get ()
 
- Public Member Functions inherited from DuneToolManager::SharedToolEntry
virtual ~SharedToolEntry ()=default
 

Private Attributes

ToolPtr m_ptr
 

Detailed Description

template<class T>
class DuneToolManager::TSharedToolEntry< T >

Definition at line 47 of file DuneToolManager.h.

Member Typedef Documentation

template<class T>
using DuneToolManager::TSharedToolEntry< T >::ToolPtr = std::unique_ptr<T>

Definition at line 49 of file DuneToolManager.h.

Constructor & Destructor Documentation

template<class T>
DuneToolManager::TSharedToolEntry< T >::TSharedToolEntry ( ToolPtr a_ptr)
inline

Definition at line 50 of file DuneToolManager.h.

50 : m_ptr(std::move(a_ptr)) { }
def move(depos, offset)
Definition: depos.py:107
template<class T>
DuneToolManager::TSharedToolEntry< T >::~TSharedToolEntry ( )
default

Member Function Documentation

template<class T>
T* DuneToolManager::TSharedToolEntry< T >::get ( )
inline

Definition at line 52 of file DuneToolManager.h.

52 { return m_ptr.get(); }

Member Data Documentation

template<class T>
ToolPtr DuneToolManager::TSharedToolEntry< T >::m_ptr
private

Definition at line 54 of file DuneToolManager.h.


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