GenApiDll.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------------
2 // (c) 2006 by Basler Vision Technologies
3 // Section: Vision Components
4 // Project: GenApi
5 // Author: Fritz Dierks
6 // $Header$
7 //
8 // License: This file is published under the license of the EMVA GenICam Standard Group.
9 // A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'.
10 // If for some reason you are missing this file please contact the EMVA or visit the website
11 // (http://www.genicam.org) for a full copy.
12 //
13 // THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
14 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP
17 // OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
20 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
23 // POSSIBILITY OF SUCH DAMAGE.
24 //-----------------------------------------------------------------------------
31 #ifndef GENAPIDLL_H
32 #define GENAPIDLL_H
33 
34 #include <GenApi/GenApiNamespace.h>
35 
36 #if defined(_MSC_VER)
37 # pragma once
38 # define GENAPI_DECL_ABSTRACT /*nothing*/
39 # ifdef GENAPI_EXPORTS
40 # define GENAPI_DECL __declspec(dllexport)
41 # else
42 # define GENAPI_DECL __declspec(dllimport)
43 # define GENAPI_EXPIMP_TEMPL extern
44 # endif
45 #elif defined (__GNUC__) && (defined (__linux__) || defined(__APPLE__) || defined(VXWORKS))
46 # define GENAPI_DECL __attribute__((visibility("default")))
47 # define GENAPI_DECL_ABSTRACT __attribute__((visibility("default")))
48 # ifdef GENAPI_EXPORTS
49  // nothing
50 # else
51 # define GENAPI_EXPIMP_TEMPL extern
52 # endif
53 #else
54 # #error Define how to export symbols on your platform!
55 # define GENAPI_DECL
56 # ifndef GENAPI_EXPORTS
57 # define GENAPI_EXPIMP_TEMPL extern
58 # endif
59 #endif
60 
61 #endif /* GENAPIDLL_H */
GenICam versioned namespace.


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Mar 17 2021 02:48:40