VimbaCPPCommon.h
Go to the documentation of this file.
1 /*=============================================================================
2  Copyright (C) 2012 Allied Vision Technologies. All Rights Reserved.
3 
4  Redistribution of this file, in original or modified form, without
5  prior written consent of Allied Vision Technologies is prohibited.
6 
7 -------------------------------------------------------------------------------
8 
9  File: VimbaCPPCommon.h
10 
11  Description: Common type definitions used in Vimba CPP API.
12 
13 -------------------------------------------------------------------------------
14 
15  THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
16  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE,
17  NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18  DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
19  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
22  AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
23  TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 
26 =============================================================================*/
27 
28 #ifndef AVT_VMBAPI_CPPCOMMON_H
29 #define AVT_VMBAPI_CPPCOMMON_H
30 
31 #if defined (_WIN32)
32  #if defined AVT_VMBAPI_CPP_EXPORTS // DLL exports
33  #define IMEXPORT __declspec(dllexport)
34  #elif defined AVT_VMBAPI_CPP_LIB // static LIB
35  #define IMEXPORT
36  #else // import
37  #define IMEXPORT __declspec(dllimport)
38  #endif
39 #elif defined (__GNUC__) && (__GNUC__ >= 4) && defined (__ELF__)
40  #define IMEXPORT
41 #elif defined (__APPLE__)
42  #define IMEXPORT
43 #else
44  #error Unknown platform, file needs adaption
45 #endif
46 
47 #include <vector>
48 #include <string>
50 
51 namespace AVT {
52 namespace VmbAPI {
53 
55 {
59 };
60 
61 typedef std::vector<VmbUint64_t> Uint64Vector;
62 typedef std::vector<VmbInt64_t> Int64Vector;
63 typedef std::vector<VmbUchar_t> UcharVector;
64 typedef std::vector<std::string> StringVector;
65 class EnumEntry;
66 typedef std::vector<EnumEntry> EnumEntryVector;
67 
68 }} // AVT::VmbAPI
69 
70 #endif
std::vector< EnumEntry > EnumEntryVector
std::vector< std::string > StringVector
std::vector< VmbUint64_t > Uint64Vector
std::vector< VmbUchar_t > UcharVector
std::vector< VmbInt64_t > Int64Vector


avt_vimba_camera
Author(s): Miquel Massot , Allied Vision Technologies
autogenerated on Wed Jun 5 2019 22:22:40