neoGFX
Cross-platform C++ app/game engine
|
#include <i_power.hpp>
Public Member Functions | |
virtual power_mode | active_mode () const =0 |
virtual void | register_activity ()=0 |
virtual std::chrono::seconds | activity_timeout () const =0 |
virtual void | set_activity_timeout (std::chrono::seconds aTimeout)=0 |
virtual bool | is_green_mode_enabled () const =0 |
virtual void | enable_green_mode ()=0 |
virtual void | disable_green_mode ()=0 |
bool | green_mode_active () const |
bool | turbo_mode_active () const |
bool | is_turbo_mode_enabled () const |
void | enable_turbo_mode () |
void | disable_turbo_mode () |
Public Member Functions inherited from neolib::services::i_service | |
virtual | ~i_service ()=default |
Static Public Member Functions | |
static uuid const & | iid () |
Definition at line 52 of file i_power.hpp.
|
pure virtual |
Implemented in neolib::power.
|
pure virtual |
Implemented in neolib::power.
Implemented in neolib::power.
|
inline |
Definition at line 93 of file i_power.hpp.
Implemented in neolib::power.
|
inline |
Definition at line 89 of file i_power.hpp.
|
inline |
Definition at line 77 of file i_power.hpp.
Definition at line 98 of file i_power.hpp.
Implemented in neolib::power.
|
inline |
Definition at line 85 of file i_power.hpp.
Implemented in neolib::power.
Implemented in neolib::power.
|
inline |
Definition at line 81 of file i_power.hpp.