CorTeX
Core ABI 7
ToolTech Software · C++ library reference
ToolTech
CorTeX overview
Programmer’s manual
Class reference
Change history
CycloPos ↗
Toggle main menu visibility
Loading...
Searching...
No Matches
include
ctxArithmetic.h
Go to the documentation of this file.
1
//*****************************************************************************
2
// File : ctxArithmetic.h
3
// Description : Defines the used Arithmetic in a transform pipeline
4
// Author : Anders Modén
5
// Product : CorTeX 2.0.1
6
//
7
// Copyright © 2015- Anders Modén, Sweden
8
//
9
// NOTE: CorTeX is a software development kit (SDK)
10
// for neural networks and genetic programming.
11
// Licensed by Anders Modén.
12
//
13
//
14
// Revision History...
15
//
16
// Who Date Description
17
//
18
// AMO 150708 Created file (1.0.0)
19
//
20
//******************************************************************************
21
#ifndef __CTX_ARITHMETIC_H__
22
#define __CTX_ARITHMETIC_H__
23
24
#include "
ctxBase.h
"
25
26
// ----------------------------------- ctxArithmetic -------------------------------
27
28
29
class
ctxArithmetic
:
public
gzReference
30
{
31
public
:
32
33
GZ_DECLARE_TYPE_INTERFACE_EXPORT(
CTX_EXPORT
);
34
35
// Public static interface --------------------
36
37
/*CTX_EXPORT static ctxBuffer *create(ctxBufferType type, const ctxBufferDimension *dim = NULL);*/
38
39
CTX_EXPORT
static
gzBool
setArithmetic
(
ctxArithmetic
*manager);
40
41
protected
:
42
43
//virtual ctxBuffer *createBuffer(ctxBufferType type, const ctxBufferDimension *dim) = 0;
44
45
virtual
gzBool
initialize
() = 0;
46
47
CTX_EXPORT
static
gzMutex
s_locker
;
48
49
CTX_EXPORT
static
gzRefPointer<ctxArithmetic>
s_currentArithmetic
;
50
51
};
52
53
54
55
#endif
//__CTX_ARITHMETIC_H__
56
57
ctxArithmetic
Definition
ctxArithmetic.h:30
ctxArithmetic::s_locker
static gzMutex s_locker
Definition
ctxArithmetic.h:47
ctxArithmetic::initialize
virtual gzBool initialize()=0
ctxArithmetic::setArithmetic
static gzBool setArithmetic(ctxArithmetic *manager)
ctxArithmetic::s_currentArithmetic
static gzRefPointer< ctxArithmetic > s_currentArithmetic
Definition
ctxArithmetic.h:49
ctxBase.h
CTX_EXPORT
#define CTX_EXPORT
Definition
ctxBase.h:68
Generated by
1.18.0