Mercurial > hg > silvet
annotate src/AgentFeeder.h @ 181:10e7c3ff575e noteagent
Experimental branch toward note-agent stuff (not actually plumbed in yet)
author | Chris Cannam |
---|---|
date | Fri, 23 May 2014 12:40:18 +0100 |
parents | |
children |
rev | line source |
---|---|
Chris@181 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
Chris@181 | 2 |
Chris@181 | 3 /* |
Chris@181 | 4 Silvet |
Chris@181 | 5 |
Chris@181 | 6 A Vamp plugin for note transcription. |
Chris@181 | 7 Centre for Digital Music, Queen Mary University of London. |
Chris@181 | 8 This file Copyright 2012 Chris Cannam. |
Chris@181 | 9 |
Chris@181 | 10 This program is free software; you can redistribute it and/or |
Chris@181 | 11 modify it under the terms of the GNU General Public License as |
Chris@181 | 12 published by the Free Software Foundation; either version 2 of the |
Chris@181 | 13 License, or (at your option) any later version. See the file |
Chris@181 | 14 COPYING included with this distribution for more information. |
Chris@181 | 15 */ |
Chris@181 | 16 |
Chris@181 | 17 #ifndef AGENT_FEEDER_H |
Chris@181 | 18 #define AGENT_FEEDER_H |
Chris@181 | 19 |
Chris@181 | 20 #include "AgentHypothesis.h" |
Chris@181 | 21 |
Chris@181 | 22 class AgentFeeder |
Chris@181 | 23 { |
Chris@181 | 24 public: |
Chris@181 | 25 virtual void feed(AgentHypothesis::Observation) = 0; |
Chris@181 | 26 virtual void finish() = 0; |
Chris@181 | 27 |
Chris@181 | 28 virtual ~AgentFeeder() { } |
Chris@181 | 29 }; |
Chris@181 | 30 |
Chris@181 | 31 #endif |