-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIIntFeature.h
59 lines (53 loc) · 1.95 KB
/
IIntFeature.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//------------------------------------------------------------------------
/**
\file IIntFeature.h
\brief Definition of the IIntFeature interface
\Date 2016-8-09
\Version 1.1.1608.9091
*/
//------------------------------------------------------------------------
#pragma once
#include "GXIAPIBase.h"
#include "GXSmartPtr.h"
class GXIAPICPP_API IIntFeature
{
public:
//---------------------------------------------------------
/**
\brief Destructor
*/
//---------------------------------------------------------
virtual ~IIntFeature(){};
//----------------------------------------------------------------------------------
/**
\brief Get the minimum value allowed
*/
//----------------------------------------------------------------------------------
virtual int64_t GetMin() = 0;
//----------------------------------------------------------------------------------
/**
\brief Get the maximum value allowed
*/
//----------------------------------------------------------------------------------
virtual int64_t GetMax() = 0;
//----------------------------------------------------------------------------------
/**
\brief Get the constant increment if there is any
*/
//----------------------------------------------------------------------------------
virtual int64_t GetInc() = 0;
//----------------------------------------------------------------------------------
/**
\brief Get a feature value
*/
//----------------------------------------------------------------------------------
virtual int64_t GetValue() = 0;
//----------------------------------------------------------------------------------
/**
\brief Set a feature value
*/
//----------------------------------------------------------------------------------
virtual void SetValue(int64_t nValue) = 0;
};
template class GXIAPICPP_API GXSmartPtr<IIntFeature>;
typedef GXSmartPtr<IIntFeature> CIntFeaturePointer;