|
Discman
|
#include <stdint.h>#include <thread>#include <mutex>#include <iostream>#include <sstream>#include <string>#include <vector>#include <string.h>#include <cdio/paranoia/paranoia.h>#include <cdio/cd_types.h>#include <fcntl.h>#include <unistd.h>#include <sys/types.h>#include <sys/wait.h>#include <sys/ioctl.h>#include <linux/cdrom.h>#include <sigc++/signal.h>#include <climits>#include <chrono>#include "producer_consumer/producer.h"

Go to the source code of this file.
Classes | |
| class | CDDrive |
| Abstracts the host's disc drive. More... | |
| struct | CDDrive::DriveErrorException |
| Thrown when an audio CD was internally expected in the disc drive but could not be recognized. More... | |
| struct | CDDrive::NoDiscPresentException |
| Called when the presumption that a disc is present is false. More... | |
| struct | CDDrive::DiscErrorException |
| Thrown when the audio CD was recognized but could not be opened for reading. More... | |
| class | CDDrive::Reader |
| The Reader uses a separate thread to load data into the CDDrive's ring buffer. More... | |
| class | CDDrive::Poller |
| The Poller uses a separate thread to poll the host for a disc drive with an audio CD. More... | |
Macros | |
| #define | READ_END 0 |
| #define | WRITE_END 1 |
Variables | |
| const auto | __open = open |
Definition in file cd_drive.h.
| #define READ_END 0 |
Definition at line 10 of file cd_drive.h.
| #define WRITE_END 1 |
Definition at line 11 of file cd_drive.h.
| const auto __open = open |
Definition at line 35 of file cd_drive.h.