Yureka LogoDocs

Task Manager

The Task Manager provides a visual monitor of running applications and system processes, allowing users to forcefully terminate misbehaving apps and view system load.

Core Features

  • Live listing of all active processes.
  • PID (Process ID) inspection.
  • Force termination of processes.
  • Memory/Resource visualization (simulated).

Architecture & Dependencies

The UTaskManagerApp serves as the frontend controller for the underlying OS process manager.

  • UProcessManagerSubsystem: The Task Manager is effectively a visual wrapper over this subsystem. It queries GetRunningProcesses() (which returns arrays of FProcessRecord) and listens to OnProcessStarted and OnProcessTerminated events to refresh its UI dynamically.
  • Sending a "Kill" command from the UI calls UProcessManagerSubsystem::TerminateProcess(PID), which cascadingly asks the UAppLauncherSubsystem to close the associated window.

Technical Details

  • Controller Class: UTaskManagerApp (Inherits from UAppBase)
  • View Target: User must assign a UMG Widget to TaskManagerWidgetClass.
  • Window Specs:
    • Initial Size: 800x450
    • Resizable: true
    • Maximizable: true