X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fevoral%2Fevoral%2FSequence.hpp;h=b4e11ba808a029096502e6e67a94e22938e9c498;hb=8d4bf70c7e40429e0a3ba2686f30c7c38871532f;hp=e7a3a3c7b6b3c02a61e35f99e675c1139a8215f4;hpb=5a48f99f72c2e2f3ed313e00446dfdaa05dc5d56;p=ardour.git diff --git a/libs/evoral/evoral/Sequence.hpp b/libs/evoral/evoral/Sequence.hpp index e7a3a3c7b6..b4e11ba808 100644 --- a/libs/evoral/evoral/Sequence.hpp +++ b/libs/evoral/evoral/Sequence.hpp @@ -1,16 +1,16 @@ /* This file is part of Evoral. * Copyright (C) 2008 Dave Robillard * Copyright (C) 2000-2008 Paul Davis - * + * * Evoral is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) any later * version. - * + * * Evoral is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. - * + * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA @@ -58,12 +58,10 @@ public: /** This is a higher level view of events, with separate representations for * notes (instead of just unassociated note on/off events) and controller data. * Controller data is represented as a list of time-stamped float values. */ -template +template class Sequence : virtual public ControlSet { public: Sequence(const TypeMap& type_map, size_t size=0); - - bool read_locked() { return _read_iter.locked(); } void write_lock(); void write_unlock(); @@ -80,31 +78,32 @@ public: bool writing() const { return _writing; } void end_write(bool delete_stuck=false); -#if 0 - size_t read(EventSink