LCOV - code coverage report
Current view: top level - src/MIDI_Senders - ProgramChangeSender.hpp (source / functions) Hit Total Coverage
Test: e224b347cd670555e44f06608ac41bd1ace9d9d8 Lines: 0 5 0.0 %
Date: 2020-09-08 17:44:46 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include <Control_Surface/Control_Surface_Class.hpp>
       4             : 
       5             : BEGIN_CS_NAMESPACE
       6             : 
       7             : /**
       8             :  * @brief   Class that sends MIDI program change messages.
       9             :  * 
      10             :  * @ingroup MIDI_Senders
      11             :  */
      12             : class ProgramChangeSender {
      13             :   public:
      14             :     /// Sends a MIDI program change message for the given program.
      15           0 :     void sendOn(MIDIAddress address) {
      16           0 :         Control_Surface.sendPC(address);
      17           0 :     }
      18             :     /// Doesn't do anything (you cannot "un-select" a program).
      19           0 :     void sendOff(MIDIAddress address) {
      20             :         (void) address;
      21           0 :     }
      22             : };
      23             : 
      24             : END_CS_NAMESPACE

Generated by: LCOV version 1.14-6-g40580cd