annotate data/osc/OSCMessageCallback.h @ 1742:52705a328b34 by-id

Rejig ById so as to put everything in a single pool, so that at the core you can go from numeric id (untyped) to anything the object can be dynamic_cast to. Useful for building other abstractions like PlayParameter-type registrations that don't know about e.g. Models. Probably some more tweaking needed. Also add tests
author Chris Cannam
date Fri, 28 Jun 2019 17:36:30 +0100
parents f66ad018b729
children
rev   line source
Chris@1664 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
Chris@1664 2
Chris@1664 3 /*
Chris@1664 4 Sonic Visualiser
Chris@1664 5 An audio file viewer and annotation editor.
Chris@1664 6 Centre for Digital Music, Queen Mary, University of London.
Chris@1664 7
Chris@1664 8 This program is free software; you can redistribute it and/or
Chris@1664 9 modify it under the terms of the GNU General Public License as
Chris@1664 10 published by the Free Software Foundation; either version 2 of the
Chris@1664 11 License, or (at your option) any later version. See the file
Chris@1664 12 COPYING included with this distribution for more information.
Chris@1664 13 */
Chris@1664 14
Chris@1664 15 #ifndef SV_OSC_MESSAGE_CALLBACK_H
Chris@1664 16 #define SV_OSC_MESSAGE_CALLBACK_H
Chris@1664 17
Chris@1664 18 class OSCMessage;
Chris@1664 19
Chris@1664 20 class OSCMessageCallback {
Chris@1664 21 public:
Chris@1664 22 virtual void handleOSCMessage(const OSCMessage &) = 0;
Chris@1664 23 };
Chris@1664 24
Chris@1664 25 #endif