DSPatch
v.2.42
C++ Cross-Platform, Object-Oriented, Flow-Based Programming Library
Main Page
Related Pages
Classes
Files
File List
All
Classes
Pages
include
DSPatch.h
1
/************************************************************************
2
DSPatch - Cross-Platform, Object-Oriented, Flow-Based Programming Library
3
Copyright (c) 2012-2013 Marcus Tomlinson
4
5
This file is part of DSPatch.
6
7
GNU Lesser General Public License Usage
8
This file may be used under the terms of the GNU Lesser General Public
9
License version 3.0 as published by the Free Software Foundation and
10
appearing in the file LGPLv3.txt included in the packaging of this
11
file. Please review the following information to ensure the GNU Lesser
12
General Public License version 3.0 requirements will be met:
13
http://www.gnu.org/copyleft/lgpl.html.
14
15
Other Usage
16
Alternatively, this file may be used in accordance with the terms and
17
conditions contained in a signed written agreement between you and
18
Marcus Tomlinson.
19
20
DSPatch is distributed in the hope that it will be useful,
21
but WITHOUT ANY WARRANTY; without even the implied warranty of
22
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23
************************************************************************/
24
25
#ifndef DSPATCH_H
26
#define DSPATCH_H
27
28
//-------------------------------------------------------------------------------------------------
29
30
#include "../src/DspCircuit.h"
31
32
//=================================================================================================
34
50
class
DLLEXPORT
DSPatch
51
{
52
public
:
53
static
bool
IsThisGlobalCircuit(
DspComponent
* thisComponent );
54
55
static
bool
AddGlobalComponent(
DspComponent
* component, std::string componentName =
""
);
56
static
void
RemoveGlobalComponent(
DspComponent
* component );
57
58
static
unsigned
short
GetGlobalComponentCount();
59
60
static
void
StartGlobalAutoTick();
61
static
void
StopGlobalAutoTick();
62
63
static
void
SetGlobalThreadCount(
unsigned
short
threadCount );
64
65
static
void
Finalize();
66
67
private
:
68
static
DspCircuit
* _globalCircuit;
69
};
70
71
//=================================================================================================
72
73
#endif // DSPATCH_H
74
75
//=================================================================================================
76
Generated on Mon Jun 24 2013 19:14:04 for DSPatch by
1.8.1.1