Represents the state of a thread managed by ThreadManager. More...
#include <thread_manager.hpp>
Public Attributes | |
| std::mutex | play_mutex | 
| Mutex for synchronizing play state.   | |
| std::mutex | queue_mutex | 
| Mutex for synchronizing queue operations.   | |
| std::mutex | audioDevicesMutex | 
| Mutex for synchronizing audio device access.   | |
| std::atomic< bool > | is_processing {false} | 
| Indicates whether the thread is processing.   | |
| std::atomic< bool > | is_playing {false} | 
| Indicates whether the thread is playing.   | |
| std::future< void > | play_future | 
| Future object for async play operations.   | |
| std::unique_ptr< std::thread > | mpris_dbus_thread | 
| Unique pointer for DBus thread.   | |
| std::thread | playNextSongThread | 
| Thread for handling "play next song" operations.   | |
Represents the state of a thread managed by ThreadManager.
| std::mutex ThreadManager::ThreadState::audioDevicesMutex | 
Mutex for synchronizing audio device access.
| std::atomic<bool> ThreadManager::ThreadState::is_playing {false} | 
Indicates whether the thread is playing.
| std::atomic<bool> ThreadManager::ThreadState::is_processing {false} | 
Indicates whether the thread is processing.
| std::unique_ptr<std::thread> ThreadManager::ThreadState::mpris_dbus_thread | 
Unique pointer for DBus thread.
| std::future<void> ThreadManager::ThreadState::play_future | 
Future object for async play operations.
| std::mutex ThreadManager::ThreadState::play_mutex | 
Mutex for synchronizing play state.
| std::thread ThreadManager::ThreadState::playNextSongThread | 
Thread for handling "play next song" operations.
| std::mutex ThreadManager::ThreadState::queue_mutex | 
Mutex for synchronizing queue operations.