Music Hub ..
A session-wide music playback service
Loading...
Searching...
No Matches
lomiri::MediaHubService::power::StateController Class Reference

#include <state_controller.h>

Inheritance diagram for lomiri::MediaHubService::power::StateController:
Collaboration diagram for lomiri::MediaHubService::power::StateController:

Public Types

typedef QSharedPointer< StateControllerPtr

Signals

void displayOnAcquired ()
void displayOnReleased ()
void systemStateAcquired (SystemState state)
void systemStateReleased (SystemState state)

Public Member Functions

 ~StateController ()
void requestDisplayOn ()
void releaseDisplayOn ()
void requestSystemState (SystemState state)
void releaseSystemState (SystemState state)

Static Public Member Functions

static QSharedPointer< StateControllerinstance ()

Protected Member Functions

 StateController ()

Detailed Description

Definition at line 51 of file state_controller.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ ~StateController()

StateController::~StateController ( )
default

◆ StateController()

StateController::StateController ( )
protected

Member Function Documentation

◆ displayOnAcquired

void lomiri::MediaHubService::power::StateController::displayOnAcquired ( )
signal

◆ displayOnReleased

◆ instance()

QSharedPointer< StateController > StateController::instance ( )
static

Definition at line 223 of file state_controller.cpp.

◆ releaseDisplayOn()

void StateController::releaseDisplayOn ( )

Definition at line 246 of file state_controller.cpp.

References MH_INFO, and StateController().

Here is the call graph for this function:

◆ releaseSystemState()

void StateController::releaseSystemState ( SystemState state)

Definition at line 266 of file state_controller.cpp.

References MH_INFO, StateController(), and systemStateReleased().

Here is the call graph for this function:

◆ requestDisplayOn()

void StateController::requestDisplayOn ( )

Definition at line 235 of file state_controller.cpp.

References displayOnAcquired(), MH_INFO, and StateController().

Here is the call graph for this function:

◆ requestSystemState()

void StateController::requestSystemState ( SystemState state)

Definition at line 255 of file state_controller.cpp.

References MH_INFO, StateController(), and systemStateAcquired().

Here is the call graph for this function:

◆ systemStateAcquired

void lomiri::MediaHubService::power::StateController::systemStateAcquired ( SystemState state)
signal

◆ systemStateReleased

void lomiri::MediaHubService::power::StateController::systemStateReleased ( SystemState state)
signal

References StateController().

Referenced by releaseSystemState().

Here is the call graph for this function:

The documentation for this class was generated from the following files:
  • /build/media-hub-4.7~20260316060616.27~fbd9644+ubports26.04.1/src/service/power/state_controller.h
  • /build/media-hub-4.7~20260316060616.27~fbd9644+ubports26.04.1/src/service/power/state_controller.cpp