|
OpenTTD Source 20260421-master-gc2fbc6fdeb
|
Data Structures | |
| struct | ProviderSorter |
| Sorter for BaseProvider. More... | |
Public Member Functions | |
| constexpr | BaseProvider (std::string_view name, std::string_view description) |
| Create the provider. | |
| virtual | ~BaseProvider ()=default |
| Ensure the destructor of the sub classes are called as well. | |
| std::string_view | GetName () const |
| Get the name of this provider. | |
| std::string_view | GetDescription () const |
| Get a description of this provider. | |
Protected Attributes | |
| const std::string_view | name |
| The name of the provider. | |
| const std::string_view | description |
| A description of the provider. | |
Definition at line 54 of file provider_manager.h.
|
inlineconstexpr |
Create the provider.
| name | The name of the provider. |
| description | A description of the provider. |
Definition at line 61 of file provider_manager.h.
References description, and name.
Referenced by PriorityBaseProvider< T >::PriorityBaseProvider().
|
inline |
Get a description of this provider.
Definition at line 75 of file provider_manager.h.
References description.
|
inline |
Get the name of this provider.
Definition at line 69 of file provider_manager.h.
References name.
|
protected |
A description of the provider.
Definition at line 93 of file provider_manager.h.
Referenced by BaseProvider(), GetDescription(), and PriorityBaseProvider< T >::PriorityBaseProvider().
|
protected |
The name of the provider.
Definition at line 92 of file provider_manager.h.
Referenced by BaseProvider(), GetName(), and PriorityBaseProvider< T >::PriorityBaseProvider().