GenApi 3.5.1
DLLLoad.h
Go to the documentation of this file.
1//-----------------------------------------------------------------------------
2// (c) 2006 by Basler Vision Technologies
3// Author: Fritz Dierks
4//
5// License: This file is published under the license of the EMVA GenICam Standard Group.
6// A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'.
7// If for some reason you are missing this file please contact the EMVA or visit the website
8// (http://www.genicam.org) for a full copy.
9//
10// THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
11// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
12// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
13// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP
14// OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
15// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
16// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
17// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
18// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
19// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
20// POSSIBILITY OF SUCH DAMAGE.
21//
22//-----------------------------------------------------------------------------
29#ifndef GENAPI_DLLLOAD_H
30#define GENAPI_DLLLOAD_H
31
32#include <GenApi/INodeMap.h>
33#include <GenApi/GenApiVersion.h>
34
35#if defined (_MSC_VER)
36// nothing
37#elif defined (__GNUC__)
38# if !defined(__x86_64) && !defined(__arm__) && !defined(__aarch64__) && !defined(VXWORKS)
39# define __cdecl __attribute__((cdecl))
40# else
41# define __cdecl /* use default calling convention */
42# endif
43#else
44# error Unsupported compiler
45#endif
46
47namespace GENAPI_NAMESPACE
48{
51 typedef INodeMap* (__cdecl * Create_f)(const char* pDeviceName);
52
55 typedef void (__cdecl * GetGenApiVersion_f)(Version_t &Version);
56
58
60 GENAPI_DECL void GenApiTerminate();
61}
62
63#endif // ifndef GENAPI_DLLLOAD_H
GENAPI_DECL void GenApiTerminate()
Frees static resources hold by GenApi.
Definition of interface INodeMap.
INodeMap *(__cdecl * Create_f)(const char *pDeviceName)
Definition DLLLoad.h:51
GENICAM_INTERFACE INodeMap
Interface to access the node map.
Definition INode.h:50
version
Definition GCTypes.h:273