openMSX
serial
MidiSessionALSA.hh
Go to the documentation of this file.
1
#ifndef MIDISESSIONALSA_HH
2
#define MIDISESSIONALSA_HH
3
4
#include <alsa/asoundlib.h>
5
#include <memory>
6
7
8
namespace
openmsx
{
9
10
class
CliComm;
11
class
EventDistributor;
12
class
Scheduler
;
13
class
PluggingController;
14
15
18
class
MidiSessionALSA
final
19
{
20
public
:
21
static
void
registerAll
(
PluggingController
& controller,
CliComm
& cliComm,
22
EventDistributor
& eventDistributor,
Scheduler
& scheduler);
23
24
~MidiSessionALSA
();
25
26
private
:
27
static
std::unique_ptr<MidiSessionALSA> instance;
28
29
explicit
MidiSessionALSA
(snd_seq_t& seq);
30
void
scanClients(
PluggingController
& controller,
31
EventDistributor
& eventDistributor,
32
Scheduler
& scheduler);
33
34
snd_seq_t& seq;
35
};
36
37
}
// namespace openmsx
38
39
#endif
// MIDISESSIONALSA_HH
openmsx::CliComm
Definition
CliComm.hh:12
openmsx::EventDistributor
Definition
EventDistributor.hh:16
openmsx::MidiSessionALSA
Lists ALSA MIDI ports we can connect to.
Definition
MidiSessionALSA.hh:19
openmsx::MidiSessionALSA::registerAll
static void registerAll(PluggingController &controller, CliComm &cliComm, EventDistributor &eventDistributor, Scheduler &scheduler)
Definition
MidiSessionALSA.cc:410
openmsx::MidiSessionALSA::~MidiSessionALSA
~MidiSessionALSA()
Definition
MidiSessionALSA.cc:434
openmsx::PluggingController
Central administration of Connectors and Pluggables.
Definition
PluggingController.hh:22
openmsx::Scheduler
Definition
Scheduler.hh:33
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:9
openmsx::Scheduler
Scheduler
Definition
Scheduler.cc:132
Generated on Thu Mar 28 2024 21:13:13 for openMSX by
1.9.8