Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
globals.h File Reference

Declarations for globally accessible variables and functions. More...

#include "entry_handler.h"
#include "thread_pool.h"
Include dependency graph for globals.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mail
 Handles process-wide communication.

Macros

#define MAIL(x)

Variables

thread_pool_util::ThreadPool task_pool
 A thread pool for processing tasks.
bool display_cursor
 A boolean flag to indicate whether the cursor should be displayed.
safe::mail_t mail::man
 A process-wide communication mechanism.
constexpr auto mail::shutdown = std::string_view { "shutdown" }
constexpr auto mail::broadcast_shutdown = std::string_view { "broadcast_shutdown" }
constexpr auto mail::video_packets = std::string_view { "video_packets" }
constexpr auto mail::audio_packets = std::string_view { "audio_packets" }
constexpr auto mail::switch_display = std::string_view { "switch_display" }
constexpr auto mail::touch_port = std::string_view { "touch_port" }
constexpr auto mail::idr = std::string_view { "idr" }
constexpr auto mail::invalidate_ref_frames = std::string_view { "invalidate_ref_frames" }
constexpr auto mail::gamepad_feedback = std::string_view { "gamepad_feedback" }
constexpr auto mail::hdr = std::string_view { "hdr" }

Detailed Description

Declarations for globally accessible variables and functions.

Definition in file globals.h.

Macro Definition Documentation

◆ MAIL

#define MAIL ( x)
Value:
constexpr auto x = std::string_view { \
#x \
}

Definition at line 26 of file globals.h.

Variable Documentation

◆ display_cursor

bool display_cursor
extern

A boolean flag to indicate whether the cursor should be displayed.

Definition at line 10 of file globals.cpp.

◆ task_pool

thread_pool_util::ThreadPool task_pool
extern

A thread pool for processing tasks.

Definition at line 9 of file globals.cpp.