cAudio  2.3.0
3d Audio Engine
IThread.h
1 // Copyright (c) 2008-2011 Raynaldo (Wildicv) Rivera, Joshua (Dark_Kilauea) Jones, Murat (wolfmanfx) Sari
2 // This file is part of the "cAudio Engine"
3 // For conditions of distribution and use, see copyright notice in cAudio.h
4 
5 #pragma once
6 
7 namespace cAudio
8 {
9  class IThread
10  {
11  public:
12  virtual bool start() = 0;
13  virtual void join() = 0;
14  virtual void shutdown() = 0;
15  virtual bool isRunning() = 0;
16  virtual ~IThread(){}
17  };
18 
20  {
21  public:
22  virtual void run() = 0;
23  virtual ~IThreadWorker(){}
24  };
25 }
cAudio::IThread
Definition: IThread.h:10
cAudio::IThreadWorker
Definition: IThread.h:20
cAudio
Main namespace for the entire cAudio library.
Definition: cAudioCapture.h:16