|
pianod2
multisource multiuser scriptable networked music player
|
Manage daemon initialization and operation. More...
#include <conductor.h>

Public Member Functions | |
| Conductor (std::string config_dir, FB_SERVICE_OPTIONS service_options, AudioSettings audio) | |
| Initialize the daemon. More... | |
| ~Conductor () | |
| void | conduct () |
| Run the daemon. More... | |
| void | cleanUp () |
| void | shutdown () |
| Request the daemon exit its run loop and shut down. More... | |
Private Attributes | |
| volatile bool | shutdown_requested = false |
| PianodService * | service = nullptr |
| GCryptInitializer | initter_gcrypt |
| cURLInitializer | init_curl |
| Audio::Initializer | initter_audio |
| Media::Initializer | initter_media |
Manage daemon initialization and operation.
Although unenforced, this is a singleton.
| Orchestra::Conductor::Conductor | ( | std::string | config_dir, |
| FB_SERVICE_OPTIONS | service_options, | ||
| AudioSettings | audio | ||
| ) |
Initialize the daemon.

| Orchestra::Conductor::~Conductor | ( | ) |

| void Orchestra::Conductor::cleanUp | ( | ) |


| void Orchestra::Conductor::conduct | ( | ) |
Run the daemon.


|
inline |
Request the daemon exit its run loop and shut down.

|
private |
|
private |
|
private |
|
private |
|
private |
|
private |