SPAOP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OscSenderThread.h
Go to the documentation of this file.
1 /*
2  * Copyright 2014 Martin Hansen
3  *
4  * This file is part of SPAOP (Spatial Audio Object Positioner).
5  *
6  * SPAOP is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * SPAOP is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with SPAOP. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef OSCSENDERTHREAD_H_INCLUDED
21 #define OSCSENDERTHREAD_H_INCLUDED
22 
23 #include "OscSender.h"
24 
25 namespace wonder {
26 
38 class OscSenderThread : public virtual OscSender
39 {
40 public:
41 
43  virtual void start() = 0;
44 
46  virtual void stop() = 0;
47 
49  virtual void join() = 0;
50 };
51 
52 }
53 
54 #endif // OSCSENDERTHREAD_H_INCLUDED
An abstract class describing the interface for a class that sends out the WONDER-specific OSC-message...
Definition: OscSender.h:43
virtual void stop()=0
Stops the thread.
virtual void join()=0
Joins the thread.
An interface for a thread implementing the OscSender interface.
Definition: OscSenderThread.h:38
virtual void start()=0
Starts the thread.