|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
Complete performance profile for a game. More...
#include <performance_profile_service.h>
Public Member Functions | |
| std::string | getSummary () const |
| Get a summary string of the profile settings. | |
| bool | isDefault () const |
| Check if this is the default profile. | |
Public Attributes | |
| time_t | createdAt = 0 |
| When profile was created. | |
| std::string | description |
| Optional description. | |
| std::map< std::string, std::string > | environmentVariables |
| FramerateSettings | framerate |
| std::string | id |
| Unique profile ID. | |
| time_t | lastUsedAt = 0 |
| When profile was last applied. | |
| std::vector< std::string > | linkedGameIds |
| std::string | name |
| Display name (e.g., "High Performance"). | |
| PowerSettings | power |
| PerformancePreset | preset = PerformancePreset::Custom |
| ScalingSettings | scaling |
| SyncSettings | sync |
| int | useCount = 0 |
| Number of times profile was used. | |
| WrapperSettings | wrappers |
Complete performance profile for a game.
Definition at line 153 of file performance_profile_service.h.
| std::string PerformanceProfile::getSummary | ( | ) | const |
Get a summary string of the profile settings.
Definition at line 1269 of file performance_profile_service.cpp.
|
inline |
Check if this is the default profile.
Definition at line 182 of file performance_profile_service.h.
References name.
| time_t PerformanceProfile::createdAt = 0 |
When profile was created.
Definition at line 172 of file performance_profile_service.h.
Referenced by PerformanceProfileService::createGlobalProfile(), PerformanceProfileService::createProfile(), PerformanceProfileService::duplicateProfile(), PerformanceProfileService::exportProfileToJson(), and jsonParseProfile().
| std::string PerformanceProfile::description |
Optional description.
Definition at line 158 of file performance_profile_service.h.
Referenced by PerformanceProfileService::createFromPreset(), PerformanceProfileService::exportProfileToJson(), and jsonParseProfile().
| std::map<std::string, std::string> PerformanceProfile::environmentVariables |
Definition at line 169 of file performance_profile_service.h.
Referenced by PerformanceProfileService::profileToEnvVars().
| FramerateSettings PerformanceProfile::framerate |
Definition at line 162 of file performance_profile_service.h.
Referenced by PerformanceProfileService::createFromPreset(), PerformanceProfileService::createSmartDefault(), PerformanceProfileService::exportProfileToJson(), getSummary(), jsonParseProfile(), and PerformanceProfileService::profileToGamescopeArgs().
| std::string PerformanceProfile::id |
Unique profile ID.
Definition at line 156 of file performance_profile_service.h.
Referenced by PerformanceProfileService::createGlobalProfile(), PerformanceProfileService::createProfile(), PerformanceProfileService::deleteProfile(), PerformanceProfileService::duplicateProfile(), PerformanceProfileService::exportProfileToJson(), PerformanceProfileService::importGameProfiles(), PerformanceProfileService::importProfileFromJson(), jsonParseProfile(), PerformanceProfileService::Impl::loadGameProfiles(), PerformanceProfileService::Impl::loadGlobalProfiles(), and PerformanceProfileService::updateProfile().
| time_t PerformanceProfile::lastUsedAt = 0 |
When profile was last applied.
Definition at line 173 of file performance_profile_service.h.
Referenced by PerformanceProfileService::duplicateProfile(), PerformanceProfileService::exportProfileToJson(), and jsonParseProfile().
| std::vector<std::string> PerformanceProfile::linkedGameIds |
Definition at line 177 of file performance_profile_service.h.
| std::string PerformanceProfile::name |
Display name (e.g., "High Performance").
Definition at line 157 of file performance_profile_service.h.
Referenced by PerformanceProfileService::createFromPreset(), PerformanceProfileService::createProfile(), PerformanceProfileService::createSmartDefault(), PerformanceProfileService::duplicateProfile(), PerformanceProfileService::exportProfileToJson(), isDefault(), and jsonParseProfile().
| PowerSettings PerformanceProfile::power |
Definition at line 165 of file performance_profile_service.h.
Referenced by PerformanceProfileService::createFromPreset().
| PerformancePreset PerformanceProfile::preset = PerformancePreset::Custom |
Definition at line 159 of file performance_profile_service.h.
Referenced by PerformanceProfileService::createFromPreset(), PerformanceProfileService::exportProfileToJson(), and jsonParseProfile().
| ScalingSettings PerformanceProfile::scaling |
Definition at line 163 of file performance_profile_service.h.
Referenced by PerformanceProfileService::createFromPreset(), PerformanceProfileService::exportProfileToJson(), getSummary(), jsonParseProfile(), PerformanceProfileService::profileToEnvVars(), and PerformanceProfileService::profileToGamescopeArgs().
| SyncSettings PerformanceProfile::sync |
| int PerformanceProfile::useCount = 0 |
Number of times profile was used.
Definition at line 174 of file performance_profile_service.h.
Referenced by PerformanceProfileService::duplicateProfile(), PerformanceProfileService::exportProfileToJson(), and jsonParseProfile().
| WrapperSettings PerformanceProfile::wrappers |
Definition at line 164 of file performance_profile_service.h.
Referenced by PerformanceProfileService::createFromPreset(), PerformanceProfileService::createSmartDefault(), PerformanceProfileService::exportProfileToJson(), getSummary(), jsonParseProfile(), and PerformanceProfileService::profileToEnvVars().