VimbaCPPCommon.h
Go to the documentation of this file.
00001 /*=============================================================================
00002   Copyright (C) 2012 Allied Vision Technologies.  All Rights Reserved.
00003 
00004   Redistribution of this file, in original or modified form, without
00005   prior written consent of Allied Vision Technologies is prohibited.
00006 
00007 -------------------------------------------------------------------------------
00008 
00009   File:        VimbaCPPCommon.h
00010 
00011   Description: Common type definitions used in Vimba CPP API.
00012 
00013 -------------------------------------------------------------------------------
00014 
00015   THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
00016   WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE,
00017   NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR  PURPOSE ARE
00018   DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 
00019   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
00020   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00021   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED  
00022   AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 
00023   TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
00024   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00025 
00026 =============================================================================*/
00027 
00028 #ifndef AVT_VMBAPI_CPPCOMMON_H
00029 #define AVT_VMBAPI_CPPCOMMON_H
00030 
00031 #if defined (_WIN32)
00032     #if defined AVT_VMBAPI_CPP_EXPORTS          // DLL exports
00033         #define IMEXPORT __declspec(dllexport)
00034     #elif defined AVT_VMBAPI_CPP_LIB            // static LIB
00035         #define IMEXPORT
00036     #else                                       // import
00037         #define IMEXPORT __declspec(dllimport)
00038     #endif
00039 #elif defined (__GNUC__) && (__GNUC__ >= 4) && defined (__ELF__)
00040     #define IMEXPORT
00041 #elif defined (__APPLE__)
00042     #define IMEXPORT
00043 #else
00044     #error Unknown platform, file needs adaption
00045 #endif
00046 
00047 #include <vector>
00048 #include <string>
00049 #include "VimbaC/Include/VmbCommonTypes.h"
00050 
00051 namespace AVT {
00052 namespace VmbAPI {
00053 
00054 enum UpdateTriggerType
00055 {
00056     UpdateTriggerPluggedIn           = 0,
00057     UpdateTriggerPluggedOut          = 1,
00058     UpdateTriggerOpenStateChanged    = 3
00059 };
00060 
00061 typedef std::vector<VmbUint64_t>    Uint64Vector;
00062 typedef std::vector<VmbInt64_t>     Int64Vector;
00063 typedef std::vector<VmbUchar_t>     UcharVector;
00064 typedef std::vector<std::string>    StringVector;
00065 class EnumEntry;
00066 typedef std::vector<EnumEntry>      EnumEntryVector;
00067 
00068 }} // AVT::VmbAPI
00069 
00070 #endif


avt_vimba_camera
Author(s): Miquel Massot , Allied Vision Technologies
autogenerated on Thu Jun 6 2019 18:23:39