OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
Loading...
Searching...
No Matches
PowerService Class Reference

Power service. More...

#include <InternalServices.hpp>

Public Member Functions

virtual void shutdown ()
 Command a system shutdown.
 

Additional Inherited Members

- Static Public Member Functions inherited from DependencyManager< PowerService >
static PowerServicecall ()
 Get the service provider implementing the service.
 
static void inject (_Args &&...__args)
 Inject a service provider.
 
static void inject (PowerService *provider)
 Inject a service provider.
 
static void reset ()
 Remove the injected service provider (for testing)
 

Detailed Description

Power service.

Definition at line 397 of file InternalServices.hpp.

Member Function Documentation

◆ shutdown()

virtual void PowerService::shutdown ( )
inlinevirtual

Command a system shutdown.

Definition at line 401 of file InternalServices.hpp.


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