OpenTTD Source 20241224-master-gee860a5c8e
BaseProvider< T > Class Template Reference
Inheritance diagram for BaseProvider< T >:
PriorityBaseProvider< SoundLoader > PriorityBaseProvider< T > SoundLoader SoundLoader_Opus SoundLoader_Raw SoundLoader_Wav

Data Structures

struct  ProviderSorter
 Sorter for BaseProvider. More...
 

Public Member Functions

constexpr BaseProvider (std::string_view name, std::string_view description)
 
std::string_view GetName () const
 
std::string_view GetDescription () const
 

Protected Attributes

const std::string_view name
 
const std::string_view description
 

Detailed Description

template<typename T>
class BaseProvider< T >

Definition at line 54 of file provider_manager.h.

Constructor & Destructor Documentation

◆ BaseProvider()

template<typename T >
constexpr BaseProvider< T >::BaseProvider ( std::string_view  name,
std::string_view  description 
)
inlineconstexpr

Definition at line 56 of file provider_manager.h.

◆ ~BaseProvider()

template<typename T >
virtual BaseProvider< T >::~BaseProvider ( )
inlinevirtual

Definition at line 57 of file provider_manager.h.

Member Function Documentation

◆ GetDescription()

template<typename T >
std::string_view BaseProvider< T >::GetDescription ( ) const
inline

Definition at line 60 of file provider_manager.h.

◆ GetName()

template<typename T >
std::string_view BaseProvider< T >::GetName ( ) const
inline

Definition at line 59 of file provider_manager.h.

Field Documentation

◆ description

template<typename T >
const std::string_view BaseProvider< T >::description
protected

Definition at line 78 of file provider_manager.h.

◆ name

template<typename T >
const std::string_view BaseProvider< T >::name
protected

Definition at line 77 of file provider_manager.h.


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