Ardour  8.7-15-gadf511264b
MIDI::MachineControlCommand Class Reference

#include <mmc.h>

Public Member Functions

 MachineControlCommand ()
 
 MachineControlCommand (MachineControl::Command)
 
 MachineControlCommand (Timecode::Time)
 
MIDI::bytefill_buffer (MachineControl *mmc, MIDI::byte *) const
 

Private Attributes

MachineControl::Command _command
 
Timecode::Time _time
 

Detailed Description

Class to describe a MIDI machine control command to be sent. In an ideal world we might use a class hierarchy for this, but objects of this type have to be allocated off the stack for RT safety.

Definition at line 293 of file mmc.h.

Constructor & Destructor Documentation

◆ MachineControlCommand() [1/3]

MIDI::MachineControlCommand::MachineControlCommand ( )
inline

Definition at line 296 of file mmc.h.

◆ MachineControlCommand() [2/3]

MIDI::MachineControlCommand::MachineControlCommand ( MachineControl::Command  )

◆ MachineControlCommand() [3/3]

MIDI::MachineControlCommand::MachineControlCommand ( Timecode::Time  )

Member Function Documentation

◆ fill_buffer()

MIDI::byte* MIDI::MachineControlCommand::fill_buffer ( MachineControl mmc,
MIDI::byte  
) const

Member Data Documentation

◆ _command

MachineControl::Command MIDI::MachineControlCommand::_command
private

Definition at line 303 of file mmc.h.

◆ _time

Timecode::Time MIDI::MachineControlCommand::_time
private

Definition at line 304 of file mmc.h.


The documentation for this class was generated from the following file: