OpenTTD Source: PriorityBaseProvider< T > Class Template Reference

OpenTTD Source 15.0-beta1

Data Structures | Public Member Functions | Protected Attributes
PriorityBaseProvider< T > Class Template Reference
Inheritance diagram for PriorityBaseProvider< T >:

## Data Structures
struct | ProviderSorter
| Sorter for PriorityBaseProvider. More...

## Public Member Functions
constexpr | PriorityBaseProvider (std::string_view name, std::string_view description, int priority)
int | GetPriority () const
Public Member Functions inherited from BaseProvider< T >
constexpr | BaseProvider (std::string_view name, std::string_view description)
std::string_view | GetName () const
std::string_view | GetDescription () const

## Protected Attributes
const int | priority
Protected Attributes inherited from BaseProvider< T >
const std::string_view | name
const std::string_view | description

## Detailed Description

template<typename T>
class PriorityBaseProvider< T >

Definition at line 82 of file provider_manager.h.

## Constructor & Destructor Documentation

## ◆ PriorityBaseProvider()

template<typename T >

constexpr PriorityBaseProvider< T >::PriorityBaseProvider | ( | std::string_view | name,
|  | std::string_view | description,
|  | int | priority
| ) |  |
| inlineconstexpr

Definition at line 84 of file provider_manager.h.

## ◆ ~PriorityBaseProvider()

template<typename T >

virtual PriorityBaseProvider< T >::~PriorityBaseProvider | ( |  | ) |
| inlinevirtual

Definition at line 85 of file provider_manager.h.

## Member Function Documentation

## ◆ GetPriority()

template<typename T >

int PriorityBaseProvider< T >::GetPriority | ( |  | ) | const
| inline

Definition at line 87 of file provider_manager.h.

## Field Documentation

## ◆ priority

template<typename T >

const int PriorityBaseProvider< T >::priority
| protected

Definition at line 104 of file provider_manager.h.

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

- src/provider_manager.h