CorTeX Core ABI 7
ToolTech Software · C++ library reference
Loading...
Searching...
No Matches
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
29class ctxArithmetic : public gzReference
30{
31public:
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
41protected:
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
static gzMutex s_locker
virtual gzBool initialize()=0
static gzBool setArithmetic(ctxArithmetic *manager)
static gzRefPointer< ctxArithmetic > s_currentArithmetic
#define CTX_EXPORT
Definition ctxBase.h:68