• Main Page
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List

MIDISink.hpp

00001 /* This file is part of Raul.
00002  * Copyright (C) 2007-2009 David Robillard <http://drobilla.net>
00003  *
00004  * Raul is free software; you can redistribute it and/or modify it under the
00005  * terms of the GNU General Public License as published by the Free Software
00006  * Foundation; either version 2 of the License, or (at your option) any later
00007  * version.
00008  *
00009  * Raul is distributed in the hope that it will be useful, but WITHOUT ANY
00010  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00011  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for details.
00012  *
00013  * You should have received a copy of the GNU General Public License along
00014  * with this program; if not, write to the Free Software Foundation, Inc.,
00015  * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00016  */
00017 
00018 #ifndef RAUL_MIDI_SINK_HPP
00019 #define RAUL_MIDI_SINK_HPP
00020 
00021 #include <stdexcept>
00022 #include "raul/TimeStamp.hpp"
00023 #include "raul/Deletable.hpp"
00024 
00025 namespace Raul {
00026 
00027 
00031 class MIDISink : public Deletable {
00032 public:
00033     virtual void write_event(TimeStamp      time,
00034                              size_t         ev_size,
00035                              const uint8_t* ev) = 0;
00036 };
00037 
00038 
00039 } // namespace Raul
00040 
00041 #endif // RAUL_MIDI_SINK_HPP
00042 

Generated on Tue Jan 11 2011 18:26:17 for RAUL by  doxygen 1.7.1