Skip to content

Class Ase::NullMidiDriver

ClassList > Ase > NullMidiDriver

Inherits the following classes: Ase::MidiDriver

Public Types inherited from Ase::MidiDriver

See Ase::MidiDriver

Type Name
typedef std::shared_ptr< MidiDriver > MidiDriverP

Public Types inherited from Ase::Driver

See Ase::Driver

Type Name
enum Driver
typedef std::shared_ptr< Driver > DriverP
typedef DriverEntry Entry
typedef DriverEntryS EntryVec
enum IODir

Public Functions

Type Name
NullMidiDriver (const String & driver, const String & devid)
virtual void close () override
uint fetch_events (MidiEventOutput &, double) override
bool has_events () override
virtual Error open (IODir iodir) override

Public Functions inherited from Ase::MidiDriver

See Ase::MidiDriver

Type Name
virtual uint fetch_events (MidiEventOutput & estream, double samplerate) = 0
virtual bool has_events () = 0

Public Functions inherited from Ase::Driver

See Ase::Driver

Type Name
virtual void close () = 0
String devid () const
Return a string which uniquely identifies this driver and device.
bool opened () const
bool readable () const
bool writable () const

Public Static Functions

Type Name
MidiDriverP create (const String & devid)
void list_drivers (Driver::EntryVec & entries)

Public Static Functions inherited from Ase::MidiDriver

See Ase::MidiDriver

Type Name
EntryVec list_drivers ()
MidiDriverP open (const String & devid, IODir iodir, Ase::Error * ep)
String register_driver (const String & driverid, const std::function< MidiDriverP(const String &)> & create, const std::function< void(EntryVec &)> & list)

Public Static Functions inherited from Ase::Driver

See Ase::Driver

Type Name
String priority_string (uint priority)
Return string which represents the given priority mask.

Protected Attributes inherited from Ase::Driver

See Ase::Driver

Type Name
const String devid_
const String driver_
size_t flags_ = = 0

Protected Functions inherited from Ase::MidiDriver

See Ase::MidiDriver

Type Name
MidiDriver (const String & driver, const String & devid)
virtual Ase::Error open (IODir iodir) = 0

Protected Functions inherited from Ase::Driver

See Ase::Driver

Type Name
Driver (const String & driver, const String & devid)
std::shared_ptr< Derived > shared_from_base ()
virtual ~Driver ()

Public Functions Documentation

function NullMidiDriver

inline explicit Ase::NullMidiDriver::NullMidiDriver (
    const String & driver,
    const String & devid
) 

function close

inline virtual void Ase::NullMidiDriver::close () override

function fetch_events

inline uint Ase::NullMidiDriver::fetch_events (
    MidiEventOutput &,
    double
) override

function has_events

inline bool Ase::NullMidiDriver::has_events () override

function open

inline virtual Error Ase::NullMidiDriver::open (
    IODir iodir
) override

Public Static Functions Documentation

function create

static inline MidiDriverP Ase::NullMidiDriver::create (
    const String & devid
) 

function list_drivers

static inline void Ase::NullMidiDriver::list_drivers (
    Driver::EntryVec & entries
) 


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/driver.cc